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

if(isset($_POST['roomNo']) && isset($_POST['hotel'])){
	$roomNO=$_POST['roomNo'];
	$hotel=$_POST['hotel']; 
?>

<form   action="../hotel_login_pro.php" method="POST">

<!--CARRY HOTEL ID AND ROOM ID-->

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

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


<!--//////////-->



 <center> <fieldset id="lo"> 
<legend id="log">Login for full access</legend>

<table  id="login_table">
<tr>
    <td valign="top" align="center" width="30%">
    <label id="min_log">Email address:<sup>*</sup></label>
    </td>
     <td valign="top" align="center"  width="30%">
        <label id="min_log">Password:<sup>*</sup></label>
    </td></tr>

<tr>
    <td valign="top" width="30%">
        <input type="text" name="logname" id="logname" class="prof_info_login"/> 
        
    </td>

   
    
    <td valign="top" width="30%">

         <input type="password" name="logsecret" id="logsecret" class="prof_info_login"/> 
     
         
    </td> </tr>
    <tr>

     <td height="45px"  valign="bottom" align="center"   colspan="2">

          <input type="submit" name="login" id="loginbtn" value="login" /></form>   
    </td></tr>
<tr>
    <td height="60px" colspan="2" width="30%" valign="bottom" align="center">




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


                                     <!--CARRY HOTEL ID AND ROOM ID-->

    <!--<input type="text" value="<?php// echo $roomNO;?>" name="roomNo" class="hi"> 

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


                    <!--//////////-->
    <b>Not registered</b> <input type="submit" name="signUp" id="signup" value="sign up"></form>
</center></td>
    </tr>
</table>
</form>
</fieldset>

  </center>







 

<?php 
}
?>
<script type="text/javascript">
  
  
</script>