G:
/
PleskVhosts
/
seeonsoft.com
/
hp.thefalconunited.com
/
up file
home
<?php session_start(); $empids = $_SESSION['empids']; include('config.php'); $vendor = $_POST['vendor']; $country = $_POST['country']; $governate = $_POST['governate']; $location = $_POST['location']; $category = $_POST['category']; $hotelname = strtoupper($_POST['hotelname']); $hoteladdr = $_POST['hoteladdr']; $hotelemail = $_POST['hotelemail']; $hotelphone = $_POST['hotelphone']; $hotelemails = $_POST['hotelemails']; $managername = $_POST['managername']; $managerphone = $_POST['managerphone']; $Website = $_POST['Website']; $accountno = $_POST['accountno']; $acname = $_POST['acname']; $bank = $_POST['bank']; $branch = $_POST['branch']; $SwiftCode = $_POST['SwiftCode']; date_default_timezone_set('Asia/Muscat'); $de = date('Y-m-d H:i:s'); $js->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); $sql = $js->prepare('INSERT INTO `hotelvendor` (`vendor`, `country`, `governate`, `location`, `category`, `hotelname`, `address`, `hotelemail`, `hotelphone`, `salesemail`, `managername`, `managerphone`, `website`, `accountno`, `accname`, `bankname`, `branch`, `swiftcode`, `addedby`, `added_at`) VALUES (:vendor, :country, :governate, :location, :category, :hotelname, :hoteladdr, :hotelemail, :hotelphone, :hotelemails, :managername, :managerphone, :Website, :accountno, :acname, :bank, :branch, :Swiftcode, :empids, :de)'); $status = $sql->execute(array(':vendor' => $vendor, ':country' => $country, ':governate' => $governate, ':location' => $location, ':category' => $category, ':hotelname' => $hotelname, ':hoteladdr' => $hoteladdr, ':hotelemail' => $hotelemail, ':hotelphone' => $hotelphone, ':hotelemails' => $hotelemails, ':managername' => $managername, ':managerphone' => $managerphone, ':Website' => $Website, ':accountno' => $accountno, ':acname' => $acname, ':bank' => $bank, ':branch' => $branch, ':Swiftcode' => $SwiftCode, ':de' => $de, ':empids' => $empids)); require("PHPMailer/class.phpmailer.php"); require("PHPMailer/class.smtp.php"); require("language/phpmailer.lang-en.php"); $your_smtp = "relay-hosting.secureserver.net"; $your_smtp_user = "support@thefalconexpeditions.com"; $your_smtp_pass = "Falcon@1234"; $mail = new PHPmailer(); $mail->From = 'support@thefalconexpeditions.com'; $mail->FromName = 'Sales - The Falcon Expeditions'; $mail->Host = $your_smtp; //$mail->Mailer = "smtp"; $mail->Port = 25; $mail->SMTPAuth = false; $mail->SMTPSecure = false; $mail->IsHTML(true); $mail->Password = $your_smtp_pass; $mail->Username = $your_smtp_user; $mail->AddAddress($hotelemails, $managername); if($hotelemail != ' ') { $mail->AddCC($hotelemail, $hotelname); } $mail->AddBCC('support@thefalconexpeditions.com', 'Sales - The Falcon Expeditions'); $mail->AddCC('reservations@thefalconexpeditions.com', 'Reservations - The Falcon Expeditions'); $mail->AddCC('james@thefalconexpeditions.com', 'James - The Falcon Expeditions'); $mail->AddCC('khalid@thefalconexpeditions.com', 'Khalid - The Falcon Expeditions'); $mail->AddBCC('seeonsoft@gmail.com', 'The Falcon Expeditions'); $mail->AddEmbeddedImage('images/logodmc.png', 'logo'); $mail->Subject = "Confidential Special Rates"; $comments = " <html> <head><link rel='stylesheet' href='https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css'></head> <body style='color:#0B5394;'> Manager <br> $hotelname - $location <br><br> <div align='justify'> Warm Greetings from The Falcon Expeditions ! <br><br> We, Falcon Expeditions Trade LLC, a registered tourism company under the Laws of the Sultanate of Oman with a valid license from the Ministry of Heritage and Tourism to offer to cater for tourism services. Our services comprise handling inbound and domestic tours, focusing on tailor-made family vacation packages, leisure tours, honeymoon packages, adventure trips, corporate incentive tours and conferences. <br><br> We would like to be your partner and would like you to furnish us with your contracted rates for FIT and Groups along with brochures and posters of your lovely hotel, so that we can promote your hotel locally and overseas. <br><br> </div> You can visit our website <a href='https://thefalconexpeditions.com' target='_blank'> www.thefalconexpeditions.com </a> to find out more about our company and our areas of specialization. <br><br> <div align='justify'> Assuring you with maximum room nights and at its best and wishing you a good season ahead. <br><br> Thanking you in anticipation and expecting the best possible contract rates. <br><br> <br><br> </div> Warm Regards, <br><br> Khalid Saif Ali Al Sulti <br> Director - Business Development <br><br> FALCON EXPEDITIONS TRADE LLC. <br> Po Box: 102 , Postal Code: 114 <br> Muscat, Sultanate of Oman <br> Contact: + 968 7719 0959 | 941 55255 <br> Email: support@thefalconexpeditions.com | www.thefalconexpeditions.com <br> </body> </html>"; // To send HTML mail, the Content-type header must be set $headers[] = 'MIME-Version: 1.0'; $headers[] = 'Content-type: text/html; charset=iso-8859-1'; $subject = 'Confidential Special Rates'; $to = $hotelemailS; // Additional headers $headers[] = 'To: '.$hotelemails.' <'.$managername.'>'; $headers[] = 'From: Sales - The Falcon Expeditions <support@thefalconexpeditions.com>'; $headers[] = 'Cc: james@thefalconexpeditions.com'; $headers[] = 'BCc: reservations@thefalconexpeditions.com'; // Mail it mail($to, $subject, $comments, implode("\r\n", $headers)); ?> <script type="text/javascript"> alert("Have send mail successfully !! "); window.location = 'add_newvendor.php'; </script>