Example #1
0
    echo $settings['map_long'];
    ?>
" style="outline:none; text-decoration:none; -ms-interpolation-mode: bicubic; border:none; display:block;" title="Can't see this map? Click here to view location and directions." width="580" />
</a></td>
         </tr>
        </table>
       </td>
      </tr>
      <?php 
}
?>

<?php 
foreach (json_decode($rooms) as $key => $room) {
    if ($room->policy != 0) {
        $p = get_policy($room->policy);
        ?>

      <tr>
       <td style="padding-bottom:20px; padding-left:10px; padding-right:10px;" valign="top">
        <table border="0" cellpadding="0" cellspacing="0" class="mg_conf_room_name_and_description" style="
margin:0px; padding:0px; border:0px;
 " width="100%">
         <tr>
          <td style="
text-align:left;
 
font-size:18px;line-height:22px;
font-family: arial;
color:#003580;
page-break-after: avoid;
Example #2
0
        case $_L['BTN_list']:
            break;
        case $_L['BTN_search']:
            //check if user is searching using name, payrollno, national id number or other fields
            $roomno = $_POST["search"];
            $res = find_room($roomno, $rooms);
            $roomid = $rooms['roomid'];
            break;
    }
}
if ($_GET['search'] || $_POST['roomno']) {
    $roomno = $_POST['roomno'];
    if ($_GET['search']) {
        $idpolicy = $_GET["search"];
    }
    $res = get_policy($idpolicy, $policy);
    $idpolicy = $policy['idpolicy'];
    $_GET['search'] = 1;
}
?>
	<script type="text/javascript">
	  <!--
	  var request;
	  var dest;
		/*
		convertToEntities()
		This is to convert characters to Unicode numbers
		*/
		function convertToEntities() {
		  var tstr = document.getElementById('description').value;
		  var bstr = '';