<div class="twocolumn_wrapper"> <div class="twocolumn form-height"> <div class="content detailbig content-height"> <br/> <label><?php echo _status; ?> </label> <p><span class='bold'><?php echo showReservation_status($row->reservation_hidden); ?> </strong></p> <br/> <label><?php echo _booknum; ?> </label> <p><span class='bold'><?php echo $row->reservation_bookingnumber; ?> </strong></p> <br/> <label><?php echo _outlets; ?> </label> <p><?php echo $row->outlet_name; ?> </p> <br/>
</th> <th></th> </tr> </thead> <tbody> <?php $reservations = querySQL('search'); if ($reservations) { foreach ($reservations as $row) { // reservation ID $id = $row->reservation_id; $_SESSION['reservation_guest_name'] = $row->reservation_guest_name; // check if reservation is tautologous $tautologous = querySQL('tautologous'); echo "<tr id='res-" . $id . "'>"; echo "<td>" . humanize($row->reservation_date) . "</td>\n\t\t\t<td>" . formatTime($row->reservation_time, $general['timeformat']) . "</td>\n\t\t\t<td>" . showReservation_status($row->reservation_hidden) . "</td>\n\t\t\t<td>" . printTitle($row->reservation_title) . "\n\t\t\t<span class='bold'><a href='?p=102&resID=" . $id . "' >" . utf8_encode($row->reservation_guest_name) . "</a></strong>"; if ($row->repeat_id != 0) { //print out recurring symbol echo "<img src='images/icons/arrow-repeat.png' alt='" . _recurring . "' title='" . _recurring . "' border='0' >"; } echo "</td>\n\t\t\t<td><span class='bold'>" . $row->reservation_pax . "</strong></td>\n\t\t\t<td>" . $row->reservation_guest_phone . "</td>\n\t\t\t<td>" . $row->reservation_hotelguest_yn . "</td>\n\t\t\t<td>" . $row->outlet_name . "</td>\n\t\t\t<td>" . $row->reservation_booker_name . "</td>"; echo "<td class='noprint'>"; // DELETE BUTTON if (current_user_can('Reservation-Delete') && $q != 3) { echo "<a href='#modalsecurity' name='" . $row->repeat_id . "' id='" . $id . "' class='delbtn'>\n\t\t\t\t\t<img src='images/icons/delete_cross.png' alt='" . _cancelled . "' class='help' title='" . _delete . "'/></a>"; } echo "</td></tr>"; } } ?> </tbody>