<p class="room-dtl"> <?php echo $room['content']; ?> </p> </div> <div class="col-md-7"> <h4>Room Details</h4> <?php $units = explode(',', $room['units']); foreach ($units as $key => $unit) { ?> <span class="dtl"> <span class="sprite check-sblue"></span> <?php echo room_specs($unit); ?> </span> <?php } ?> </div> </div> <?php } ?> <?php } ?>
<select name="room_included[]"> <option>Choose</option> <?php foreach (room_specs() as $k => $v) { echo '<option value="' . $k . '" ' . $selected . '>' . $v . '</option>'; } ?> </select> </div> </div> <div class="col-md-3"> <div class="form-group"> <select name="room_included[]"> <option>Choose</option> <?php foreach (room_specs() as $k => $v) { echo '<option value="' . $k . '" ' . $selected . '>' . $v . '</option>'; } ?> </select> </div> </div><!-- col-sm-6 --> </div> </div> </div> <div class="form-group"> <label class="col-sm-3 control-label"><?php echo lang('default_policy'); ?>
<a class="c-editor-cancel" href="#">Cancel</a> </span> --> </div> <div class="room-details-desc"> <?php $specs = $room['details']->room_units; $specs = explode(',', $specs); //print_r($specs); $spec_cnt = count($specs); foreach ($specs as $key => $spec) { if ($key == $spec_cnt - 1) { echo room_specs($spec); } else { echo room_specs($spec) . ' * '; } } ?> </div> <!-- <button id="editGuest" class="c-btn"> <span class="sprite user-white"></span> Edit guest details </button> <button id="changeRoom" class="c-btn"> <span class="sprite key-white"></span> Change your room </button> --> </div> <div class="clearfix"></div>