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/search-result.php
<?php
session_start();
?>
<?php include "include/header.php" ?>
<head>
    <title>One Way Car Rentals at Cheapest Cab Fare Rates | DixitCabs.com</title>
    <meta name="description" content="Make a booking for one way car rentals from Dixit Cabs at affordable fare deals. And get the fastest one way drop from one city to another with cheapest cab price." />
    <meta name="keywords" content="One Way Car Rental, One Way Taxi Booking, Cab Service for One Way, One Side Car Hire, One Way Taxi Services, One Way Car on Rent, Rent a Taxi for One Way, Corporate Cab Booking for One Way" />
</head>
<!-- /.site-header header-one -->
        <section class="inner-banner">
            <div class="container">
                <ul class="thm-breadcrumb">
                    <li><a href="index.php">Home</a></li>
                    <li><span class="sep">.</span></li>
                    <li><span class="page-title">Search Result</span></li>
                </ul><!-- /.thm-breadcrumb -->
                <!-- <h2>Search Result</h2> -->
            </div><!-- /.container -->
        </section><!-- /.inner-banner -->
        <?php 
include("include/config.php");
$result = mysqli_query($db, "SELECT * FROM cardetails");

?>
<div class="wrapperhead bg-head pb-1">
<div class="container-fluid head-out fixed-top sticky-top bg-white">

<!--modify form-->
<div class="secondPageSearchBar bg-secPageNavForm " style="margin-bottom:-15px!important;margin-left:-15px;margin-right:-15px;">
<div class="container-fluid" >
<div class="row text-white d-sm-none">
<div class="form-group bg-lighttrans mt-2 mb-2 pl-2 col-2 ">
<a  href="#" class="btn bg-transparent text-white" style="font-size:32px;font-weight: 800;border-color: rgba(255,255,255,.1);padding-top: 0px;padding-bottom: 10px;">&larr;</a>
</div>
<div class="form-group bg-lighttrans mt-2 mb-2 pl-2 col-7 ">
<p class="mb-0 p-b">Gurgaon</p>
<p class="mb-0">Outstation Oneway</p>
<p class="mb-0">20 Jan'20 - 10:03 PM</p>
</div>
<div class="form-group bg-lighttrans mt-2 mb-2 pl-2 col-3 navbar-dark float-right">
<button class="navbar-toggler pt-4 pb-4 text-white" type="button" data-toggle="collapse" data-target="#secondPageSearchBarid">
Modify
</button>
</div>
</div>

<div class="row text-white secondPageSearchBarA navbar-collapse head2-remove tab-content" id="secondPageSearchBarid" style="margin-bottom: -15px;">
<ul class="hmlist list-inline col-12 col-sm-8 text-center  d-md-none nav nav-pills d-block" style="box-shadow: none;" role="tablist">
<li class="list-inline-item nav-item">
<a class="border font-weight-bolder  p-0 pt-sm-3 rounded text-dark p-b border-blue bg-white " data-toggle="pill" href="#transfer">
<div class="bt-transfer"></div> <br>
<span data-toggle="tooltip" data-placement="top" title="Local Transfer">Transfer</span>
</a>
</li>
<li class="list-inline-item nav-item ">
<a class=" border font-weight-bolder p-0 pt-sm-3 rounded text-dark p-b border-blue bg-white " data-toggle="pill" href="#rental" >
<div class="bt-rental"></div> <br>
<span data-toggle="tooltip" data-placement="top" title="Local Rental">Rental</span>
</a>
</li>
<li class="list-inline-item nav-item">
<a class=" border font-weight-bolder text-nowrap p-0 pt-sm-3 rounded text-dark p-b border-blue bg-white active" data-toggle="pill" href="#oneway" >
<div class="bt-one-way"></div> <br>
<span data-toggle="tooltip" data-placement="top" title="Outstation One Way">One Way</span>
</a>
</li>
<li class="list-inline-item nav-item">
<a class=" border font-weight-bolder text-nowrap p-0 pt-sm-3 rounded text-dark p-b border-blue bg-white " data-toggle="pill" href="#round-trip">
<div class="bt-round-trip"></div><br>
<span data-toggle="tooltip" data-placement="top" title="Outstation Round Trip">Round Trip</span>
</a>
</li>
<li class="list-inline-item nav-item">
<a class=" border font-weight-bolder text-nowrap p-0 pt-sm-3 rounded text-dark p-b border-blue bg-white " data-toggle="pill" href="#road-trip">
<div class="bt-road-trip" data-toggle="tooltip" data-placement="top" title="Road Trip Tour Package"></div> <br>
<span>Road Trip</span>
</a>
</li>
</ul>
<?php
        $source = $_REQUEST['source_city'];
        $destination = $_REQUEST['destination_city'];
        $pickup = $_REQUEST ['pickup_date'];
        $source = str_replace(' ',  '', $source);
        $destination = str_replace(' ',  '', $destination);
        
