KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
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 :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/swg98tjyzel1/public_html/bityatra.com/booking-hotels.php
<?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="creative, portfolio, agency, template, theme, designed, html5, html, css3, responsive, onepage" />
    <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 Tour packages, Hotel booking, Holiday boooking & Car Rental </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">
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=AW-17582356210"></script>
<script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());

  gtag('config', 'AW-17582356210');
</script>
  </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-2.jpg" data-type="parallax" data-speed="3">
            <div class="container">
              <div class="section-content">
                <div class="row">
                  <div class="col-12">
                    <h4>Hotel Booking</h4>
                    <p>Home <a href="#">Hotel Booking</a></p>
                  </div>
                </div>
              </div>
            </div>
          </section>
        <!-- Inner Section End -->
<?php $chk=mysqli_fetch_array(mysqli_query($con,"select * from hotels where id='".$_REQUEST['id']."'")); ?>
        <!-- Contact Section Start -->
       <section class="contact-section" style="margin-top:40px; margin-bottom:40px; padding: 60px 0 20px 0; background: url('images/hotel-bg.jpg') no-repeat center center; background-size: cover;">



    <div class="container" style="max-width: 900px; margin: 0 auto;">
        <div class="row" style="background: rgba(255, 255, 255, 0.9); padding: 40px; border-radius: 15px; box-shadow: 0 8px 20px rgba(0,0,0,0.2);">
            
            <div class="col-md-12 col-lg-12 style-2">
                <h2 style="text-align: center; font-size: 32px; margin-bottom: 25px; color: #333; font-weight: bold;">Hotel Booking Form</h2>
                
                <form class="booking-form" method="post" action="">
                    <div class="tab-content" id="nav-tabContent">
                        <div class="tab-pane fade show active" id="nav-hotelbk" role="tabpanel" aria-labelledby="nav-hotelbk-tab">
                            
                            <div class="form-row" style="display: flex; flex-wrap: wrap; gap: 20px;">
                                
                                <div class="form-group" style="flex: 100%;">
                                    <input type="text" name="hotelname" id="hotelname" value="<?php print ucwords($chk['title']);?>" class="form-control" placeholder="Hotel Name" readonly
                                    style="width: 100%; padding: 12px; border: 1px solid #ccc; border-radius: 8px; font-size: 16px; background: #f8f8f8;">
                                </div>

                                <div class="form-group" style="flex: 48%;">
                                    <input type="text" name="name" id="name" class="form-control" placeholder="Name" required
                                    style="width: 100%; padding: 12px; border: 1px solid #ccc; border-radius: 8px; font-size: 16px;">
                                </div>

                                <div class="form-group" style="flex: 48%;">
                                    <input type="email" name="email" id="email" class="form-control" placeholder="Email" required
                                    style="width: 100%; padding: 12px; border: 1px solid #ccc; border-radius: 8px; font-size: 16px;">
                                </div>

                                <div class="form-group" style="flex: 48%;">
                                    <input type="text" name="phone" id="phone" class="form-control" placeholder="Phone No" required
                                    style="width: 100%; padding: 12px; border: 1px solid #ccc; border-radius: 8px; font-size: 16px;">
                                </div>

                                <div class="form-group" style="flex: 48%;">
                                    <input type="text" name="address" id="address" class="form-control" placeholder="Address" required
                                    style="width: 100%; padding: 12px; border: 1px solid #ccc; border-radius: 8px; font-size: 16px;">
                                </div>

                                <div class="form-group" style="flex: 48%;">
                                    <input type="date" name="fdate" id="fdate" class="form-control" required
                                    style="width: 100%; padding: 12px; border: 1px solid #ccc; border-radius: 8px; font-size: 16px;">
                                </div>

                                <div class="form-group" style="flex: 48%;">
                                    <input type="date" name="tdate" id="tdate" class="form-control" required
                                    style="width: 100%; padding: 12px; border: 1px solid #ccc; border-radius: 8px; font-size: 16px;">
                                </div>

                                <div class="form-group" style="flex: 48%;">
                                    <select class="form-control" name="adults" style="width: 100%; padding: 12px; border: 1px solid #ccc; border-radius: 8px; font-size: 16px;">
                                        <option value="">Choose Adults</option>
                                        <?php for($i=1;$i<=9;$i++){ echo "<option value='$i'>$i</option>"; } ?>
                                    </select>
                                </div>

                                <div class="form-group" style="flex: 48%;">
                                    <select class="form-control" name="children" style="width: 100%; padding: 12px; border: 1px solid #ccc; border-radius: 8px; font-size: 16px;">
                                        <option value="">Choose Children</option>
                                        <?php for($i=1;$i<=9;$i++){ echo "<option value='$i'>$i</option>"; } ?>
                                    </select>
                                </div>

                                <div class="form-group" style="flex: 100%; text-align: center; margin-top: 20px;">
                                    <input name="submit" value="Submit" class="btn btn-theme" type="submit"
                                    style="background: #ff6600; color: #fff; font-size: 18px; padding: 12px 30px; border: none; border-radius: 8px; cursor: pointer; transition: 0.3s;">
                                </div>
                            </div>
                        </div>
                    </div>
                </form>
                
            </div>
        </div>
    </div>
</section>


        <!-- Contact Section End -->

        <!-- Process Section End -->
<?php include"footer.php"; ?>

TitusBoTz-MD - 2021