MMCT TEAM
Server IP : 82.112.239.40  /  Your IP : 3.144.235.139
Web Server : LiteSpeed
System : Linux in-mum-web1676.main-hosting.eu 5.14.0-503.35.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Apr 4 05:23:43 EDT 2025 x86_64
User : u641149403 ( 641149403)
PHP Version : 7.4.33
Disable Function : system, exec, shell_exec, passthru, mysql_list_dbs, ini_alter, dl, symlink, link, chgrp, leak, popen, apache_child_terminate, virtual, mb_send_mail
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : OFF  |  Python : OFF
Directory (0755) :  /home/u641149403/domains/cabz4you.com/public_html/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/u641149403/domains/cabz4you.com/public_html/airport-booking.php
<?php include('include/common.php');
if (isset($_SESSION['amount'])) {
  unset($_SESSION['amount']);
  header('location:airport-rental.php');
}
if(isset($_SESSION['airports'])){
  $session = $_SESSION['airports'];
  $id = $session['cab_cat_id'];
  $type = $session['cab_id'];
  $origin = $session['o'];
  $destination = $session['d'];
  $pickup_date = $session['pickup_date'];
  $pickup_time = $session['pickup_time'];
  $distance = $session['distance'];
  $time = $session['time'];
  $trip_type = $session['trip_type'];
  $lat = $session['lat'];
  $long = $session['long'];
  $lat_from = $session['lat_from'];
  $long_from = $session['long_from'];
  $rate = $session['rate'];
  $trip = $session['trip'];
  $extra_km = $session['extra_km'];
  $mobile = $session['mobile'];
}else{
  header('location:'.BASE_URL);
}
?>
<!DOCTYPE html>
<html lang="en" style="overflow-x:hidden">
<head>
    <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Airport Booking - <?=SITE_NAME?></title>
<meta name="description" content="Book your airport transfer with <?=SITE_NAME?>. Enjoy a hassle-free airport pickup and drop service with professional drivers and 24/7 availability at affordable rates.">
<meta name="keywords" content="airport booking, airport taxi, Dehradun airport taxi, airport transfer, Dehradun airport pickup, affordable airport booking, professional drivers, airport taxi service">
<meta name="robots" content="index, follow">
<meta name="language" content="English">
<meta name="rating" content="General">
<meta name="distribution" content="Global">
<meta name="revisit-after" content="7 days">
<meta property="og:title" content="Airport Booking - <?=SITE_NAME?>" />
<meta property="og:description" content="Book a convenient and reliable airport transfer with <?=SITE_NAME?>. Our professional drivers offer 24/7 airport pickups and drops at the best prices." />
<meta property="og:type" content="website" />
<meta property="og:url" content="<?=BASE_URL?>airport-booking.php"/>
<meta property="og:image" content="<?=BASE_URL?>images/airport-booking.jpg" />
<meta property="og:site_name" content="<?=SITE_NAME?>" />
<meta property="og:locale" content="en_US" />
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="Airport Booking - <?=SITE_NAME?>">
<meta name="twitter:description" content="Book your airport taxi with <?=SITE_NAME?>. We provide reliable and affordable airport transfers with professional drivers, available 24/7." />
<meta name="twitter:image" content="<?=BASE_URL?>images/airport-booking.jpg">
<meta name="twitter:site" content="@Cabsz4u">
<meta name="twitter:creator" content="@Cabsz4u">
<meta name="twitter:url" content="<?=BASE_URL?>">
<meta name="twitter:label1" content="Written by">
<meta name="twitter:data1" content="<?=SITE_NAME?>">
<meta name="twitter:label2" content="Time to read">
<meta name="twitter:data2" content="3 minutes">
<meta name="twitter:domain" content="<?=DOMAIN?>">
<meta name="twitter:image:width" content="1200">
<meta name="twitter:image:height" content="630">
<meta name="format-detection" content="telephone=no">
<meta name="theme-color" content="#ff0000">

