ok
Direktori : /proc/thread-self/root/home2/selectio/www/sqarextechnologies.com/ |
Current File : //proc/thread-self/root/home2/selectio/www/sqarextechnologies.com/contact.php |
<?php include 'header1.php';?> <style> textarea, textarea.form-control { height: 100px; } </style> <?php if(isset($_POST['add_news'])){ try{ $name=$_POST['name']; $email = filter_var($_POST['email'], FILTER_SANITIZE_EMAIL); $phone=$_POST['number']; $message=$_POST['message']; $subject=$_POST['subject']; error_log($email); if (!filter_var($email, FILTER_VALIDATE_EMAIL)) { echo '<script>alert("Invalid email format")</script>'; exit; // Stop script execution } $to = "info@sqarextechnologies.com"; $header = ""; // $subject = "Reach Us"; $header .= "Subject : ".$subject."\r\n"; $header .= "Name : ".$name."\r\n"; $header .= "Email : ".$email."\r\n"; $header .= "Phone Number : ".$phone."\r\n"; $header .= "Message :".$message."\r\n"; $retval = mail ($to,$subject,$header); if( $retval == true ) { header("location: index.php"); echo '<script>alert("Thank you for reaching out! Your inquiry is important to us. Please wait patiently, and our dedicated team will get in touch with you within the next 24 hours. We appreciate your understanding and look forward to assisting you soon.")</script>'; }else{ echo '<script>alert("Message could not be sent...")</script>'; } }catch(Exception $e){ $error=$e; } } ?> <!-- page Header --> <div id="wptb-page-title-default"> <div class="wptb-page-title-default-bg" style="background-image:url(assets/img/background/bg-pagetitle.jpg)"></div> <div class="container"> <div class="row"> <div class="col-12"> <h1 class="wptb-page-title">Contact Us</h1> <ul class="wptb-breadcrumb"> <li><a class="breadcrumb-entry" href="index.php">Home</a></li> <li><span class="breadcrumb-entry">Contact Us</span></li> </ul> </div> </div> </div> <svg xmlns="http://www.w3.org/2000/svg" width="1920" height="99" viewBox="0 0 1920 99" fill="none"> <path class="svg-bg" d="M0 304.964V0.5L13 3.5L36.5 8.5L56 12.5L75 16.5L93 20L112 23.5L173.5 34L233 43.5L261.5 47.5L290.5 51.5L303 53.5L316 55L344.5 58.5L373 62L403 65.5L432 69L461.5 72L502.5 76L542.5 79.5L584.5 83L625 86L657 88L699 90.5L712 91.5L724.5 92L745.5 93L764.5 94L795.5 95L827 96.5L857.5 97L888.5 98L920.5 98.5L952.5 99H981H995.5H1010.5H1025.5H1040H1048.5L1064.5 98.5H1073.5L1095.5 98H1098.5L1130 97.5L1189 95.5L1250 92.5L1315.5 88.5L1348 86.5L1381 84L1458.5 77L1497 72.5L1536 68L1636 55L1686 47.5L1711 43L1735.5 38.5L1828 21L1920 0.5V304.964C1167.84 475.273 326.598 375.926 0 304.964Z" fill="#ffffff"></path> <path d="M0 0.388855V-289H1920V0.388855C1167.84 178.983 326.598 74.8031 0 0.388855Z" fill="transparent"></path> </svg> </div> <!-- Main Wrapper--> <main class="wrapper"> <section class="wptb-iconbox--contact pd-bottom-20"> <div class="container"> <div class="row"> <div class="col-xxl-10 offset-xxl-1"> <div class="row"> <div class="col-lg-6 col-md-6"> <div class="wptb-ci-wrap layout-1 relative wow fadeInUp"> <div class="ci-content-wrap"> <div class="ci-content"> <div class="ci-icon"> <img src="assets/img/contact/icon-1.svg" alt="img"> </div> <div class="ci-content-right"> <h4 class="ci-title">Office mail address</h4> <div class="ci-desc"><a href="mailto:"></a><br> <a href="mailto:info@sqarextechnologies.com">info@sqarextechnologies.com</a></div> </div> </div> </div> </div> </div> <!--<div class="col-lg-4 col-md-4">--> <!-- <div class="wptb-ci-wrap layout-1 relative wow fadeInUp">--> <!-- <div class="ci-content-wrap">--> <!-- <div class="ci-content">--> <!-- <div class="ci-icon">--> <!-- <img src="assets/img/contact/icon-2.svg" alt="img">--> <!-- </div>--> <!-- <div class="ci-content-right">--> <!-- <h4 class="ci-title">Call Us Anytime</h4>--> <!-- <div class="ci-desc"><a href="tel:+91 9874563211">(+91) 987-456-3211 </a><br> <a href="tel:+91 9874563210">(+91) 987-456-3210 </a></div>--> <!-- </div>--> <!-- </div>--> <!-- </div>--> <!-- </div>--> <!--</div>--> <div class="col-lg-6 col-md-6"> <div class="wptb-ci-wrap layout-1 relative wow fadeInUp"> <div class="ci-content-wrap"> <div class="ci-content"> <div class="ci-icon"> <img src="assets/img/contact/icon-3.svg" alt="img"> </div> <div class="ci-content-right"> <h4 class="ci-title">Visit Our Office</h4> <div class="ci-desc"><a href="#">247 Paseo Sonarisa, Walnut, <br>CA-91789, USA </a></div> </div> </div> </div> </div> </div> </div> </div> </div> </div> </section> <!-- Contact Form --> <section class="wptb-contact-wrapper style-2 overflow-hidden wow fadeInUp"> <div class="container"> <div class="row"> <div class="col-xxl-10 offset-xxl-1"> <div class="wptb-contact-inner"> <div class="wptb-particle--one"> <img src="assets/img/contact/contact02.png" alt=""> </div> <div class="wptb-particle--two"> <img src="assets/img/contact/contact01.png" alt=""> </div> <div class="wptb-contact-form-wrapper"> <div class="wptb-heading"> <div class="wptb-heading--inner text-center"> <div class="wptb-heading--subtitle light wow fadeInUp">Get In Touch</div> <h2 class="wptb-heading--title light wow fadeInUp">Fill the form to contact us</h2> </div> </div> <form class="contact-form light" method="post" action=""> <div class="row"> <div class="col-lg-6 mb-3"> <div class="form-group"> <label>Name</label> <input type="text" name="name" class="form-control" placeholder="Enter your full name" required style="height: 60px"> </div> </div> <div class="col-md-12 col-lg-6 mb-3"> <div class="form-group"> <label>Email</label> <input type="email" name="email" class="form-control" placeholder="Enter your email address" required style="height: 60px"> </div> </div> <div class="col-md-12 col-lg-6 mb-3"> <div class="form-group"> <label>Mobile Number</label> <input type="number" name="number" class="form-control" placeholder="Enter your number" required style="height: 60px"> </div> </div> <div class="col-md-12 col-lg-6 mb-3"> <div class="form-group"> <label>Subject</label> <input type="text" name="subject" class="form-control" placeholder="Enter the subject of your message" required style="height: 60px"> </div> </div> <div class="col-md-12 col-lg-12 mb-3"> <div class="form-group"> <label>Message</label> <textarea name="message" class="form-control" placeholder="Type your message here" required></textarea> </div> </div> <div class="col-md-12 col-lg-6"> <div class="btn-group w-100 text-center"> <button class="btn gradient-three w-100 text-center" name="add_news" type="submit">Submit <span class="btn-arrow-hover"><i class="bi bi-arrow-up-right"></i><i class="bi bi-arrow-up-right"></i></span></button> </div> </div> </div> </form> </div> <div class="wptb-particle--three"> <img src="assets/img/contact/contact03.png" alt=""> </div> </div> </div> </div> </div> </section> </main> <?php include 'footer1.php';?>