hjkhhjhjol;io;ioio;ioiio;ioreererereio;;iooi;i;o;oii;o;ioo;iio;oi;
bnmbnmbnmnbmbio;io;irererereeo;o;oi;;oi;oioi;oi;oio;;oovn
/
home
/
u174022924
/
domains
/
rockonwheelstravels.in
/
public_html
/
Upload FileeE
HOME
<?php include("config.php"); date_default_timezone_set("Asia/Kolkata"); $id=$_GET['id']; $sql="SELECT time_stamp FROM bookings_enquiry WHERE id='$id'"; $result=$db->query($sql); while($res = mysqli_fetch_array($result)) { $timestamp=$res['time_stamp']; } $date=date_create($timestamp); date_add($date,date_interval_create_from_date_string("2 days")); $time_stamp=date_format($date,"Y-m-d H:i:s"); $currentdate=date('Y-m-d H:i:s'); if ($time_stamp<=$currentdate) { echo "<body style='background:url(https://lolocab.in/images/oopss.jpg) no-repeat;background-size:cover'></body>"; }else{ $q="select *,bookings_enquiry.price as amount, bookings_enquiry.id as bk_id from bookings_enquiry INNER JOIN users ON users.id=bookings_enquiry.user_id INNER JOIN cab_types ON cab_types.type=bookings_enquiry.cab_type where bookings_enquiry.id='".$id."'"; $result=$db->query($q); while($res = mysqli_fetch_array($result)) { $data=$res; $bk=$data['bk_id']; $total_price=$data['amount']; $name=$data['name']; $email=$data['email']; $contact=$data['contact']; ?> <?php include "include/header.php"; ?> <head> <title>Booking | LoloCab</title> <meta name="description" content="" /> <meta name="keywords" content="" /> </head> <section class="inner-banner"> <div class="container"> <h2> Car Rental </h2> </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 text-white secondPageSearchBarA navbar-collapse head2-remove tab-content" id="secondPageSearchBarid" style="margin-bottom: -15px;"> <style> ul.breadcrumb { padding: 0px; list-style: none; background-color: transparent; } ul.breadcrumb li { display: inline; font-size: 16px; } ul.breadcrumb li+li:before { padding: 0px; color: white; content: "/\00a0"; } ul.breadcrumb li a { color: #0275d8; text-decoration: none; } ul.breadcrumb li a:hover { color: #01447e; text-decoration: underline; } .bg-secPageNavForm { background: #000!important; } .bg-lighttrans{ background-color: #000!important; } </style> <div class="tab-pane container active" id="rental"> <div class="form-group mt-2 mb-2 pl-2 bg-lighttrans col-12 col-sm-12"> <div class="bg-transparent border-0 pl-0 f-mFormIB"> <ul class="breadcrumb"> <li><a href="./" style="color:white !important;">Home </a></li> <li style="color:white !important;">Select Car</li> <li style="color:#fff !important; font-weight:bold !important;"> Booking </li> </ul> </div> </div> </div> </div> </div> </div> <div class="container mt-5"> <div class="row"> <div class="col-md-7 col-12"> <div class="row mb-3"> <div class="col-md-6"> <img src="admin/<?php echo $data['img']; ?>" class="img-fluid"> <div class="row"> <div class="col-md-6 col-6"> <h4 class="text-center mt-2" style="color: #dc9f00;font-weight: 600">₹ <?php echo $total_price; ?> </h4> </div> <div class="col-md-6 col-6"> <h4 class="text-center mt-2" style="color: #dc9f00;font-weight: 600"><i class="fa fa-road 2x" style="font-size: 18px"></i> <?php echo $data['distance']; ?> Km</h4> </div> </div> </div> <div class="col-md-6"> <h3 class="text-center" style="font-weight: 600;color: #000;"><?php echo $data['cab_type'] ?></h3> <div class="detail mt-3 text-center"> <span class="list"> <span><?php echo $data['similar_cars']; ?></span> <img src="images/car-seat.png"> </span> <span class="list "> <span><?php echo $data['ac'] ?></span> <img src="images/car.png"> </span> <span class="list"> <span><?php echo $data['luggage'] ?></span> <img src="images/travel-luggage.png"> </span> </div> <div class="row mt-1"> <div class="col-md-12"> <div id="tax_top text-left" class="pl-3"> <div class="include_tax"><strong style="color: #dc9f00;">From :</strong> <?php echo $data['booking_from'] ?></div> <div class="include_tax"><strong style="color: #dc9f00;">To :</strong> <?php echo $data['booking_to'] ?></div> <div class="include_tax"><strong style="color: #dc9f00;">Trip Type :</strong> <?php echo $data['trip_type'] ?></div> <div class="include_tax"><strong style="color: #dc9f00;">Pickup Date :</strong> <?php echo $data['pickup_date'] ?></div> <div class="include_tax"><strong style="color: #dc9f00;">Pickup Time :</strong> <?php echo $data['pickup_time'] ?></div> </div> </div> </div></div> <!-- <div class="row mt-4" id="safety"> <h4 class="mx-auto mb-4" style="color: #000;font-weight: 600"><span class="text-warning">Your</span>Safety First Secure And Hygenic Ride</h4> <div class="col-md-6"> <p><img src="images/favicon/taxi-driver.png"> Drivers With Mask</p> <p><img src="images/favicon/hand-sanitizer.png"> Hand Sanitizers</p> </div> <div class="col-md-6"> <p><img src="images/favicon/car.png"> Sanitized Cabs</p> <p><img src="images/favicon/heart.png"> Drivers With Arogya Setu App</p> </div> </div> --> </div> <div class="card"> <div class="card-header" style=" background: #dc9f00;color: #fff;"> Payment & Pickup Details</div> <div class="card-body"> <div class="container"> <form action="confirmrazorpay.php" method="post"> <input type="hidden" name="cab_cat_id" value="<?php echo $data['cab_type']; ?>" /> <input type="hidden" name="o" value="<?php echo $data['booking_from']; ?>" /> <input type="hidden" name="d" value="<?php echo $data['booking_to']; ?>" /> <input type="hidden" name="cust_add" value="<?php echo $data['pickup_address']; ?>" /> <input type="hidden" name="drop_address" value="<?php echo $data['drop_address']; ?>" /> <input type="hidden" name="pickup_date" value="<?php echo $data['pickup_date']; ?>" /> <input type="hidden" name="drop_date" value="<?php echo $data['drop_date']; ?>" /> <input type="hidden" name="pickup_time" value="<?php echo $data['pickup_time']; ?>" /> <input type="hidden" name="distance" value="<?php echo $data['distance']; ?>" /> <!-- <input type="hidden" name="time" value="<?php echo $time; ?>" /> --> <input type="hidden" name="rate" value="<?php echo $total_price; ?>" /> <input type="hidden" name="cust_name" value="<?php echo $data['name']; ?>" /> <input type="hidden" name="cust_email" value="<?php echo $data['email']; ?>" /> <input type="hidden" name="cust_mob" value="<?php echo $data['contact']; ?>" /> <!-- <input type="hidden" name="cust_add" value="<?php echo $cust_add; ?>" /> --> <input type="hidden" name="trip_type" value="<?php echo $data['trip_type']; ?>" /> <input type="hidden" name="toll_tax" value="<?php echo $data['toll_tax']; ?>" /> <input type="hidden" name="state_tax" value="<?php echo $data['state_tax']; ?>" /> <input type="hidden" name="latto" value="<?php echo $data['latitude_to']; ?>" /> <input type="hidden" name="longto" value="<?php echo $data['longitude_to']; ?>" /> <input type="hidden" name="lat_from" value="<?php echo $data['latitude_from']; ?>" /> <input type="hidden" name="long_from" value="<?php echo $data['longitude_from']; ?>" /> <input type="hidden" name="luggage" value="<?php echo $data['luggage']; ?>" /> <style> .h3-m{ margin-left:45px; } .p-m{ margin-left: margin-top; margin-top: 30px; margin-left: -75px; color: #dc9f00 !important; } input[type=radio] { box-sizing: border-box; padding: 0; width: 15px; height: 15px; margin-top: 25px; } @media only screen and (max-width: 600px) { .h3-m{ margin-left:13px; } .p-m{ margin-top: 30px; margin-left: -68px; font-size: 15px; } input[type=radio] { box-sizing: border-box; padding: 0; width: 12px; height: 12px; margin-top: 20px; } } </style> <div class="row"> <div class="col-1"> </div> <div class="btn2 col-12 col-md-4"> <?php $pay=$total_price*20/100; ?> <div class="row"> <div class="col-md-2 col-2 text-center"> <input required checked type="radio" class="ml-2" id="<?php echo $price; ?>" name="amount" value="<?php echo $pay; ?>"> </div> <div class="col-md-10 col-10 text-center"> <h3 class="">20% </h3><p style="color: #dc9f00 !important">₹<?php echo $pay; ?>now</p> </div> </div> </div> <div class="col-2"> </div> <div class="btn2 col-12 col-md-4"> <div class="row"> <div class="col-md-2 col-2 text-center"> <input required type="radio" class="ml-2" id="<?php echo $total_price; ?>" name="amount" value="<?php echo $total_price; ?>"> </div> <div class="col-md-10 col-10 text-center"> <h3 class="">Full Payment </h3><p style="color: #dc9f00 !important">₹<?php echo $total_price; ?>now</p></div> </div> </div> <div class="col-1"> </div> </div> <div class="row"> <div class="col-md-3"></div> <div class="col-md-6"> <input class="btn3 mx-auto w-100" style="color:white;" type="submit" class="btn" value="Pay Now"/> </div> <div class="col-md-3"></div> </div> </form> </div> <style> .btn2 { border: none; outline: none; padding: 5px ; background-color: #efefef; border:1px solid black; cursor: pointer; font-size: 18px; color:black; margin-bottom: 30px; } .btn3 { border: none; outline: none; padding: 5px; background-color: #dc9f00; border:1px solid white; cursor: pointer; font-size: 18px; margin-bottom: 30px; } </style> <script> var header = document.getElementById("myDIV"); var btns = header.getElementsByClassName("btn"); for (var i = 0; i < btns.length; i++) { btns[i].addEventListener("click", function() { var current = document.getElementsByClassName("active"); if (current.length > 0) { current[0].className = current[0].className.replace(" active", ""); } this.className += " active"; }); } </script> <!--ends--> </div> </div> </div> <div class="col-md-5 col-12"> <div class="card"> <div class="card-header p-0 text-center" style="font-weight: bold; background: #dc9f00;color: #fff;">Drivers & Cab Details</div> <div class="card-body"> <div _ngcontent-c27="" class="row savaari-impression-images-section contentLayer"> <div class=col-8> <h4 style="color: #000;font-weight: 600">Rating & Reviews</h4> <p>Based on 13 aggregated ratings of the supplier for this vehicle category</p> </div> <div class=col-4> <h3 style="font-size: 15px"><span class="badge badge-success" style="font-size: 15px">4.1/5</span> 13 Ratings</h3> </div> <div class="col-md-6 mt-3"> <div class="row pl-2"> <div class="col-md-7"> <strong style="color:#000;">Cab Rating</strong> </div> <div class="col-md-5"> <div class="circle" id="circle-a"> <strong class="progress_bar"></strong> </div> </div> </div> <div class="text-center" id="app"></div> </div> <div class="col-md-6 mt-3"> <div class="row"> <div class="col-md-7"> <strong style="color:#000;">Driver Rating</strong> </div> <div class="col-md-5"> <div class="circle" id="circle-a"> <strong class="progress_bar"></strong> </div> </div> </div> </div> </div> <div class="card-header p-0 driver_detail" style=" color: #dc9f00; font-weight: bold;"> <p>Cab and driver details will be shared up to 2 hours prior to departure.</p> </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; } .tablink { width: 50%!important; } .circle { width: 100px; display: inline-block; position: relative; text-align: center; vertical-align: top; } .progress_bar { display: none; position: absolute; top: 70px; left: 0; width: 100%; text-align: center; line-height: 45px; font-size: 43px; } } </style> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </div> <script src="https://maps.google.com/maps/api/js?key=AIzaSyAsZG3qrY25FooRhY9G41wDfeO1l6gZLgU&libraries=places&callback=initAutocomplete" type="text/javascript"></script> <script> google.maps.event.addDomListener(window, 'load', initialize); function initialize() { var input = document.getElementById('autocomplete'); var autocomplete = new google.maps.places.Autocomplete(input); var input = document.getElementById('autocomplete2'); var autocomplete2 = new google.maps.places.Autocomplete(input); var input = document.getElementById('autocomplete3'); var autocomplete3 = new google.maps.places.Autocomplete(input); } </script> <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-circle-progress/1.1.3/circle-progress.min.js"></script> <script type="text/javascript"> var progressBarOptions = { startAngle: -1.55, size: 30, value: 0.75, fill: { color: '#28a745' } } $('.circle').circleProgress(progressBarOptions).on('circle-animation-progress', function(event, progress, stepValue) { $(this).find('strong').text(String(stepValue.toFixed(2)).substr(1)); }); </script> <?php include "include/footer.php" ?> <?php } } ?>