<!-- Schema.org structured data for Airport Booking page -->
<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Service",
  "name": "<?=SITE_NAME?> Airport Booking",
  "url": "<?=BASE_URL?>airport-booking.php",
  "logo": "<?=BASE_URL?>images/logo.png",
  "description": "Reliable and affordable airport booking services with <?=SITE_NAME?>. Our professional drivers are available 24/7 for airport pickups and drops.",
  "serviceType": "Airport Booking",
  "provider": {
    "@type": "Organization",
    "name": "<?=SITE_NAME?>",
    "url": "<?=BASE_URL?>",
    "logo": "<?=BASE_URL?>images/logo.png"
  },
  "address": {
    "@type": "PostalAddress",
    "streetAddress": "<?=ADDRESS?>",
    "addressLocality": "Dehradun",
    "addressRegion": "Uttarakhand",
    "postalCode": "249401",
    "addressCountry": "IN"
  },
  "telephone": "+91-7830530004",
  "sameAs": [
    "https://www.facebook.com/profile.php?id=61554848866697&mibextid=JRoKGi",
    "https://x.com/Cabsz4u",
    "https://www.instagram.com/cabz4u/"
  ],
  "contactPoint": {
    "@type": "ContactPoint",
    "telephone": "+91-7830530004",
    "contactType": "customer service",
    "areaServed": "IN",
    "availableLanguage": "English"
  }
}
</script>

    <?php include "include/header.php";

    $result = $db->query("SELECT * FROM  airport WHERE id='$id'");
    $row3 = mysqli_fetch_array($result);
    $package_type = $row3['type'];
    $cab_type=$row3['type'];
    $img=$row3['img'];
    $inclusion=$row3['inclusion'];
    $exclusion=$row3['exclusion'];
    $price = $row3['price'] * ($distance * 0.2);
    $base_rate =  $rate;

// ========Amenities=============
    $amenities = $db->query("SELECT * FROM amenities WHERE status=1");
    if ($profile_data['gst_status']==1) {
        $gst_tax = $profile_data['gst_tax'];
        $gst=round($base_rate*$gst_tax/100,2);
    }else{
        $gst = 0;
    }
