|
Server : Apache System : Linux p3plzcpnl507073.prod.phx3.secureserver.net 4.18.0-553.53.1.lve.el8.x86_64 #1 SMP Wed May 28 17:01:02 UTC 2025 x86_64 User : swg98tjyzel1 ( 5098476) PHP Version : 8.1.34 Disable Function : NONE Directory : /home/swg98tjyzel1/public_html/bityatra.com/ |
Upload File : |
<?php
define('SECURE_ACCESS', true); // This line is required before including config.php
include("config.php");
?>
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="description" content="" />
<meta name="keywords"
content="" />
<meta name="author" content="Set Private Limited" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!--[if IE]><meta http-equiv='X-UA-Compatible' content='IE=edge,chrome=1'><![endif]-->
<title>Bityatra, Online hotel booking services</title>
<!------------------------------------------
Main CSS File
<------------------------------------------>
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/font-awesome.min.css">
<link rel="stylesheet" href="css/menu.css">
<link rel="stylesheet" href="css/custom-animation.css">
<!-- Style CSS -->
<link rel="stylesheet" href="css/style.css">
<!-- Responsive CSS -->
<link rel="stylesheet" href="css/responsive.css">
<!-- Favicon -->
<link href="images/favicon.png" rel="shortcut icon" type="image/png">
</head>
<body>
<div class="preloader"></div>
<!-- Start Page Wrapper -->
<div class="page-wrapper">
<?php include"header.php"; ?>
<!-- Inner Section Start -->
<section class="inner-area parallax-bg" data-background="images/bg/px-4.jpg" data-type="parallax" data-speed="3">
<div class="container">
<div class="section-content">
<div class="row">
<div class="col-12">
<h4>Hotel</h4>
<p>Home <a href="#">Hotel</a></p>
</div>
</div>
</div>
</div>
</section>
<!-- Inner Section End -->
<!-- Latest Hotel Section Start -->
<section class="latest-hotel-sec pt-85 pb-80">
<div class="container">
<div class="row grid-mb">
<?php
$s=mysqli_query($con,"select * from hotels order by id ASC");
$a=1;
while($r=mysqli_fetch_array($s))
{
?>
<div class="col-lg-6">
<div class="latest-hotel">
<div class="thumb">
<img src="upload_image/<?php print $r['image']; ?>" alt="" width="248" height="267">
</div>
<div class="content">
<h4><?php print ucwords($r['title']);?></h4>
<h5><?php print $r['address']; ?></h5>
<h3><b>Rs <?php print $r['rate']; ?></b></h3>
<a class="btn-theme" href="hotel-details.php?id=<?php print $r['id']; ?>">View Details</a>
</div>
</div>
</div>
<?php $a++; } ?>
</div>
</div>
</section>
<!-- Latest Hotel Section End -->
<?php include"footer.php"; ?>