?>
<!--transfer modify-->
<div class="tab-pane container-fluid  fade" id="transfer">
<form method="POST" action="#">
<div class="form-group mt-2 mb-2 pl-2 bg-lighttrans col-6 col-sm-3">
<label for="transfer_source" class="label-font text-colorSecPageNavFormLabel">Source City:</label></br>
<input type="text" class="form-control bg-transparent text-white border-0 pl-0 f-mFormIB" placeholder="Source City" value="Gurgaon" name="source_city" id="transfer_source">
</div>
<div class="form-group mt-2 mb-2 pl-2 bg-lighttrans col-6 col-sm-2">
<label for="transfer_type" class="label-font text-colorSecPageNavFormLabel pl-1 p-b">Trip Type:</label></br>
<select  class="form-control bg-transparent text-white border-0 p-0 f-mFormIB" name="transfer_type" id="transfer_type">
<option class="p-2 text-dark" value="2">To The Airport</option>
<option class="p-2 text-dark" value="1">From The Airport</option>
</select>
</div>
<div class="form-group mt-2 mb-2 pl-2 bg-lighttrans col-6 col-sm-3" id="transfer_drop_div">
<label for="transfer_drop" class="label-font text-colorSecPageNavFormLabel p-b">Drop Location:</label></br>
<input type="text" required="true" class="form-control bg-transparent text-white border-0 pl-0 f-mFormIB"  value=""  placeholder="Drop Location" name="drop_location" id="transfer_drop">
</div>
<div class="form-group mt-2 mb-2 pl-2 bg-lighttrans col-6 col-sm-3 d-none" id="transfer_pick_div">
<label for="transfer_pick" class="label-font text-colorSecPageNavFormLabel p-b">Pickup Location:</label></br>
<input type="text" class="form-control bg-transparent text-white border-0 pl-0 f-mFormIB"  value=""  placeholder="Pickup Location" name="pickup_location" id="transfer_pick">
</div>
<div class="form-group mt-2 mb-2 pl-2 bg-lighttrans col-6 col-sm-2">
<label for="transfer_date" class="label-font text-colorSecPageNavFormLabel p-b">Pickup Date:</label></br>
<input type="text" class="form-control bg-transparent text-white border-0 pl-0 f-mFormIB datepicker"  readonly="" value="20 Jan'20 - 10:03 PM"  placeholder="Pickup Date" name="pickup_date" id="transfer_date">
</div>
<div class="form-group mt-2 mb-2 col-12 col-sm-2 text-center">
<label for="secondPageTransferSearch" class="sr-only">Search:</label>
<input type="submit" name="btn_transfer" id="btn_transfer" class="btn  btn-search btn-theme border-0  pt-1 pb-1 pl-4 pr-4 pt-sm-2 pb-sm-2 pl-sm-5 pr-sm-5 my-0 my-md-3" style="font-size: 12px" value="MODIFY SEARCH"/>
</div>
</form>
</div>
<!--rental modify-->
<div class="tab-pane container-fluid  fade" id="rental">
<form method="POST" action="#">
<div class="form-group mt-2 mb-2 pl-2 bg-lighttrans col-12 col-sm-4">
<label for="rental_source" class="label-font text-colorSecPageNavFormLabel p-b">Source City:</label></br>
<input type="text" class="form-control bg-transparent text-white border-0 pl-0 f-mFormIB" required="" value="Gurgaon" placeholder="Source City" name="source_city" id="rental_source">
</div>
<div class="form-group mt-2 mb-2 pl-2 bg-lighttrans col-6 col-sm-3">
<label for="rental_package" class="label-font text-colorSecPageNavFormLabel pl-1 p-b">Trip Type:</label></br>
<select  class="form-control bg-transparent text-white border-0 p-0 f-mFormIB"  required="" name="package_type" id="rental_package">
<option class="p-2 text-dark" value="2">8Hrs/80Kms</option></select>
</div>
<div class="form-group mt-2 mb-2 pl-2 bg-lighttrans col-6 col-sm-3">
<label for="rental_pickupdate" class="label-font text-colorSecPageNavFormLabel p-b">Pick Up Date:</label></br>
<input type="text" readonly="true" class="form-control bg-transparent text-white border-0 pl-0 datepicker f-mFormIB" required="" value="20 Jan'20 - 10:03 PM" name="pickup_date" placeholder="Pick Up Date" id="rental_pickupdate">
</div>
<div class="form-group mt-2 mb-2 col-12 col-sm-2 text-center">
<label for="btn-rental" class="sr-only">Search:</label>
<input type="submit" name="btn_rental" id="btn-rental" class="btn  btn-search btn-theme border-0  pt-1 pb-1 pl-4 pr-4 pt-sm-2 pb-sm-2 pl-sm-5 pr-sm-5 my-0 my-md-3 " style="font-size: 12px" value="MODIFY SEARCH"/>
</div>
</form>
</div>
<!--One way modify-->
<div class="tab-pane container-fluid  active" id="oneway">
<form method="POST" action="#">
<div class="form-group mt-2 mb-2 pl-2 bg-lighttrans col-12 col-sm-4">
<label for="one-source" class="label-font text-colorSecPageNavFormLabel p-b">Source City:</label></br>
<input type="text" class="form-control bg-transparent text-white border-0 pl-0 f-mFormIB" required="" value="<?php echo $source; ?>" placeholder="Source City" name="source_city" id="one-source">
</div> 
<div class="form-group mt-2 mb-2 pl-2 bg-lighttrans col-12 col-sm-3">
<label for="one-destination" class="label-font text-colorSecPageNavFormLabel p-b">Destination City:</label></br>
<input type="text" class="form-control bg-transparent text-white border-0 pl-0 f-mFormIB" required="" value="<?php echo $destination; ?>" placeholder="Destination City" name="destination_city" id="one-destination">
</div>
<div class="form-group mt-2 mb-2 pl-2 bg-lighttrans col-12 col-sm-3">
<label for="oneway_pickupdate" class="label-font text-colorSecPageNavFormLabel p-b">Pickup Date:</label></br>
<input type="datetime-local"  class="form-control bg-transparent text-white border-0 pl-0 datepicker f-mFormIB" required="" value="<?php echo $pickup; ?>" name="pickup_date" placeholder="Pickup Date" id="oneway_pickupdate">
</div>
<div class="form-group mt-2 mb-2 col-12 col-sm-2 text-center">
<label for="btn-oneway" class="sr-only">Search:</label>
<input type="submit" name="btn_oneway" id="btn-oneway" class="btn  btn-search btn-theme border-0  pt-1 pb-1 pl-4 pr-4 pt-sm-2 pb-sm-2 pl-sm-5 pr-sm-5 my-0 my-md-3 " style="font-size: 12px;margin-top: 20px! important;margin-bottom: -25px;background-color: #61b134;color: #ffffff;border: 1px solid #fff;" value="MODIFY SEARCH"/>
</div>
</form>
</div>
<!--round multi city modify-->
<div class="tab-pane container-fluid   fade" id="round-trip">
<form class="" method="POST" action="#">
<div class="form-group mt-2 mb-2 pl-2 bg-lighttrans col-12 col-sm-2">
<label for="one-source" class="label-font text-colorSecPageNavFormLabel p-b">From:</label></br>
<input  type="text" required class="form-control bg-transparent text-white border-0 pl-0 f-mFormIB" value="Gurgaon" id="out_source" placeholder="Source City" name="source_city" >
</div>


