hjkhhrtertererrrrrerrtertertertertertertert
bnmbnerterterterterterdfgdfgdfgdfgdfgdfgdfgdfgdfg
/
home4
/
digil8bw
/
nishaadresorts.com
/
Upload FileeE
HOME
<?php ob_start(); include("configuration/function-include.php"); include('include/header.php'); if(!empty($_REQUEST['DID'])){ $_REQUEST['DID'] = $_REQUEST['DID']; } else { header('location:index.php');; } if(!empty($_POST['booking-checkin'])){ $_SESSION['booking-checkin']=$_POST['booking-checkin']; $_SESSION['booking-checkout']=$_POST['booking-checkout']; } $sql_room = "SELECT * FROM sh_room WHERE id = '".$_REQUEST['DID']."'"; $result_room = mysqli_query($conn, $sql_room); $row_room = mysqli_fetch_array($result_room); ?> <body> <div id="smoothpage" class="wrapper"> <div class="top_menu"> <div class="container"> <div class="welcome_mssg hidden-xs"> Welcome to Nishaad Resorts </div> <ul class="top_menu_right"> <li><i class="fa fa-phone"></i><a href="tel:+91 9418021707"> +91 9418021707 </a></li> <li class="email"><i class="fa fa-envelope-o "></i> <a href="mailto:info@hotelnishaadresorts.com">info@hotelnishaadresorts.com</a> </li> </ul> </div> </div> <header class="fixed"> <?php include('include/menu.php'); ?> </header> <div class="page_title gradient_overlay" style="background: url(images/page_title_bg.jpg);"> <div class="container"> <div class="inner"> <div class="row"> <div class="col-md-6 col-sm-6"> <h1><?php echo $row_room['title']; ?></h1> <ol class="breadcrumb"> <li><a href="index.php">Home</a></li> <li>Rooms</li> <li><?php echo $row_room['title']; ?></li> </ol> </div> <div class="col-md-6 col-sm-6"> <div class="price"> <div class="inner"> ₹ <?php echo $row_room['price']; ?> <span>per night</span> </div> </div> </div> </div> </div> </div> </div> <br> <main id="room_page"> <div class="container"> <div class="row"> <div class="col-md-8"> <div class="slider"> <div id="slider-larg" class="owl-carousel image-gallery"> <?php if(!empty($row_room['img'])){ ?> <div class="item lightbox-image-icon"> <a href="upload/room/<?php echo $row_room['img'] ?>" class="hover_effect h_lightbox h_blue"> <img class="img-responsive" src="upload/room/<?php echo $row_room['img'] ?>" alt="Image"> </a> </div> <?php } $sql_room_images="SELECT * FROM sh_room_images where roomID='".$row_room['id']."'"; $query_room_images=mysqli_query($conn,$sql_room_images); if(mysqli_num_rows($query_room_images)>0){ while($res_room_images=mysqli_fetch_array($query_room_images)){ ?> <div class="item lightbox-image-icon"> <a href="upload/room_image/<?php echo $res_room_images['img'] ?>" class="hover_effect h_lightbox h_blue"> <img class="img-responsive" src="upload/room_image/<?php echo $res_room_images['img'] ?>" alt="Image"> </a> </div> <?php } } ?> </div> <div id="thumbs" class="owl-carousel"> <?php if(!empty($row_room['img'])){ ?> <div class="item"><img class="img-responsive" src="upload/room/<?php echo $row_room['img'] ?>" alt="Image"></div> <?php } $sql_room_images="SELECT * FROM sh_room_images where roomID='".$row_room['id']."'"; $query_room_images=mysqli_query($conn,$sql_room_images); if(mysqli_num_rows($query_room_images)>0){ while($res_room_images=mysqli_fetch_array($query_room_images)){ ?> <div class="item"><img class="img-responsive" src="upload/room_image/<?php echo $res_room_images['img'] ?>" alt="Image"></div> <?php } } ?> </div> </div> <div class="main_title mt50"> <h2><?php echo $row_room['title']; ?></h2> </div> <?php echo $row_room['description']; ?> <div class="main_title t_style a_left s_title mt50"> <div class="c_inner"> <h2 class="c_title">ROOM SERVICES</h2> </div> </div> <div class="room_facilitys_list"> <div class="all_facility_list"> <div class="col-md-12 nopadding"> <ul class="list-unstyled" style="columns:3;"> <?php $sql_services="SELECT * FROM sh_services where FIND_IN_SET(id,'".$row_room['services']."') and status=1"; $query_services=mysqli_query($conn,$sql_services); while($res_services=mysqli_fetch_array($query_services)){ ?> <li><i class="fa fa-check"></i><?php echo $res_services['services']; ?></li> <?php } ?> </ul> </div> </div> </div> </div> <div class="col-md-4"> <div class="sidebar"> <aside class="widget"> <div class="vbf"> <h2 class="form_title"><i class="fa fa-calendar"></i> Your Selection</h2> <form id="" action="" method="post" class="inner"> <div class="form-group"> <div class="input-group"> <div class="form_date"> <input type="text" class="datepicker form-control md_noborder_right" name="booking-checkin" placeholder="Arrival Date" value="<?php if(!empty($_SESSION['booking-checkin'])){ echo $_SESSION['booking-checkin']; } else{ echo date("d/m/Y"); }?>" readonly> </div> </div> </div> <div class="form-group"> <div class="input-group"> <div class="form_date"> <input type="text" class="datepicker form-control" name="booking-checkout" placeholder="Departure Date" value="<?php if(!empty($_SESSION['booking-checkout'])){ echo $_SESSION['booking-checkout']; }else{ echo date("d/m/Y", strtotime('tomorrow')); } ?>" readonly> </div> </div> </div> <button class="button btn_lg btn_blue btn_full" type="submit">Check Room</button> </form> </div> </aside> <aside class="widget"> <h4>Book Online</h4> <div class="special_offers"> <?php if(!empty($row_room['price'])){ ?> <article class="room mb40"> <figure> <a href="#" class="hover_effect h_blue h_link"> <img src="upload/room/<?php echo $row_room['img'] ?>" class="img-responsive" alt="Image"> </a> <figcaption> <h5>Room Only</h5> <div class="price">₹ <?php echo $row_room['price'] ?><span> / night</span></div> <?php if(!empty($_SESSION['booking-checkin'])){ $date = str_replace('/', '-', $_SESSION['booking-checkin']); }else{ $date=date("Y-m-d"); } $invent= date('Y-m-d', strtotime($date)); $sql_select1 = "Select * from sh_inventory where inventory_date='".$invent."' and roomID='".$_REQUEST['DID']."'"; $query_select1 = mysqli_query($conn, $sql_select1); $res_select1 = mysqli_fetch_array($query_select1); ?> <span class="f_right"> <?php if(!empty($res_select1['inventory'])){ ?> <form action="book_online.php" method="post"> <input type="hidden" name="booking-roomtype" value="<?php echo $row_room['id']; ?>"> <input type="hidden" name="price" value="<?php echo $row_room['price']; ?>"> <button type="submit" class="button btn_sm btn_blue">BOOK NOW</button> </form> <?php }else{ ?> <button type="button" disabled class="button btn_sm btn_red">SOLD OUT</button> <?php } ?> </span> </figcaption> </figure> </article> <?php } if(!empty($row_room['cpprice'])){ ?> <article class="room mb40"> <figure> <a href="#" class="hover_effect h_blue h_link"> <img src="upload/<?php if(!empty($row_room['img2'])){ echo 'room2/'.$row_room['img2']; }else{ echo 'room/'.$row_room['img']; } ?>" class="img-responsive" alt="Image"> </a> <figcaption> <h5>CP Plan (Including Breakfast)</h5> <div class="price">₹ <?php echo $row_room['cpprice'] ?><span> / night</span></div> <span class="f_right"> <?php if(!empty($res_select1['inventory'])){ ?> <form action="book_online.php" method="post"> <input type="hidden" name="booking-roomtype" value="<?php echo $row_room['id']; ?>"> <input type="hidden" name="price" value="<?php echo $row_room['cpprice']; ?>"> <button type="submit" class="button btn_sm btn_blue">BOOK NOW</button> </form> <?php }else{ ?> <button type="button" disabled class="button btn_sm btn_red">SOLD OUT</button> <?php } ?> </span> </figcaption> </figure> </article> <?php } if(!empty($row_room['mapprice'])){ ?> <article class="room mb40"> <figure> <a href="#" class="hover_effect h_blue h_link"> <img src="upload/<?php if(!empty($row_room['img3'])){ echo 'room3/'.$row_room['img3']; }else{ echo 'room/'.$row_room['img']; } ?>" class="img-responsive" alt="Image"> </a> <figcaption> <h5>MAP Plan (Breakfast & Dinner)</h5> <div class="price">₹ <?php echo $row_room['mapprice'] ?><span> / night</span></div> <span class="f_right"> <?php if(!empty($res_select1['inventory'])){ ?> <form action="book_online.php" method="post"> <input type="hidden" name="booking-roomtype" value="<?php echo $row_room['id']; ?>"> <input type="hidden" name="price" value="<?php echo $row_room['mapprice']; ?>"> <button type="submit" class="button btn_sm btn_blue">BOOK NOW</button> </form> <?php }else{ ?> <button type="button" disabled class="button btn_sm btn_red">SOLD OUT</button> <?php } ?> </span> </figcaption> </figure> </article> <?php } ?> </div> </aside> </div> </div> </div> </div> </main> <?php include('include/footer.php'); ?> </body> </html>