D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
travexx
/
www
/
Filename :
contact.php
back
Copy
<?php if(isset($_POST['submit'])){ $curdate= date('d-m-Y'); $ToEmail = 'info@travexx.in'; $EmailSubject = 'Enquiry Data'; $mailheader = "From: ".$_POST["email"]."\r\n"; $mailheader .= "Reply-To: ".$_POST["email"]."\r\n"; $mailheader .= "Content-type: text/html; charset=iso-8859-1\r\n"; $MESSAGE_BODY .= "Name: ".nl2br($_POST["name"]).("<br>"); $MESSAGE_BODY .= "Email: ".nl2br($_POST["email"]).("<br>"); $MESSAGE_BODY .= "Number: ".nl2br($_POST["number"]).("<br>"); $MESSAGE_BODY .= "Subject: ".nl2br($_POST["subject"]).("<br>"); $MESSAGE_BODY .= "Message: ".nl2br($_POST["message"]).("<br>"); $MESSAGE_BODY .= "Date: ".$curdate.("<br>"); mail($ToEmail, $EmailSubject, $MESSAGE_BODY, $mailheader) or die ("Failure"); // $sql="INSERT INTO `leads`(`name`, `email`, `number`, `city`, `service`, `date`) VALUES ('".$_POST['name']."','".$_POST['email']."','".$_POST['phone']."','".$_POST['city']."','".$_POST['service']."','".$curdate."')"; // $result=mysqli_query($con,$sql); echo "<script type='text/javascript'> location.href='thank-you.php'; </script>"; } ?> <!DOCTYPE html> <html lang="zxx"> <head> <!--====== Required meta tags ======--> <meta charset="utf-8"> <meta http-equiv="x-ua-compatible" content="ie=edge"> <meta name="description" content="Adventure, Tours, Travel"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <!--====== Title ======--> <title>Contact Us</title> <!--====== Favicon Icon ======--> <link rel="shortcut icon" href="assets/images/favicon.ico" type="image/png"> <!--====== Google Fonts ======--> <link href="../../css2?family=Prompt:wght@300;400;500;600;700;800&display=swap" rel="stylesheet"> <!--====== Flaticon css ======--> <link rel="stylesheet" href="assets/fonts/flaticon/flaticon_gowilds.css"> <!--====== FontAwesome css ======--> <link rel="stylesheet" href="assets/fonts/fontawesome/css/all.min.css"> <!--====== Bootstrap css ======--> <link rel="stylesheet" href="assets/vendor/bootstrap/css/bootstrap.min.css"> <!--====== magnific-popup css ======--> <link rel="stylesheet" href="assets/vendor/magnific-popup/dist/magnific-popup.css"> <!--====== Slick-popup css ======--> <link rel="stylesheet" href="assets/vendor/slick/slick.css"> <!--====== Jquery UI css ======--> <link rel="stylesheet" href="assets/vendor/jquery-ui/jquery-ui.min.css"> <!--====== Nice Select css ======--> <link rel="stylesheet" href="assets/vendor/nice-select/css/nice-select.css"> <!--====== Animate css ======--> <link rel="stylesheet" href="assets/vendor/animate.css"> <!--====== Default css ======--> <link rel="stylesheet" href="assets/css/default.css"> <!--====== Style css ======--> <link rel="stylesheet" href="assets/css/style.css"> </head> <body> <!--====== Start Preloader ======--> <div class="preloader"> <div class="loader"> <div class="pre-shadow"></div> <div class="pre-box"></div> </div> </div><!--====== End Preloader ======--> <!--====== Search From ======--> <div class="modal fade search-modal" id="search-modal"> <div class="modal-dialog modal-dialog-centered"> <div class="modal-content"> <form> <div class="form_group"> <input type="search" class="form_control" placeholder="Search here" name="search"> <label><i class="fa fa-search"></i></label> </div> </form> </div> </div> </div><!--====== Search From ======--> <!--====== Start Header ======--> <?php include("header.php"); ?> <!--====== End Header ======--> <!--====== Start Breadcrumb Section ======--> <section class="page-banner overlay pt-100 pb-100 bg_cover" style="background-image: url(assets/images/bg/page-bg.jpg);"> <div class="container"> <div class="row justify-content-center"> <div class="col-lg-10"> <div class="page-banner-content text-center text-white pt-30"> <h1 class="page-title">Contact Us</h1> <ul class="breadcrumb-link text-white"> <li><a href="index.php">Home</a></li> <li class="active">Contact Us</li> </ul> </div> </div> </div> </div> </section><!--====== End Breadcrumb Section ======--> <!--====== Start Info Section ======--> <section class="contact-info-section pt-100 pb-60"> <div class="container"> <div class="row justify-content-center"> <div class="col-xl-8"> <!--=== Section Title ===--> <div class="section-title text-center mb-45 wow fadeInDown"> <span class="sub-title">Contact Us</span> <h2>Ready to Get Our Best Services! Feel Free to Contact With Us</h2> </div> </div> </div> <div class="row justify-content-center"> <div class="col-lg-4 col-md-6 col-sm-12"> <!--=== Contact Info Item ===--> <div class="contact-info-item text-center mb-40 wow fadeInDown"> <div class="icon"> <img src="assets/images/icon/emailicon.png" alt="icon"> </div> <div class="info"> <span class="title">Email Address</span> <p><a href="mailto:info@travexx.in">info@travexx.in</a></p> </div> </div> </div> <div class="col-lg-4 col-md-6 col-sm-12"> <!--=== Contact Info Item ===--> <div class="contact-info-item text-center mb-40 wow fadeInUp"> <div class="icon"> <img src="assets/images/travel/callicon.png" alt="icon"> </div> <div class="info"> <span class="title">Call Us</span> <p><a href="tel:+917827436301">+91-7827436301</a></p> </div> </div> </div> <div class="col-lg-4 col-md-6 col-sm-12"> <!--=== Contact Info Item ===--> <div class="contact-info-item text-center mb-40 wow fadeInUp"> <div class="icon"> <img src="assets/images/whatsapp.png" alt="icon"> </div> <div class="info"> <span class="title">Whatsapp Us</span> <p><a href="https://wa.me/message/2TXLXOVFR4YJD1">+91-7827436301</a></p> </div> </div> </div> </div> </div> </section><!--====== End Info Section ======--> <!--====== Start Contact Map Section ======--> <!--====== Start Contact Section ======--> <section class="contact-section pb-100"> <div class="container"> <div class="row justify-content-center"> <div class="col-xl-6"> <div class="section-title text-center mb-50 wow fadeInDown"> <span class="sub-title">Get In Touch</span> <h2>Send Us Message</h2> </div> </div> </div> <div class="row justify-content-center"> <div class="col-lg-10"> <div class="contact-area wow fadeInUp"> <form class="contact-form" action="" method="post"> <div class="row"> <div class="col-lg-6"> <div class="form_group"> <input type="text" placeholder="Name" class="form_control" name="name" required="" pattern="[A-Za-z\s]+" title="Please enter only letters and spaces"> </div> </div> <div class="col-lg-6"> <div class="form_group"> <input type="text" placeholder="Phone Number" class="form_control" name="number" required="" pattern="[0-9]+" title="Please enter only numbers" maxlength="10"> </div> </div> <div class="col-lg-6"> <div class="form_group"> <input type="email" placeholder="Email Address" class="form_control" name="email" required=""> </div> </div> <div class="col-lg-6"> <div class="form_group"> <input type="text" placeholder="Subject" class="form_control" name="subject" required=""> </div> </div> <div class="col-lg-12"> <div class="form_group"> <textarea name="message" placeholder="Write Message" class="form_control" rows="6"></textarea> </div> </div> <div class="col-lg-12"> <div class="form_group text-center"> <button class="main-btn primary-btn" type="submit" name="submit">Send Us Message<i class="fas fa-paper-plane"></i></button> </div> </div> </div> </form> </div> </div> </div> </div> </section><!--====== End Contact Section ======--> <!--====== Start Gallery Section ======--> <section class="gallery-section mbm-150"> <div class="container-fluid"> <div class="slider-active-5-item wow fadeInUp"> <!--=== Single Gallery Item ===--> <div class="single-gallery-item"> <div class="gallery-img"> <img src="assets/images/gallery/1.jpg" alt="Gallery Image"> <div class="hover-overlay"> <a href="assets/images/gallery/1.jpg" class="icon-btn img-popup"><i class="far fa-plus"></i></a> </div> </div> </div> <!--=== Single Gallery Item ===--> <div class="single-gallery-item"> <div class="gallery-img"> <img src="assets/images/gallery/2.jpg" alt="Gallery Image"> <div class="hover-overlay"> <a href="assets/images/gallery/2.jpg" class="icon-btn img-popup"><i class="far fa-plus"></i></a> </div> </div> </div> <!--=== Single Gallery Item ===--> <div class="single-gallery-item"> <div class="gallery-img"> <img src="assets/images/gallery/3.jpg" alt="Gallery Image"> <div class="hover-overlay"> <a href="assets/images/gallery/3.jpg" class="icon-btn img-popup"><i class="far fa-plus"></i></a> </div> </div> </div> <!--=== Single Gallery Item ===--> <div class="single-gallery-item"> <div class="gallery-img"> <img src="assets/images/gallery/4.jpg" alt="Gallery Image"> <div class="hover-overlay"> <a href="assets/images/gallery/4.jpg" class="icon-btn img-popup"><i class="far fa-plus"></i></a> </div> </div> </div> <!--=== Single Gallery Item ===--> <div class="single-gallery-item"> <div class="gallery-img"> <img src="assets/images/gallery/5.jpg" alt="Gallery Image"> <div class="hover-overlay"> <a href="assets/images/gallery/5.jpg" class="icon-btn img-popup"><i class="far fa-plus"></i></a> </div> </div> </div> <!--=== Single Gallery Item ===--> <div class="single-gallery-item"> <div class="gallery-img"> <img src="assets/images/gallery/6.jpg" alt="Gallery Image"> <div class="hover-overlay"> <a href="assets/images/gallery/6.jpg" class="icon-btn img-popup"><i class="far fa-plus"></i></a> </div> </div> </div> </div> </div> </section><!--====== End Gallery Section ======--> <!--====== Start Footer ======--> <?php include("footer.php"); ?><!--====== End Footer ======--> <!--====== Back To Top ======--> <a href="#" class="back-to-top"><i class="far fa-angle-up"></i></a> <!--====== Jquery js ======--> <script data-cfasync="false" src="../../cdn-cgi/scripts/5c5dd728/cloudflare-static/email-decode.min.js"></script><script src="assets/vendor/jquery-3.6.0.min.js"></script> <!--====== Bootstrap js ======--> <script src="assets/vendor/popper/popper.min.js"></script> <!--====== Bootstrap js ======--> <script src="assets/vendor/bootstrap/js/bootstrap.min.js"></script> <!--====== Slick js ======--> <script src="assets/vendor/slick/slick.min.js"></script> <!--====== Magnific js ======--> <script src="assets/vendor/magnific-popup/dist/jquery.magnific-popup.min.js"></script> <!--====== Isotope js ======--> <script src="assets/vendor/isotope.min.js"></script> <!--====== Imagesloaded js ======--> <script src="assets/vendor/imagesloaded.min.js"></script> <!--====== Counterup js ======--> <script src="assets/vendor/jquery.counterup.min.js"></script> <!--====== Waypoints js ======--> <script src="assets/vendor/jquery.waypoints.js"></script> <!--====== Nice-select js ======--> <script src="assets/vendor/nice-select/js/jquery.nice-select.min.js"></script> <!--====== jquery UI js ======--> <script src="assets/vendor/jquery-ui/jquery-ui.min.js"></script> <!--====== WOW js ======--> <script src="assets/vendor/wow.min.js"></script> <!--====== Main js ======--> <script src="assets/js/theme.js"></script> </body> </html>