Server IP : 103.53.40.154 / Your IP : 18.222.182.249 Web Server : Apache System : Linux md-in-35.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 User : ppcad7no ( 715) PHP Version : 8.2.25 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0750) : /home2/ppcad7no/justpestcontrol.in/../usfoodsltd.com/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<?php include_once "admin/config.php"; if(isset($_POST['submit'])) { $name = $_POST['name']; $email = $_POST['email']; $message = $_POST['message']; $sql= "INSERT INTO `user_message` (`name`, `email`, `message`) VALUES ('{$name}','{$email}','{$message}')"; $result = mysqli_query($conn, $sql) or die("Query unsuccessful"); if($result){ echo ("<script> window.alert('Succesfully Send'); window.location.href='contact.php'; </script>"); mysqli_close($conn); }else{ echo "not Send Message"; } } ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Contact Us | U S Foods LTD</title> <link rel="canonical" href="https://www.usfoodsltd.com/contact.php" /> <meta name="description" content="Visit Us | Plot No. 8-9, National Highway, Delhi Road, Gajraula, J.P. Nagar, Uttar Pradesh, 244235 - India - +91-8355981990 | support@usfoodsltd.com"> <?php include "headlinks.php";?> <style> .location-item { background-color: #F4F7F6; padding: 40px 40px 30px 40px; border-radius: 10px; min-height: calc(100% - 30px); } .location-icon i { height: 80px; width: 80px; line-height: 80px; text-align: center; border-radius: 50%; font-size: 35px; color: #baebd6; background-color: #a86d40; display: inline-block; } .location-icon i::after { /* color:white */ } .location-area .location-title a{ /* font-size: 1.125rem; */ font-weight: 400; color: #3e1616c9; /* font-family: var(--font-Jost); */ /* display: inline-block; */ transition: .35s; /* text-align: start; */ } a { text-decoration: none; } .location-area .location-title a:hover{ color:black; font-weight: 500; } </style> </head> <body> <!-- header --> <?php include"header.php";?> <!-- slider --> <?php include "admin/config.php"; $sql = "SELECT * FROM contact_page"; $run = mysqli_query($conn,$sql) or die("Query Not Run"); while ($data = mysqli_fetch_assoc($run)){ if (mysqli_num_rows($run) > 0) { ?> <div class="breadcrumb-section" style="background-image: url(assets/images/create/bg.jpg);"> <div class="breadcrumb-left-vec"> <img src="assets/images/icon/breadcumb-left-vec.svg" alt="breadcumb-left-vec"> </div> <div class="breadcrumb-right-vec"> <img src="assets/images/icon/breadcumb-right-vec.svg" alt="breadcumb-right-vec"> </div> <div class="container"> <div class="row d-flex justify-content-center align-items-center"> <div class="col-lg-12"> <h2 class="breadcrumb-title">Contact</h2> <nav aria-label="breadcrumb"> <ol class="breadcrumb d-flex"> <li class="breadcrumb-item"><a href="index.php">Home</a></li> <li class="breadcrumb-item active" aria-current="page">Contact</li> </ol> </nav> </div> </div> </div> </div> <section class="location-area pt-80 "> <div class="container"> <div class="row"> <!--<div class="col-xl-4 col-md-6">--> <!-- <div class="location-item text-center mb-30">--> <!-- <div class="location-icon mb-25">--> <!-- <i class="fa fa-phone"></i>--> <!-- </div>--> <!-- <div class="location-content">--> <!-- <h5 class="location-title"><a href="tell:">**********</a></h5>--> <!-- <?php echo $data['phone'];?>--> <!-- </div>--> <!-- </div>--> <!--</div>--> <div class="col-xl-6 col-md-6"> <div class="location-item text-center mb-30"> <div class="location-icon mb-25"> <i class="fa fa-map-marker-alt" aria-hidden="true"></i> </div> <div class="location-content"> <h5 class="location-title"><a><?php echo $data['address'];?></a></h5> </div> </div> </div> <div class="col-xl-6 col-md-6"> <div class="location-item text-center mb-30"> <div class="location-icon mb-25"> <i class="fa fa-envelope"></i> </div> <div class="location-content"> <h5 class="location-title "><a href="mailto:'<?php echo $data['email'];?>'"><?php echo $data['email'];?></a></h5> </div> </div> </div> </div> </div> </section> <div class="container"> <div class="contact-form mb-60 mt-40"> <div class="row d-flex align-items-center justify-content-center mb-20"> <div class="col-lg-8"> <div class="section-title text-center"> <span><img class="left-vec" src="assets/images/icon/sub-title-vec.svg" alt="sub-title-vec">Contact Us<img class="right-vec" src="assets/images/icon/sub-title-vec.svg" alt="sub-title-vec"></span> <h2>Get In Touch</h2> </div> </div> </div> <div class="row justify-content-center"> <div class="col-lg-10"> <form action="<?php $_PHP_SELF ?>" method="POST"> <div class="row justify-content-center"> <div class="col-lg-6 col-md-6 mb-25"> <div class="form-inner"> <input type="text" placeholder="Name*" name="name"> </div> </div> <div class="col-lg-6 col-md-6 mb-25"> <div class="form-inner"> <input type="email" placeholder="Email*" name="email"> </div> </div> <div class="col-lg-12 mb-25"> <div class="form-inner"> <textarea placeholder="Message ..." name="message"></textarea> </div> </div> <div class="col-lg-6 col-md-6"> <div class="form-inner"> <button type="submit" name="submit">Send Message</button> </div> </div> </div> </form> </div> </div> </div> </div> <div class="container-fluid"> <div class="row"> <div class="col-12"> <iframe src="<?php echo $data['map'];?>" width="100%" height="450" style="border:0;" allowfullscreen="" loading="lazy" referrerpolicy="no-referrer-when-downgrade"></iframe> </div> </div> </div> <?php } }?> <!-- footer --> <?php include"footer.php";?> </body> </html>