D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
buildteksolution
/
public_html
/
Filename :
contact.php
back
Copy
<?php include("superadmin/cn.php"); if(isset($_POST['submit'])){ $curdate= date('d-m-Y'); $ToEmail = 'info@buildteksolutions.com'; $EmailSubject = 'Contact 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 .= "Message: ".nl2br($_POST["message"]).("<br>"); $MESSAGE_BODY .= "Date: ".$curdate.("<br>"); mail($ToEmail, $EmailSubject, $MESSAGE_BODY, $mailheader) or die ("Failure"); $sql="INSERT INTO `contact`(`name`, `email`, `number`, `message`) VALUES ('".$_POST['name']."','".$_POST['email']."','".$_POST['number']."','".$_POST['message']."')"; $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 name="description" content=""> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <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/logos/favicon.png" type="image/x-icon"> <!-- Google Fonts --> <link href="https://fonts.googleapis.com/css2?family=Hind:wght@400;500&family=Poppins:wght@400;500;600&display=swap" rel="stylesheet"> <!-- Flaticon --> <link rel="stylesheet" href="assets/css/flaticon.min.css"> <!-- Font Awesome --> <link rel="stylesheet" href="assets/css/fontawesome-5.14.0.min.css"> <!-- Bootstrap --> <link rel="stylesheet" href="assets/css/bootstrap.min.css"> <!-- Magnific Popup --> <link rel="stylesheet" href="assets/css/magnific-popup.min.css"> <!-- Nice Select --> <link rel="stylesheet" href="assets/css/nice-select.min.css"> <!-- Animate --> <link rel="stylesheet" href="assets/css/aos.css"> <!-- Slick --> <link rel="stylesheet" href="assets/css/slick.min.css"> <!-- Main Style --> <link rel="stylesheet" href="assets/css/style.css"> </head> <body> <div class="page-wrapper"> <!-- Preloader --> <?php include("header.php"); ?> <!-- Page Banner Start --> <section class="page-banner-area overlay py-170 rpy-120 rel z-1 bgs-cover text-center" style="background-image: url(assets/images/background/banner-two.jpg);"> <div class="container"> <div class="banner-inner pt-70 rpt-50 text-white"> <h2 class="page-title" data-aos="fade-up" data-aos-duration="1500" data-aos-offset="50">Contact Us</h2> <nav aria-label="breadcrumb"> <ol class="breadcrumb justify-content-center" data-aos="fade-up" data-aos-delay="200" data-aos-duration="1500" data-aos-offset="50"> <li class="breadcrumb-item"><a href="index.php">Home</a></li> <li class="breadcrumb-item active">Contact</li> </ol> </nav> </div> </div> <div class="bg-lines for-black-bg"> <span></span><span></span> <span></span><span></span> </div> </section> <!-- Page Banner End --> <!-- Contact Area start --> <section class="contact-page-area pt-130 rpt-100 pb-115 rpb-85 rel z-1"> <div class="container"> <div class="row mb-95 align-items-center"> <div class="col-lg-5"> <div class="contact-page-content rmb-55" data-aos="fade-left" data-aos-duration="1500" data-aos-offset="50"> <div class="section-title mb-30"> <span class="sub-title mb-10">Get In Touch</span> <h2>Let’s Talk Support Engineer to Build Your Projects</h2> </div> <ul class="list pt-15"> <!--<li><i class="fal fa-map-marker-alt"></i> 55 Main Street, 2nd block Melbourne, Australia</li>--> <li><i class="fal fa-envelope"></i> <a href="mailto:info@buildteksolutions.com">info@buildteksolutions.com</a></li> <a href="callto:+91-9845478566"><i class="fal fa-phone"></i> +91-9845478566</a> <a href="callto:+91-9702742123"><i class="fal fa-phone"></i> +91-9702742123</a> </ul> </div> </div> <div class="col-lg-7" data-aos="fade-right" data-aos-duration="1500" data-aos-offset="50"> <div class="contact-page-form"> <h4>Send Us Message</h4> <form class="contactForm" action="" method="post"> <div class="row gap-20"> <div class="col-sm-6"> <div class="form-group"> <input type="text" name="name" class="form-control" value="" placeholder="Full Name" required > </div> </div> <div class="col-sm-6"> <div class="form-group"> <input type="text" name="number" class="form-control" value="" placeholder="Phone No" required id="numberInput" oninput="this.value = this.value.replace(/[^0-9]/g, '');" maxlength="10"> </div> </div> <div class="col-sm-12"> <div class="form-group"> <input type="email" name="email" class="form-control" value="" placeholder="Email Address" required > </div> </div> <div class="col-sm-12"> <div class="form-group"> <textarea name="message" class="form-control" rows="4" placeholder="Message" required ></textarea> </div> </div> <div class="col-sm-12"> <div class="form-group mb-0"> <button type="submit" class="theme-btn" name="submit">Send Message Us <i class="far fa-angle-double-right" ></i></button> </div> </div> </div> </form> </div> </div> </div> <div class="our-location" data-aos="fade-up" data-aos-duration="1500" data-aos-offset="50"> <iframe src="https://www.google.com/maps/embed?pb=!1m10!1m8!1m3!1d96777.16150026117!2d-74.00840582560909!3d40.71171357405996!3m2!1i1024!2i768!4f13.1!5e0!3m2!1sen!2sbd!4v1706508986625!5m2!1sen!2sbd" style="border:0; width: 100%;" allowfullscreen="" loading="lazy" referrerpolicy="no-referrer-when-downgrade"></iframe> </div> </div> <div class="bg-lines"> <span></span><span></span> <span></span><span></span> </div> </section> <!-- Contact Area end --> <!-- footer area start --> <?php include("footer.php"); ?> <!-- footer area end --> </div> <!--End pagewrapper--> <!-- Jquery --> <script src="assets/js/jquery-3.6.0.min.js"></script> <!-- Bootstrap --> <script src="assets/js/bootstrap.min.js"></script> <!-- Appear Js --> <script src="assets/js/appear.min.js"></script> <!-- Slick --> <script src="assets/js/slick.min.js"></script> <!-- Magnific Popup --> <script src="assets/js/jquery.magnific-popup.min.js"></script> <!-- Nice Select --> <script src="assets/js/jquery.nice-select.min.js"></script> <!-- Image Loader --> <script src="assets/js/imagesloaded.pkgd.min.js"></script> <!-- Circle Progress --> <script src="assets/js/circle-progress.min.js"></script> <!-- Skillbar --> <script src="assets/js/skill.bars.jquery.min.js"></script> <!-- Isotope --> <script src="assets/js/isotope.pkgd.min.js"></script> <!-- AOS Animation --> <script src="assets/js/aos.js"></script> <!-- Custom script --> <script src="assets/js/script.js"></script> <!-- For Contact Form --> <script src="assets/js/jquery.ajaxchimp.min.js"></script> <script src="assets/js/form-validator.min.js"></script> <script src="assets/js/contact-form-script.js"></script> </body> </html>