// $gst=round($rate*$gst_tax/100,2);
    $rate=round($base_rate+$gst,2);
    $amount=round($base_rate*20/100,2);
    ?>
    <style>
        .bg-banner  {
            background: url(images/cab_booking.png) no-repeat;
            background-size: cover;
            width: 100%;
            position: relative;
        }
        @media only screen and (min-width: 768px)  {
            #cab_imgpart {
                width: 60%;
            }
        }
        #shadow {
            box-shadow: rgb(0 0 0 / 23%) 0px 0.2rem 0.5rem 0px;
        }
        .tabcontent{
            color: #000!important;
        }
    </style>
    <section class="same-section-spacing bg-banner">
        <div class="container">
            <div class="row">
                <div class="col-lg-12">
                    <div class="banner-box">
                        <h2></h2>
                        <nav aria-label="breadcrumb">
                            <ol class="breadcrumb">
                                <li class="breadcrumb-item"><a href="index.php">Home</a></li>
                                <li class="breadcrumb-item active" aria-current="page">Booking Details</li>
                            </ol>
                            <h2 style="text-align: center;">Booking Details</h2>
                            <hr id="hr3">
                        </nav>
                    </div>
                </div>
            </div>
        </div>
    </section>
    <div class="wrapperhead bg-head pb-1">
        <div class="container-fluid head-out fixed-top sticky-top bg-white">
            <div class="secondPageSearchBar bg-secPageNavForm " style="margin-bottom:-15px!important;
            margin-left:-15px;
            margin-right:-15px;
            ">
            <div class="container-fluid">
                <div class="row secondPageSearchBarA navbar-collapse head2-remove tab-content" id="secondPageSearchBarid" style="margin-bottom: -15px;
                ">
                <div class="tab-pane container-fluid  active" id="rental">
                    <div class="container">
                        <div class="row">
                            <div class="col-md-7 col-12">
                                <div class="row">
                                    <div class="col-md-12" id="shadow">
                                        <div class="col-md-6 text-center">
                                            <img src="admin/<?php echo $img; ?>" class="img-fluid" id="cab_imgpart">
                                            <h4 class="mt-2" style="color: #ff0000;font-weight: 600">₹ <?php echo number_format($base_rate);?></h4>
                                        </div>
                                        <div class="col-md-6 py-4 text-center">
                                            <h3 class="" style="font-weight: 600;color: #000;"><?php echo $type ?></h3>
                                            <p style="color: #000"><?php echo $distance; ?> Km <i class="fa fa-road 2x" style="font-size: 18px"></i></p>
                                        </div>
                                    </div>
                                    <div class="col-md-12 px-0 mt-4" id="shadow">
                                        <div class="card-header" style=" color: #000;font-weight: bold;">Your Booking Details</div>
                                        <style>
                                            @media only screen and (max-width: 600px)  {
                                                .roundedbox  {
                                                    margin-top: 0px !important;
                                                }
                                                .tablink  {
                                                    font-size: 13px;
                                                }
                                                .inp-m  {
                                                    margin-top: 15px !important;
                                                }
                                            }
                                            .roundedbox  {
                                                border-radius: 0px !important;
                                            }
                                        </style>
                                        <div class=" ">
                                            <div class="">
                                                <div class="col-lg-12 p-0">
                                                    <button class="tablink " onclick="openPage('Outstation', this, '#ff0000')" id="defaultOpen">Details</button>
                                                    <button class="tablink" onclick="openPage('Local', this, '#ff0000')">Inclusions</button>
                                                    <button class="tablink" onclick="openPage('Airport', this, '#ff0000')">Exclusions</button>
                                                    <div id="Outstation" class="tabcontent">
                                                        <div class="col-lg-12">
                                                            <p style="color:black;"><b>Cab From : </b><span> <?php echo $origin;?> <b>Cab To :</b> <?php echo $destination;?> (Airport)</span></p>
                                                            <p style="color:black;"><b>Pickup Date :</b> <span><?php echo $pickup_date;?></span></p>
                                                            <p style="color:black;"><b>Car type :</b> <span> </span><?php echo $type;?></p>
                                                            <p style="color:black;"><b>Kilometers :</b> <?php echo $distance;?> km </p>
                                                            <p style="color:black;"><b>Total Fare :</b> <span>₹ <?php echo $base_rate;?></span></p>
                                                        </div>
                                                    </div>
                                                    <div id="Local" class="tabcontent">
                                                        <div class="col-lg-12">
                                                            <?php echo $inclusion; ?>
                                                        </div>
                                                    </div>
                                                    <div id="Airport" class="tabcontent">
                                                        <div class="col-lg-12">
                                                         <?php echo $exclusion; ?>
                                                     </div>
                                                 </div>
                                             </div>
                                         </div>
                                     </div>
                                 </div>
                             </div>
                         </div>
                         <div class="col-md-5 col-12">
                            <div class="card" id="shadow">
                                <div class="card-header" style="background: #ff0000;color: #fff;"> Contact & Pickup Details</div>
                                <div class="card-body">
                                    <form action="confirmrazorpay.php" method="post" id="formsubmit">
                                        <input type="hidden" name="cab_cat_id" value="<?php echo $id;?>" />
                                        <input type="hidden" name="o" value="<?php echo $origin;?>" />
                                        <input type="hidden" name="d" value="<?php echo $destination;?>" />
                                        <input type="hidden" name="pickup_date" value="<?php echo $pickup_date;?>" />
                                        <input type="hidden" name="pickup_time" value="<?php echo $pickup_time;?>" />
                                        <input type="hidden" name="cartype" value="<?php echo $cab_type;?>" />
                                        <input type="hidden" name="distance" value="<?php echo $distance;?>" />
                                        <input type="hidden" name="time" value="<?php echo $time;?>" />
                                        <input type="hidden" name="rate" id="rate" value="<?php echo $rate;?>"/>
                                        <input type="hidden" name="trip_type" value="<?=$trip?>"/>
                                        <input type="hidden" name="lat" value="<?=$lat?>"/>
                                        <input type="hidden" name="long" value="<?=$long?>"/>
                                        <input type="hidden" name="lat_from" value="<?=$lat_from?>"/>
                                        <input type="hidden" name="long_from" value="<?=$long_from?>"/>
                                        <input type="hidden" name="extra_km" value="<?=$extra_km?>"/>
                                        <input type="hidden" name="toll_tax" value="1"/>
                                        <input type="hidden" name="state_tax" value="1"/>
                                        <input type="hidden" name="parking" value="1"/>

                                        <input required type="text" class="form-control " placeholder="Your Name" name="cust_name">
                                        <input required type="email" class="form-control mt-3" placeholder="Your Email" name="cust_email">
                                        <input required type="tel" pattern="[1-9]{1}[0-9]{9}" maxlength="10" title="Phone Number Must Be 10 Digit" class="form-control mt-3" placeholder="Your Mobile No." name="cust_mob" value="<?php echo $mobile; ?>">
                                        <input required type="text" class="form-control mt-3" placeholder="Your pick Up Address" id="autocomplete3" name="cust_add">

                                        <?php if ($profile_data['gst_status']==1) { ?>
                                          <div class="box billing-box">
                                            <h4>Billing Information</h4>
                                            <label>Billing Name (if other than above)</label>
                                            <input type="text" class="form-control" placeholder="Billing Name" name="billing_name" style="background:#fff!important;">

                                            <label class="mt-3">GST (if any)</label>
                                            <input type="text" class="form-control" placeholder="GST Number" name="gst_no" style="background:#fff!important;">
                                            <p class="text-justify mt-2">*Billing information can not be modified later.</p>
                                        </div>
                                    <?php } ?>

                                    <div class="label mt-3 px-3">Add On Service (Optional)</div>
                                    <ul class="list-group">
                                      <?php while($amenity = mysqli_fetch_array($amenities)){ ?>
                                        <li class="list-group-item border-0 d-flex align-items-center">
                                          <input type="checkbox" name="amenities[]" id="amenities<?=$amenity['id']?>" price="<?=$amenity['price']?>" value="<?=$amenity['id']?>" onclick="amenities_price(<?=$amenity['id']?>)"> <span class="pl-2"><?=$amenity['note']?> <?=$amenity['price']?></span>
                                      </li>
                                  <?php } ?>
                              </ul>
                              <div class="fare-breakup">
                                  <ul>
                                    <li>
                                      <h4>Total Amount</h4>
                                      <p>inc. of taxes</p>
                                  </li>
                                  <li>
                                      <h3>₹ <span class="total_price"><?php echo $rate;?></span></h3>
                                      <div class="pop-div">
                                        <a id="poplink" href="javascript:void(0);">Fare Breakup</a>
                                        <div class="gst-box">
                                          <div class="pop-title">Base Fare <span><?php echo $base_rate;?></span></div>
                                          <?php if ($profile_data['gst_status']==1) { ?>
                                            <div class="pop-title">GST <span><?php echo $gst;?></span></div>
                                        <?php } ?>
                                    </div>
                                </div>

                            </li>
                        </ul>
                    </div>


                    <ul class="list-group mt-3">
                      <li class="list-group-item border-0 d-flex align-items-center" style="background-color:#F2F9FF;
                      ">
                      <input type="checkbox" name="checkbox" checked required> <small class="pl-2">I agree with <a href="terms-and-conditions.php" target="_blank">Terms of Use</a> & <a href="refund-policy.php" target="_blank">Cancellation Policy</a> of this service.</small>
                  </li>
                  <li class="list-group-item border-0 d-flex justify-content-between align-items-center mt-3" style="background-color:#F2F9FF;">
                      <input type="radio" id="click" name="amount" class="amount_20" value="<?php echo $amount;?>" checked style="width: 6%;height: 20px;"><span style="padding-right: 70px;color: gray;">Pay 20%</span>
                      <span class="text-dark font-weight-bold">₹ <span class="amount_text_20"><?php echo $amount;?></span></span>
                  </li>
                  <li class="list-group-item border-0 d-flex justify-content-between align-items-center mt-3" style="background-color:#F2F9FF;">
                      <input type="radio" id="click2" name="amount" class="full_amount" value="<?php echo $rate;?>" style="width: 6%;height: 20px;"><span style="padding-right: 70px;color: gray;">Full payment</span>
                      <span class="text-dark font-weight-bold">₹ <span id="full_pay" class="full_price"><?php echo $rate;?></span></span>
                  </li>
                  <li class="list-group-item border-0 d-flex justify-content-between align-items-center mt-3" style="background-color:#F2F9FF;">
                      <input type="hidden" name="ptype" id="ptype">
                      <input type="radio" id="cash_payment" name="amount" class="full_amount" value="<?php echo $rate;?>" style="width: 6%;height: 20px;"><span style="padding-right: 70px;color: gray;">Cash payment</span>
                      <span class="text-dark font-weight-bold">₹ <span id="full_pay" class="full_price"><?php echo $rate;?></span></span>
                  </li>

                  <div class="form-group col-12 p-0 m-0 text-center mt-4">
                      <input type="submit" class="btn btn-theme border-0 placeholder-font1 mt-auto py-2 px-5 mt-3 btn-search" name="buk-nw" style="background-color: #000;
                      color: #ffffff;
                      " value="Proceed" />
                  </div>
              </form>
          </div>
      </div>    
  </div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<style>
    .pac-container  {
        z-index: 10000 !important;
    }
</style>
<script src="https://maps.google.com/maps/api/js?key=<?=$google_key?>&libraries=places&callback=initAutocomplete" type="text/javascript"></script>
<script>
    function AutoCompleteapi() {
      var options = {
          types:'cities',
          componentRestrictions: {country: "ind"}
      };
      var input1 = document.getElementById('autocomplete3');
      new google.maps.places.Autocomplete(input1,options);
  }
  google.maps.event.addDomListener(window, 'load', AutoCompleteapi);
</script>
<?php include "include/footer.php" ?>

MMCT - 2023