]]jkjjgdjffksdkdfdkfjgsldkfhgjkgjkhjkgjkdascxvxcvxcvjdklfgjslkdfgjlskdfgjdskfgj
במ12[aspddfsdfsdfdrxcvxcvcxvxcvxcvxcvxcvxcvxcvxcvxcvxxvxcvxcvxcv;'
/
home
/
themaxvo
/
public_html
/
Upload FileeE
HOME
<?php include_once('tour_admin/include/dhconnect.php');?> <!DOCTYPE html> <html lang="zxx"> <head> <title>The Max Voyage : Enquiry</title> <!-- Meta tag Keywords --> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta charset="UTF-8" /> <meta name="keywords" content="Travel Tours Responsive web template, Bootstrap Web Templates, Flat Web Templates, Android Compatible web template, Smartphone Compatible web template, free webdesigns for Nokia, Samsung, LG, SonyEricsson, Motorola web design" /> <script> addEventListener("load", function () { setTimeout(hideURLbar, 0); }, false); function hideURLbar() { window.scrollTo(0, 1); } </script> <!--// Meta tag Keywords --> <!-- Custom-Files --> <link rel="stylesheet" href="css/bootstrap.css"> <!-- Bootstrap-Core-CSS --> <link rel="stylesheet" href="css/style.css" type="text/css" media="all" /> <!-- Style-CSS --> <link href="css/font-awesome.css" rel="stylesheet"> <link href="img/tmv.jpg" rel="icon" type="image/icon"> <!-- Font-Awesome-Icons-CSS --> <!-- //Custom-Files --> <!-- Web-Fonts --> <link href="//fonts.googleapis.com/css?family=Pacifico&subset=cyrillic,latin-ext,vietnamese" rel="stylesheet"> <link href="//fonts.googleapis.com/css?family=Amaranth:400,400i,700,700i" rel="stylesheet"> <link href="//fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i,700,700i,800,800i" rel="stylesheet"> <!-- //Web-Fonts --> </head> <body> <!-- header --> <?php include_once('header.php');?> <!-- //header --> <!-- banner --> <div class="inner_banner_agile"> </div> <!--//banner --> <!-- short --> <div class="services-breadcrumb"> <div class="inner_breadcrumb"> <ul class="short_ls"> <li> <a href="index.php">Home</a> <span>/ /</span> </li> <li>Contact</li> </ul> </div> </div> <!-- //short--> <!-- //banner --> <!-- Contact --> <div class="contact"> <div class="container"> <h3 class="title">Write Your Enquiry</h3> <div class="contact-block-left"> <?php use PHPMailer\PHPMailer\PHPMailer; use PHPMailer\PHPMailer\Exception; require 'PHPMailer/src/Exception.php'; require 'PHPMailer/src/PHPMailer.php'; require 'PHPMailer/src/SMTP.php'; if(isset($_POST['submit'])!=null) { $ename=$_POST['ename']; $eemail=$_POST['eemail']; $emob=$_POST['emob']; $een=$_POST['eem']; //mail function start from here //Create an instance; passing `true` enables exceptions $mail = new PHPMailer(true); try { //Server settings //$mail->SMTPDebug = SMTP::DEBUG_SERVER; //Enable verbose debug output $mail->isSMTP(); //Send using SMTP $mail->SMTPSecure = 'tls'; $mail->Host = 'smtp.gmail.com'; //Set the SMTP server to send through $mail->SMTPAuth = true; //Enable SMTP authentication $mail->Username = 'khanshah170291@gmail.com'; //SMTP username $mail->Password = 'vrbqmhrdiejniksl'; //SMTP password $mail->SMTPSecure = PHPMailer::ENCRYPTION_SMTPS; //Enable implicit TLS encryption $mail->Port = 465; //TCP port to connect to; use 587 if you have set `SMTPSecure = PHPMailer::ENCRYPTION_STARTTLS` //Recipients $mail->setFrom('khanshah170291@gmail.com', 'Enquiry'); $mail->addAddress('khanshah170291@gmail.com', 'The Max Voyage Enquiry'); //Add a recipient /*$mail->addAddress('ellen@example.com'); //Name is optional $mail->addReplyTo('info@example.com', 'Information'); $mail->addCC('cc@example.com'); $mail->addBCC('bcc@example.com');*/ //Attachments // $mail->addAttachment('/var/tmp/file.tar.gz'); //Add attachments //$mail->addAttachment('/tmp/image.jpg', 'new.jpg'); //Optional name //Content $mail->isHTML(true); //Set email format to HTML $mail->Subject = 'Contact Us Enquiry'; $mail->Body = 'Enquiry Person Name :- '.$ename.'<br/>Enquiry Person Email :- '.$eemail.'<br/>Enquiry Person Mobile:- '.$emob.'<br/> Enquiry Message :- '.$een; $mail->AltBody = 'from Enquiry Page'; $mail->send(); echo "<script>alert('Enquiry has been sent. we will contact you soon !')</script>"; } catch (Exception $e) { echo "Message could not be sent. Mailer Error: {$mail->ErrorInfo}"; } //mail function start end here } ?> <form action="#" method="post"> <input type="text" placeholder="Name" required="" name="ename"> <input type="text" placeholder="Phone Number" required="" name="emob"> <input type="email" class="email" placeholder="Email" name="eemail" required=""> <textarea placeholder="Message" name="eem" required=""></textarea> <input type="submit" value="Submit" name="submit"> </form> </div> </div> </div> <!-- //Contact --> <br> <br> <br> <br> <!-- footer --> <?php include_once('footer.php');?> <!-- //footer --> <!-- Js files --> <!-- JavaScript --> <script src="js/jquery-2.2.3.min.js"></script> <!-- Default-JavaScript-File --> <script src="js/bootstrap.js"></script> <!-- Necessary-JavaScript-File-For-Bootstrap --> <!-- smooth scrolling --> <script src="js/SmoothScroll.min.js"></script> <!-- //smooth scrolling --> <!-- start-smoth-scrolling --> <script src="js/move-top.js"></script> <script src="js/easing.js"></script> <script> jQuery(document).ready(function ($) { $(".scroll").click(function (event) { event.preventDefault(); $('html,body').animate({ scrollTop: $(this.hash).offset().top }, 1000); }); }); </script> <!-- start-smoth-scrolling --> <!-- smooth scrolling-bottom-to-top --> <script> $(document).ready(function () { /* var defaults = { containerID: 'toTop', // fading element id containerHoverID: 'toTopHover', // fading element hover id scrollSpeed: 1200, easingType: 'linear' }; */ $().UItoTop({ easingType: 'easeOutQuart' }); }); </script> <a href="#" id="toTop" style="display: block;"> <span id="toTopHover" style="opacity: 1;"> </span> </a> <!-- //smooth scrolling-bottom-to-top --> <!-- //Js files --> </body> </html>