<?php
 //session_start();
require_once("header.php");

?>
  
 

<center> <table   width="95%">

<tr>
  <td width="70%" height="80px" align="right" valign="center">
    Staff login:
  </td>
  <td align="right">
    <?php
     if (isset($_GET['id'])){
           echo "<font color='red'>". $_GET['id']."</font>";
            
             }
    require_once("hotelStaffLoginForm.php");
    ?>
  </td>
</tr>
<tr><td colspan="2" height="90px" valign="center" align="justify"><b>WELCOME TO RESTING HOUSES SERVICES</b></td></tr>
<tr><td colspan="2"> Get information about resting houses of places you plan to visits. Now you have on hand information (such as room cost and other services offfered in associate with the core services) about Hotel, Motel, Restort, Lodge,Guest houses of the place you want to visit </td></tr>
<tr>
    
  <td>

  <label id="label"><a style="color:blue;"  href="hotel_default_entryout.php">Summary view</a></label> 
 </td>
 <td align="right">

  <label id="label"><a style="color:blue;"  href="budaReservationServices.php">Detail view</a></label> 
 </td>
</tr>
<tr>
  <td colspan="2" align="center">
    
      <form action="hotel_default_entryout.php" method="post">

            <label id="search_lab">
                       <i>
                          Search hotel here:-
                      </i> 
             </label>
                      <input type="text" class="hotel_info" height="25px" name="searchValue">
                      <input class="subs" type="submit" value="Search" name="post"><br>
                      <i>You can search by name,location(eg: country, region/city,district/town,ward and street) and polular mark.</i>
            
      </form>
  </td>
</tr>
</table></center>
  <?php
     if(isset($_POST['post']))
       {

        $searchValue=$_POST['searchValue'];
        if ($searchValue!="") {
           
        require("hotel_summary_seach_out.php");
         }////////////////////EMPTY POST 
         else{
          ?>
          <p><label id="min_lab">
           Searching empty results!.. 
           </label>
           <?php

         }
       }
       else{
        /////////////NONE POST
          require("hotel_summary_NO_seach_out.php");
       }
 

 
require_once('footer.php');
?>
	 
 