BLACKSITE
:
216.73.216.137
:
157.173.108.86 / pdclassessgnr.in
:
Linux server.madnetech.com 4.18.0-553.117.1.el8_10.x86_64 #1 SMP Sun Apr 5 23:14:32 EDT 2026 x86_64
:
/
home
/
balaji
/
public_html
/
Upload File:
files >> /home/balaji/public_html/contactus.php
<!doctype html> <html class="no-js" lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="x-ua-compatible" content="ie=edge"> <title>Contact Us - Balaji Nursery</title> <meta name="description" content=""> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="apple-touch-icon" href="img/apple-touch-icon.png"> <link rel="shortcut icon" type="image/x-icon" href="img/icon/favicon.ico"> <!-- Place favicon.ico in the root directory --> <!-- all css here --> <link rel="stylesheet" href="css/bootstrap.min.css"> <link rel="stylesheet" href="css/font-awesome.min.css"> <link rel="stylesheet" href="css/material-design-iconic-font.min.css"> <link rel="stylesheet" href="css/magnific-popup.css"> <link rel="stylesheet" href="css/venobox.css"> <link rel="stylesheet" href="css/meanmenu.min.css"> <link rel="stylesheet" href="css/shortcode/shortcodes.css"> <link rel="stylesheet" href="css/plugins.css"> <link rel="stylesheet" href="style.css"> <link rel="stylesheet" href="css/responsive.css"> <script src="js/vendor/modernizr-2.8.3.min.js"></script> </head> <body> <!--[if lt IE 8]> <p class="browserupgrade">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p> <![endif]--> <!-- Page Wraper Here Start --> <div class="page-wraper"> <?php include('header.php') ?> <?php if(isset($_POST['btn-save'])) { // variables for input data $name = $_POST['name']; $mobile = $_POST['mobile']; $product = $_POST['product']; $message = $_POST['message']; // variables for input data // sql query for inserting data into database $sql_query="INSERT INTO enquiry (`name`,`mobile`,`product`,`message`) VALUES('".$name."','".$mobile."','".$product."','".$message."')"; // sql query for inserting data into database // sql query execution function if(mysqli_query($con,$sql_query)) { ?> <script type="text/javascript"> alert('Message Sent Successfully '); window.location.href='index.php'; </script> <?php } else { ?> <script type="text/javascript"> alert('error occured while inserting your data'); </script> <?php } // sql query execution function } ?> <!-- page Content Start --> <div class="page-content"> <!-- Breadcamb Area Start --> <section class="breadcamb-area bg-8 ptb-170"> <div class="container"> <div class="row"> <div class="col-md-12"> <div class="bradcamb-content text-center text-white"> <h1>Contact Us</h1> <ul> <li><a href="index.php">Home <span>//</span> </a></li> <li>Contact Us</li> </ul> </div> </div> </div> </div> </section> <!-- Breadcamb Area End --> <!-- Google Map --> <div> <iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d911652.006578032!2d75.49926446562499!3d26.803649799999995!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x396dc1361942eeff%3A0x407554bf28bfd600!2sBALAJI%20NURSERY!5e0!3m2!1sen!2sin!4v1626015022135!5m2!1sen!2sin" width="100%" height="450" style="border:0;" allowfullscreen="" loading="lazy"></iframe> </div> <!-- Google Map --> <!-- Map Contact Address Start --> <div class="contact-address-area pb-100"> <div class="container"> <div class="row"> <div class="main-contact-address"> <!-- Contact Address Left Start --> <div class="contact-address-from bg-9 bg-overlay-4"> <div class="frequently-titel mb-70"> <h2>Get In Touch</h2> </div> <div class="quote-form-area"> <div class="row"> <form method="POST" action=""> <div class="col-md-12 col-sm-12 col-xs-12"> <div class="form-single"> <input name="name" required="" id="name" class="form-control" type="text" placeholder="Name"> </div> </div> <div class="col-md-12 col-sm-12 col-xs-12"> <div class="form-single"> <input name="mobile" required="" id="mobile" class="form-control" type="text" placeholder="Mobile No."> </div> </div> <div class="col-md-12 col-sm-12 col-xs-12"> <div class="form-single"> <select id="product" name="product" class="form-control" required=""> <option value="">Select Product</option> <?php $sql_query="SELECT * FROM products"; $result_set=mysqli_query($con,$sql_query); $i=1; while($row=mysqli_fetch_row($result_set)) { ?> <option value="<?php echo $row[1]; ?>" style="color:black;"><?php echo $row[1]; ?></option> <?php $i++; } ?> </select> </div> </div> <div class="col-md-12 col-sm-12 col-xs-12"> <div class="form-textarea"> <textarea name="message" required="" id="message" rows="4" class="form-control" placeholder="Message"></textarea> </div> </div> <div class="col-md-12 col-sm-12 col-xs-12"> <div class="form-button"> <button class="contact-submit" type="submit" name="btn-save">SUBMIT</button> </div> </div> </form> </div> </div> </div> <!-- Contact Address Left End --> <!-- Contact Address Right Start --> <?php $sql_query="SELECT * FROM contact"; $result_set=mysqli_query($con,$sql_query); $fetched_row=mysqli_fetch_array($result_set,MYSQLI_ASSOC); ?> <div class="contact-address"> <div class="address-info"> <ul> <li> <i class="zmdi zmdi-smartphone-android"></i> <h5>Mobile No.</h5> <p style="font-size:16px;"> <a href="Tel:<?php echo $fetched_row['mobile'] ?>"> <?php echo $fetched_row['mobile'] ?> </p> </li> <li> <i class="zmdi zmdi-smartphone-android"></i> <h5>Mobile No.</h5> <p style="font-size:16px;"> <a href="Tel:<?php echo $fetched_row['mobile2'] ?>"> <?php echo $fetched_row['mobile2'] ?> </p> </li> <li> <i class="fa fa-whatsapp"></i> <h5>Whatsapp us</h5> <p style="font-size:16px;"><a href="https://wa.me/<?php echo $fetched_row['whatsapp'] ?>/?text=Hello%20Balaji%20Nursery%20."><?php echo $fetched_row['whatsapp'] ?></a></p> </li> <li> <i class="zmdi zmdi-pin"></i> <h5>Our Address</h5> <p style="font-size:16px;"><?php echo $fetched_row['address'] ?></p> </li> </ul> </div> </div> <!-- Contact Address Right End --> </div> </div> </div> </div> <!-- Map Contact Address End --> </div> <!-- page Content End --> <?php include('footer.php') ?> </div> <!-- Page Wraper Here Start --> <!-- all js here --> <script src="js/vendor/jquery-1.12.4.min.js"></script> <script src="js/bootstrap.min.js"></script> <script src="js/jquery.ajaxchimp.min.js"></script> <script type="text/javascript" src="../maps/api/js"></script> <script type="text/javascript"> // When the window has finished loading create our google map below google.maps.event.addDomListener(window, 'load', init); function init() { var mapOptions = { // How zoomed in you want the map to start at (always required) zoom: 11, // The latitude and longitude to center the map (always required) center: new google.maps.LatLng(40.6700, -73.9400), // New York scrollwheel: false, // How you would like to style the map. styles: [{"featureType":"all","elementType":"labels.text.fill","stylers":[{"saturation":36},{"color":"#000000"},{"lightness":40}]},{"featureType":"all","elementType":"labels.text.stroke","stylers":[{"visibility":"on"},{"color":"#000000"},{"lightness":16}]},{"featureType":"all","elementType":"labels.icon","stylers":[{"visibility":"off"}]},{"featureType":"administrative","elementType":"geometry.fill","stylers":[{"color":"#000000"},{"lightness":20}]},{"featureType":"administrative","elementType":"geometry.stroke","stylers":[{"color":"#000000"},{"lightness":17},{"weight":1.2}]},{"featureType":"landscape","elementType":"geometry","stylers":[{"color":"#000000"},{"lightness":20}]},{"featureType":"poi","elementType":"geometry","stylers":[{"color":"#000000"},{"lightness":21}]},{"featureType":"road.highway","elementType":"geometry.fill","stylers":[{"color":"#000000"},{"lightness":17}]},{"featureType":"road.highway","elementType":"geometry.stroke","stylers":[{"color":"#000000"},{"lightness":29},{"weight":0.2}]},{"featureType":"road.arterial","elementType":"geometry","stylers":[{"color":"#000000"},{"lightness":18}]},{"featureType":"road.local","elementType":"geometry","stylers":[{"color":"#000000"},{"lightness":16}]},{"featureType":"transit","elementType":"geometry","stylers":[{"color":"#000000"},{"lightness":19}]},{"featureType":"water","elementType":"geometry","stylers":[{"color":"#000000"},{"lightness":17}]}] }; // We are using a div with id="map" seen below in the <body> var mapElement = document.getElementById('map'); // Create the Google Map using our element and options defined above var map = new google.maps.Map(mapElement, mapOptions); // Let's also add a marker while we're at it var marker = new google.maps.Marker({ position: new google.maps.LatLng(40.6700, -73.9400), map: map, title: 'Snazzy!', icon: 'img/icon/map.png' }); } </script> <script src="js/jquery.meanmenu.js"></script> <script src="js/plugins.js"></script> <script src="js/main.js"></script> </body> </html>