
 <center><table  class ="roomtab" ><tr><td height="50px" colspan="7" valign="bottom" align="center" ><label id="main_lab">   ROOM SERVICES</label> </td></tr>
 

 <?php
   $rM=$con->getHotelRoom($hnm);
 		if($rM->rowCount()<=0){
 			


 
								?>
								<tr class="tr2"><td colspan="6">  No room detail uploaded</td></tr>


						<?php
							}

							else{
 
				?>

<tr class="tr1"><td width="10%"><label id="min_lab">ROOM NUMBER</label></td><td width="20%" ><label id="min_lab">ROOM NAME</label></td>
	 
<td   width="16%" ><label id="min_lab">COST/NIGHT</label></td>

 <td  width="20%" ><label id="min_lab">ROOM TYPE</label></td><td width="14%"><label id="min_lab">ROOM/STATUS</label></td>
<td width="20%" colspan="2"><label id="min_lab">BOOK FOR BEST SERVICES</label></td>
 </tr>


				<?php			   
 		 
 		 

 		$val=$rM->fetchAll();
    
    foreach ($val as $key => $room) {
 				?>

 				<tr class="tr2" height="40px"><td   ><?php echo $room["room_no"];?></td><td><?php echo $room["rname"];?></td><td  ><?php echo $room["rcost"];?></td>

                <td ><?php echo $room["rtype"];?></td><td><?php echo $room["rstatus"];?></td>

                 <td align="right">
                   <form action="roomImageViewOut.php" method="POST">

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

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

                       <input type="text" value="<?php echo $room["room_no"];?>" name="roomNo" class="hi">

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

                       <input type="submit" class="pos" name="post" value="View images">

                   </form>

                 </td>

                <td><form action="home.php" method="POST"> <input type="text" value="<?php echo $room["room_no"];?>" name="roomNo" class="hi"> <input type="text" value="<?php echo $hnm;?>" name="hotel" class="hi"><input type="submit" id="book" name="hotel<?php echo $room["room_no"];?>" value="Book now"></form> </td>

                 </tr>
                 <?php
 				} 
 			}
 			?>
 			<tr><td colspan="7"><table width="100%"><tr><td colspan="9" >Hotel location summary information and contacts:-</td></tr>						  

<tr class="tr1"><td id="td_height" ><label id="inner_top">COUNTRY</label></td><td><label id="inner_top">CITY/REGION</label></td>

<td id="td_height" ><label id="inner_top">TOWN/DISTRICT</label></td><td><label id="inner_top">STREET</label></td>
 
<td id="td_height" ><label id="inner_top">PHONE NUMBER</label></td><td  ><label id="inner_top">EMAIL ADDRESS</label></td><td  ><label id="inner_top">REGISTERED ON</label></td><td  ><label id="inner_top">POSTAL ADDRESS</label></td><td  ><label id="inner_top">POPULAR MARK</label> </td>

</tr>

 		


<tr class="tr2"><td id="td_height" ><label id="inner_lab"> <?php echo $hD["country"];?> </label></td><td><label id="inner_lab"><?php echo $hD["city"];?> </label></td>

<td id="td_height" ><label id="inner_lab"><?php echo $hD["ltown_city"];?> </label></td><td><label id="inner_lab"><?php echo $hD["lstreet_vil"];?> </label></td>

<td id="td_height" ><label id="inner_lab"><?php echo $hD["phoneno"];?> </label></td><td><label id="inner_lab"><?php echo $hD["email"];?> </label></td><td><label id="inner_lab"><?php echo $hD["reg_date"];?> </label></td>
<td id="td_height" ><label id="inner_lab"><?php echo $hD["paddress"];?> </label></td><td><label id="inner_lab"><?php echo $hD["popularDistination"];?> </label></td>


</tr>
<tr >
    
    <td align="justify" colspan="9">
    <label id="main_lab">SHORT DESCRIPTION ABOUT <?php echo $hD["hname"];?> </label><p/>
     <label id="inner_lab"><?php echo $hD["description"];?> </label>
   </td>

</tr>		
</table></td></tr></table></center>
 
