kohjhjhصثقص5572hjkhk7872ثقصثقgdfgdg
Ele57885fddfg872782782782 hjkhj782dfgfghgقفغفغفقhfg555434536
/
home4
/
kisgavwq
/
sisnikol.com
/
Upload FileeE
HOME
<?php session_start(); require_once("includes/settings.php"); require_once("includes/database.php"); require_once("includes/classes/db.cls.php"); require_once("includes/classes/sitedata.cls.php"); require_once("includes/functions/common.php"); require_once("includes/classes/Pages.cls.php"); require_once("includes/classes/Menus.cls.php"); require_once("includes/classes/DBquery.cls.php"); $conn = mysqli_connect(SYSTEM_DBHOST,SYSTEM_DBUSER,SYSTEM_DBPWD,SYSTEM_DBNAME); $db = new SiteData(); $pageObj = new Pages(); $menuObj = new Menus(); $dbObj = new dbquery(); $Dbqur = new dbquery(); $project_sql = mysqli_query($conn, "select * from tbl_homecontent where id = 1 "); $hedrow = mysqli_fetch_array($project_sql); if($_REQUEST['act']=='sendMail'){ if($_REQUEST['vercode']==$_SESSION["vercode"]){ $name = $_REQUEST['name']; $email = $_REQUEST['email']; $phone = $_REQUEST['phone']; $message = $_REQUEST['message']; $city = $_REQUEST['city']; $result = mysqli_query($conn, "SELECT MAX(id) FROM tbl_registration"); $row = mysqli_fetch_row($result); $highest_id = $row[0]+1; $new_val = sprintf("%04d",$highest_id); $roll = date('Y').$new_val; $query = $dbObj->insertToDb("tbl_registration","rollno='$roll',`name`='$name', `fname`='$fname', `phone`='$phone', `email`='$email', `studyingin`='$courses', `city`='$city', `message`='$message'"); $email_from = $email; // Who the email is from $email_subject = "New Enquiry From Sankalp International School"; // The Subject of the email $email_message .= "Name: ".$name."<br>"; $email_message .= "email: ".$email."<br>"; $email_message .= "Phone Number : ".$phone."<br>"; $email_message .= "City : ".$city."<br>"; $email_message .= "Message: ".$message." "; //$a = $Email; $a = "adhsupport@gmail.com"; // Who the email is to $email_to=$a; $headers = "MIME-Version: 1.0" . "\r\n"; $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n"; $headers .= "From: ".$email_from; $headers .= "CC: ".$email. "\r\n"; $ok = @mail($email_to, $email_subject, $email_message, $headers); header("location:contact-us.php?msg=success"); }else{ header("location:contact-us.php?msg=errcode"); } } ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <!--[if IE]><meta http-equiv='X-UA-Compatible' content='IE=edge,chrome=1'><![endif]--> <title>Sankalp International School Nikol Ahmedabad</title> <meta name="keywords" content="Sankalp International School Nikol Ahmedabad" /> <meta name="description" content="Sankalp International School Nikol Ahmedabad" /> <meta name="copyright" content="Copyright 2021 Sankalp International School Nikol Ahmedabad"/> <meta name="ROBOTS" content="index,follow"/> <meta name="revisit-after" content="3 days"/> <meta name="document-classification" content="Sankalp International School Nikol Ahmedabad"/> <meta name="publisher" content="Sankalp International School Nikol Ahmedabad"/> <meta name="author" content="Sankalp International School Nikol Ahmedabad"/> <meta name="copyright" content="Sankalp International School Nikol Ahmedabad"/> <meta name="language" content="en-us"/> <meta name="distribution" content="GLOBAL"/> <meta name="geo.region" content="INDIA"/> <meta name="geo.placename" content="Viratnagar Road, New Nikol, Ahmedabad"/> <link rel="shortcut icon" href="img/favicon.png" /> <?php include("css.php");?> </head> <body> <div id="page"> <?php include("header.php");?> <div class="page-header"> <div class="container"> </div> <div class="breadcrumb-box"> <div class="container"> <div class="section-title text-left animated fadeInUp visible" data-animation="fadeInUp"> <h2 class="title"> Contact Us</h2> </div> </div> </div> </div> <section id="additional" class="page-section"> <div class="container"> <div class="row"> <div class="col-md-6"> <div data-animation="fadeInDown" class="animated fadeInDown visible"> <style> .contact input{ font-size:15px; } .contact textarea{ font-size:15px; } </style> <div> <?php if($_REQUEST['msg'] == "success") { ?> <div class="alert alert-success"> <strong><img src="img/right-sign.png" alt="Sankalp International School | Ahmedabad" title="Sankalp International School |Ahmedabad Gujarat"> Thank You! We'll get back to you soon.</strong> </div> <?php } ?> <form action="#" method="post" class="contact" > <input type="hidden" name="act" value="sendMail"> <div class="form-group"><input type="text" name="name" placeholder="Your Name" autofocus="" class="form-control" required></div> <div class="form-group"><input type="email" name="email" placeholder="Your Email" autofocus="" class="form-control" required></div> <div class="form-group"><input type="text" name="phone" placeholder="Your Phone" pattern="[0-9]{10}" class="form-control" required></div> <div class="form-group"><input type="text" name="city" placeholder="City" autofocus="" required class="form-control"></div> <div class="form-group"><textarea name="message" placeholder="Your Message" rows="4" cols="40" class="form-control" style="resize:none;" required></textarea></div> <div class=""><label> <span style="float:left; padding:0px 0px 0 0"><img src="captcha.php" align="absmiddle" style="border:1px solid #d9d9d9;" alt="captcha"></span> <input name="vercode" type="text" class="form-control" id="textfield6" style="width:150px;font-weight:100" placeholder="Enter Code" required=""></label></div> <div class="form-group"><input type="submit" value="Submit" class="btn btn-primary"></div> </form> </div> </div> </div> <div class="col-md-6"> <iframe src="<?=$hedrow['map_url']?>" width="100%" height="400" frameborder="0" style="border:0" allowfullscreen></iframe> </div> </div> </div> <div class="clearfix"></div> </section> <br> <?php include("footer.php"); ?> <!-- footer --> </div> <!-- page --> <!-- Scripts --> <script type="text/javascript" src="js/jquery.min.js"></script> <script type="text/javascript" src="js/bootstrap.min.js"></script> <!-- Menu jQuery plugin --> <script type="text/javascript" src="js/hover-dropdown-menu.js"></script> <!-- Menu jQuery Bootstrap Addon --> <script type="text/javascript" src="js/jquery.hover-dropdown-menu-addon.js"></script> <!-- Scroll Top Menu --> <script type="text/javascript" src="js/jquery.easing.1.3.js"></script> <!-- Sticky Menu --> <script type="text/javascript" src="js/jquery.sticky.js"></script> <!-- Bootstrap Validation --> <script type="text/javascript" src="js/bootstrapValidator.min.js"></script> <!-- Revolution Slider --> <script type="text/javascript" src="rs-plugin/js/jquery.themepunch.tools.min.js"></script> <script type="text/javascript" src="rs-plugin/js/jquery.themepunch.revolution.min.js"></script> <script type="text/javascript" src="js/revolution-custom.js"></script> <!-- Portfolio Filter --> <script type="text/javascript" src="js/jquery.mixitup.min.js"></script> <!-- Animations --> <script type="text/javascript" src="js/jquery.appear.js"></script> <script type="text/javascript" src="js/effect.js"></script> <!-- Owl Carousel Slider --> <script type="text/javascript" src="js/owl.carousel.min.js"></script> <!-- Pretty Photo Popup --> <script type="text/javascript" src="js/jquery.prettyPhoto.js"></script> <!-- Parallax BG --> <script type="text/javascript" src="js/jquery.parallax-1.1.3.js"></script> <!-- Fun Factor / Counter --> <script type="text/javascript" src="js/jquery.countTo.js"></script> <!-- Twitter Feed --> <script type="text/javascript" src="js/tweet/carousel.js"></script> <script type="text/javascript" src="js/tweet/scripts.js"></script> <script type="text/javascript" src="js/tweet/tweetie.min.js"></script> <!-- Background Video --> <script type="text/javascript" src="js/jquery.mb.YTPlayer.js"></script> <!-- Custom Js Code --> <script type="text/javascript" src="js/custom.js"></script> </body> </html>