File manager - Edit - /home/certfair/public_html/contact-faircert.php
Back
<?php include("config.php"); if (isset($_POST['submit'])) { $a = $_POST['name']; $b= $_POST['email']; $c = $_POST['message']; //date_default_timezone_set('Asia/Calcutta'); //$date= date("d-m-y G:i:s"); $der = "INSERT INTO `contact`( `name`, `message`, `email`) VALUES( '".$a."' , '".$b."' , '".$c."')"; $rt = mysqli_query($con,$der); if($rt) { echo 'Successfully Submitted .We Will Contact You soon.';} else { $msg = 'Error in Submittion .Please Try Again Later.';} } ?> <!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"> <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags --> <title>Contact us | FairCert Certification Services Pvt. Ltd.</title> <meta name="description" content="FairCert offers a comprehensive & diverse range of inspection and certification services to its large clientele that includes leading Corporate, Private Sector, Government Department, Small and Medium Enterprises"> <meta name="keywords" content="FairCert Certification Services Pvt. Ltd., Clients in faircert, Clients of certification, Clients with us"> <meta name="author" content="Contact us | FairCert Certification Services Pvt. Ltd."> <?php include'header-link.php'; ?> </head> <body> <!-- Pre Loader --> <div id="loader"></div> <!--Header--> <header id="home"> <?php include('menu.php'); ?> <!-- Start about-page area --> <div class="about_slider-area pt-90"> <div class="container"> <div class="row"> <div class="col-md-12"> <div class="slider-text-2 text-center pt-40"> <h2 class="color-w font-w-8 font-40 pb-20">CONTACT US</h2> <h4 class="color-w font-22"><a class="font-20 color-w" href="index.php">Home</a> <span class="plr-10"><i class="fa fa-angle-right"></i><i class="fa fa-angle-right"></i></span>Contact-Us</h4> </div> </div> </div> </div> </div> </header> <div class="clearfix"></div> <!-- Start Contact-section area --> <section id="contact-us-section" class="contact-us-section pb-30"> <div class="container"> <!--Sec Title--> <div class="section contact-us"> <div class="container"> <div class="outer-box"> <div class="company-data"> <ul class="row"> <li class="col-md-6 col-sm-6 col-xs-12"> <div class="box"> <span class="fa fa-map-marker"></span> <b>Head Office:</b> 504, 5TH Floor, 3rd Eye Vision, Opposite Shivalik Plaza, Panjarapole, IIM Road, Ahmedabad – 380015, Gujarat, India </br> </div> <!-- <div class="box"> <span class="fa fa-map-marker"></span> Registered Office: 1st Floor, Jaiprakash Club, Rahat Medical College, In front of Krishna Vatika, Mangrul Road, Khargone – 451 001, Madhya Pradesh, India </div>--> </li> <li class="col-md-6 col-sm-6 col-xs-12"> <!-- <div class="box"> <span class="fa fa-phone"></span> +91- 95893 09876<br>+91-7999893676 </div>--> <div class="box"> <span class="fa fa-envelope"></span> <a href="#"> info@faircert.com <br>cert.fair@gmail.com </a><br><br></div> </li> </li> </ul> </div> <!-- Contact Form Start --> <div class="form-box clearfix"> <form action="" method="post" enctype="multipart/form-data"> <div class="form-group col-sm-6"> <input type="text" class="form-control" name="name" placeholder="Your name" required > <!--div class="help-block with-errors"></div--> </div> <div class="form-group col-sm-6"> <input type="email" class="form-control" name="email" placeholder="Your email" required> <!--div class="help-block with-errors"></div--> </div> <div class="form-group col-sm-12"> <textarea id="message" class="form-control" name="message" rows="5" placeholder="Write your message here" required></textarea> <!--div class="help-block with-errors"></div--> </div> <div class="col-sm-12"> <!--input type="button" class="btn" value="Send Meaasage" name="submit"/--> <input type="submit" name="submit" class="btn hvr-rectangle-out" value="SEND MESSAGE" /> </div> </form> </div> <!-- Contact Form End --> </div> </div> </div> </div> </section> <div class="clearfix"></div> <?php include('query.php'); ?> <<?php include('footer.php'); ?> <?php include('footer-link.php'); ?> </body> </html>
| ver. 1.4 |
Github
|
.
| PHP 7.3.33 | Generation time: 0 |
proxy
|
phpinfo
|
Settings