</div> </div> <div class="form-group"> <label class="col-sm-3 control-label"><?php echo lang('sports_entertainment'); ?> </label> <div class="col-sm-6"> <table> <tbody> <tr> <?php $i = 0; foreach (sport_specs() as $k => $v) { $i++; $sport_specs = explode(',', $hotel->sport_specs); $sport_specs = arr_val_to_key($sport_specs); $checked = isset($sport_specs[$k]) ? 'checked' : ''; echo '<td width="5%"><input type="checkbox" name="sport_specs[]" ' . $checked . ' value="' . $k . '"/></td>'; echo '<td width="40%">' . $v . '</td>'; if ($i % 2 == 0) { echo '</tr><tr>'; } } ?> </tr> </tbody> </table> </div>
?> <?php } ?> </ul> </div> <div class="col-md-4 fac"> <ul> <li class="bold">Sports & Entertainment</li> <?php if (NULL != $hotel_info->sport_specs) { $specs = explode(',', $hotel_info->sport_specs); foreach ($specs as $spec) { ?> <li><span class="sprite check-sblue"></span> <?php echo sport_specs($spec); ?> </li> <?php } ?> <?php } ?> </ul> </div> </div> <div class="hrd-box">