<div class="form-group mt-2 mb-2 pl-2 bg-lighttrans col-12 col-sm-3">
<label for="one-destination" class="label-font text-colorSecPageNavFormLabel p-b"> To: </label></br>
<input type="text" required class="form-control bg-transparent text-white border-0 pl-0 f-mFormIB" value="" id="out_destination21" placeholder="Destination City" name="destination_city[]">
<span class="text-white destAddButton" style="font-size:14px; border-radius:12px; width:23px; height:23px;padding:0px 7px 0px;position:absolute;left:90%;top:55%;z-index: 1;background-color:#71f48f!important;cursor:pointer" onclick="addModify(this)"> + </span>
</div>


<div class="form-group mt-2 mb-2 pl-2 bg-lighttrans col-12 col-sm-2">
<label for="oneway_pickupdate" class="label-font text-colorSecPageNavFormLabel p-b">Pickup Date:</label></br>
<input type="text" required readonly class="form-control bg-transparent text-white border-0 pl-0 datepicker f-mFormIB"  value="20 Jan'20 - 10:03 PM" id="out_pick_date" name="pickup_date" placeholder="Pickup Date">
</div>
<div class="form-group mt-2 mb-2 pl-2 bg-lighttrans col-12 col-sm-3">
<label for="oneway_pickupdate" class="label-font text-colorSecPageNavFormLabel p-b">Drop Date:</label></br>
<input type="text" required readonly class="form-control bg-transparent text-white border-0 pl-0  f-mFormIB datepicker"  value="" id="out_drop_date" name="drop_date" placeholder="Drop Date">
</div>
<div class="form-group mt-2 mb-2 col-12 col-sm-2 text-center">
<label for="btn-oneway" class="sr-only">Search:</label>
<input type="submit" name="btn_oustation" id="" class="btn  btn-search btn-theme border-0  pt-1 pb-1 pl-4 pr-4 pt-sm-2 pb-sm-2 pl-sm-5 pr-sm-5 my-0 my-md-3 " style="font-size: 12px" value="MODIFY SEARCH"/>
</div>
</form>
</div>
<!--road trip modify-->
<div class="tab-pane container-fluid fade" id="road-trip">
<form method="POST" action="#">
<div class="form-group mt-2 mb-2 pl-2 bg-lighttrans col-12 col-sm-4">
<label for="roadtrip_source" class="label-font text-colorSecPageNavFormLabel p-b">Source City:</label></br>
<input type="text" name="source_city" id="roadtrip_source" class="form-control bg-transparent text-white border-0 pl-0 f-mFormIB" placeholder="Source City" value="Gurgaon">
</div>
<div class="form-group mt-2 mb-2 pl-2 bg-lighttrans col-12 col-sm-3">
<label for="trip_days" class="label-font text-colorSecPageNavFormLabel p-b">No Of Days</label></br>
<input type="number" required pattern="/^-?\d+\.?\d*$/" onKeyPress="if(this.value.length==2) return false;" name="no_of_days" class="form-control bg-transparent text-white border-0 pl-0 f-mFormIB" placeholder="No of Days" id="trip_days" value="">
</div>
<div class="form-group mt-2 mb-2 pl-2 bg-lighttrans col-12 col-sm-3">
<label for="trip_date" class="label-font text-colorSecPageNavFormLabel p-b">Pickup Date:</label></br>
<input type="text" readonly name="pickup_date" class="form-control bg-transparent text-white border-0 pl-0 datepicker f-mFormIB" placeholder="Pickup Date" id="trip_date" value="20 Jan'20 - 10:03 PM">
</div>
<div class="form-group mt-2 mb-2 col-12 col-sm-2 text-center">
<label for="btn-oneway" class="sr-only">Search:</label>
<input type="submit" name="btn_roadtrip" id="btn-roadtrip" class="btn  btn-search btn-theme border-0  pt-1 pb-1 pl-4 pr-4 pt-sm-2 pb-sm-2 pl-sm-5 pr-sm-5 my-0 my-md-3 " style="font-size: 12px" value="MODIFY SEARCH"/>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
</div>

