<?php
 require_once("head2Alt.php");
?>

<table width="100%">
<tr><td colspan="2" height="50px" align="justify" valign="top"  ><center><b>RESTING HOUSES<br><br>
<font color="blue">
    <?php
    if(isset($_GET['suc'])){
        echo $_GET['suc'];
    }
    ?>
    
</font>
</b>
</center>


You can get detail information of resting houses such as Hotel, Guest houses, Lodge, etc of various places before your visits. Here you get vital information that help you to make a right decision and choice hence better plan of your journey; the room cost per night, the services offered in associate, distance of your choices resting house from transport means etc.
</td></tr>
<tr>
  <td> 


                            <form action="hotel_default_entry.php" method="post">
 

                               <input class="hi" type="text" name="owniD"  value="<?php echo $ownID;?>">

 

                              <input class="pos" type="submit" value="Summary view" name="post"  >

                           </form> 
 </td>
 <td align="right">


                            <form action="afterLoginHotel.php" method="post">
 

                               <input class="hi" type="text" name="owniD"  value="<?php echo $ownID;?>">

 

                              <input class="pos" type="submit" value="Detail view" name="post"  >

                           </form> 
  
 </td>
</tr>
<tr>
  <td colspan="2" align="center">
    
      <form action="hotel_default_entry.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="hi" type="text" name="owniD"  value="<?php echo $ownID;?>">
                      <input class="subs" type="submit" value="Search" name="search"><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>
<?php
  
     if(isset($_POST['search']))
       {

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

         }
       }
       else{
        /////////////NONE POST

           require("my_Only_Hotel_in_detail.php");
            require("hotel_summary_NO_seach.php");
       }
 
 
require_once('footerIn.php');
?>