<!--search form-->
<div class="secondpadeform bg-white" style="background: linear-gradient(40deg, #fbd544, #1030f6);">
<div class="container pt-5">
<div class="row pt-3 pb-3">
<div class="col- col-sm-12 rounded">
<?php 
while ($row = mysqli_fetch_array($result)) {
         
        $tkm = 50;
        $chr = $row['Charge'];
        $driall = $row['DriverAllowance'];
        $tgst = ($chr+$driall)/100*5%
        $total = $tkm * $chr + $driall;
        $ftotal = $total + $tgst + $driall;
?>
<form action="book-now.php" method="POST">
<div class="bg-white mb-4 rounded border" style="display:flow-root;">
<div class="col-8 col-sm-8 pl-3 pr-1 pl-sm-0 pr-sm-0">
<div class="col-5 col-sm-3" >
<?php echo "<img width='80%' height='auto' class='p-2 border border-0' src='uploads/".$row['image']."' alt='".$row['CarName']."'>"; ?>  
</div>
<div class="col-7 col-sm-9 p-1 pb-sm-0 pl-sm-3 pr-sm-3">
<div class="col col-sm-">
<p class="m-0 mfareFontS p-b text-primary"><?php echo $row['CarName']; ?><br>
<!-- <small class="m-0 mfareFontS text-muted p-b">(Sedan)</small> -->
</p>
</div>
<div class="col col-sm ">
<input type="hidden" name="car_id" value="660033463c286a235a5b0acf8b46ab4947d32d9efeb9656b2ada64bc6b422115ee48f814f7ad18b2019718b521442f0767c8d4cecb56f812e3bcf1a3b7c1136dkhuzyZP/rWChbd04unro/dVlYrAO1b8LdM+FJSJWCe4="/>
</div>
<div class="col col-sm">
<p class="m-0 head2-remove mfareFontS"><strong class="text-muted">Packages</strong>:Oneway</p>
</div>
</div>
<div class="col-12 col-sm-12 pl-1 pr-1 text-center mt-3">
<p class="m-0 mfareFontS "><strong class="float-left text-muted col-">Charged Distance: <small>
<?php echo $tkm; ?> Km 
</small></strong><b class="col- btn btn-sm bg-primary text-white rounded float-right dropdown-toggle mfareFontS" data-toggle="collapse" data-target="#fareDetails1" aria-expanded="false" aria-controls="collapseExample">&nbsp; Details</b></p>
</div>
</div>
<div class="col-4 col-sm-4 p-0 text-center bg-light">
<h3 class="m-0  p-b">&#8377;<?php echo $total; ?></h3>
<p class="m-2 mfareFontS small">Inc. GST & DA</p>
<button class="btn btn-sm btn-primary mt-0 mt-sm-3 mfareFontS" >Book Now</button>
</div>
<div class="collapse col-sm-12 border border-right-0 border-left-0 border-bottom-0 " id="fareDetails1">
<div class="card card-body border border-0 pt-0">
<!-- Nav pills -->
<ul class="nav nav-pills" role="tablist">
<li class="nav-item bg-light">
<a class="nav-link active mr-2" data-toggle="pill" href="#inclusion1">Fare Breakup</a>
</li>
<li class="nav-item bg-light">
<a class="nav-link mr-2" data-toggle="pill" href="#exclusion1">Exclusion</a>
</li>
<li class="nav-item bg-light">
<a class="nav-link mr-2" data-toggle="pill" href="#extraCharges1">Extra Charges</a>
</li>
<li class="nav-item bg-light">
<a class="nav-link" data-toggle="pill" href="#termsAndConditions1">Terms And Conditions</a>
</li>
</ul>
<!-- Tab panes -->
<div class="tab-content">
<div id="inclusion1" class="container tab-pane active pl-0 pr-0 pt-2">
<div class="col-6">
<table class="table table-borderless mfareFontS mfareFontST">
<tr>
<th>Rate/Km</th>
<td>Rs.<?php echo $tkm; ?>/Km</td>
</tr>
<tr>
<th>Minimum Km/Day </th>
<td><?php echo $tkm; ?>Km</td>
</tr>
<tr>
<th>Running Distance </th>
<td>42Km</td>
</tr>
<tr>
<th>Charged Distance </th>
<td><?php echo $tkm; ?>Km</td>
</tr>                                        
</table>
</div>
<div class="col-6">
<table class="table table-borderless mfareFontS mfareFontST">
<tr>
<th>Base Fare</th>
<td>Rs.<?php echo $total; ?></td>
</tr>
<tr>
<th>Driver Allowances</th>
<td>Rs.<?php echo $driall; ?></td>
</tr>
<tr>
<th>GST(5%)</th>
<td>Rs.<?php echo $tgst; ?></td>
</tr>
<tr class="bg-light font-weight-bold">
<th>Total Fare</th>
<td>Rs.<?php echo $ftotal; ?></td>
</tr>
</table>
</div>
</div>
<div id="exclusion1" class="container tab-pane fade pl-0 pr-0 pt-2">
<table class="table table-borderless mfareFontS mfareFontST">
<tr>
<th>Toll</th>
<th>Parking</th>
<th>State Permit</th>

</tr>
</table>
</div>
<div id="extraCharges1" class="container tab-pane fade pl-0 pr-0 pt-2">
<table class="table table-borderless mfareFontS mfareFontST">
<tr>
<th>Extra Km beyond 250</th><td> Rs.8.5/km</td>
</tr>
</table>
</div>
<div id="termsAndConditions1" class="container tab-pane fade pl-0 pr-0 termsAndConditions">
<p class="mfareFontS mfareFontST" style="font-size: 12px;">
 <li>One day means one calendar day (12 midnight to 12 midnight).</li> 
  <li>Kilometers and Hours will be calculated from garage to garage.</li> 
  <li>Toll, Parking , Inter State Permit etc. not include in the above cost, you have to pay extra as applicable.</li>
  <li>Extra km applicable after charged km</li> 
  <li>Extra driver allowance if cab used before 6:00AM and after 10:00PM</li></p>
</div>
</div>
</div>
</div>
</div>
</form>

<?php
}
?>
</div>
<div class=" col- col-sm-4 pl-4 pr-4 ">
<div class="sidebarOne bg-white mb-4 roundedbox" >

</div>
</div>
</div></div> 
<?php include "include/footer.php" ?>

MMCT - 2023