kohjhjhصثقص5572hjkhk7872ثقصثقgdfgdg
Ele57885fddfg872782782782 hjkhj782dfgfghgقفغفغفقhfg555434536
/
home4
/
kisgavwq
/
ashokacycle.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"); $db = new SiteData(); $conn = mysqli_connect(SYSTEM_DBHOST, SYSTEM_DBUSER, SYSTEM_DBPWD, SYSTEM_DBNAME); $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']; $email_from = $email ; // Sender EMAIL ID $email_subject = "New Contact Enquiry For Ashoka cycle"; // The Subject of the email $email_message .= "Name: ".$name."<br>"; $email_message .= "email: ".$email."<br>"; $email_message .= "Phone Number : ".$phone."<br>"; $email_message .= "State : ".$city."<br>"; $email_message .= "Message: ".$message." "; $a = "ashokacycle1@gmail.com"; // Receiver Email ID $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>Contact Us | Ashoka cycle</title> <meta name="keywords" content="Contact Us | Ashoka cycle" /> <meta name="description" content="Contact Us | Ashoka cycle" /> <meta name="copyright" content="Copyright 2022 Ashoka cycle"/> <meta name="ROBOTS" content="index,follow"/> <meta name="revisit-after" content="7 days"/> <meta name="document-classification" content="Contact Us | Ashoka cycle"/> <meta name="publisher" content="Ashoka cycle"/> <meta name="author" content="Ashoka cycle"/> <meta name="copyright" content="Ashoka cycle"/> <meta name="language" content="en-us"/> <meta name="distribution" content="GLOBAL"/> <meta name="geo.region" content="INDIA"/> <meta name="geo.placename" content="Gujarat, India"/> <meta http-equiv="Content-Security-Policy" content="block-all-mixed-content" /> <meta http-equiv="cache-control" content="no-cache" /> <meta http-equiv="Pragma" content="no-cache" /> <meta http-equiv="Expires" content="-1" /> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <link rel="shortcut icon" href="img/<?=$hedrow['site_logo']?>" /> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <?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" style="background:url(img/page-bg-img.jpg);"> <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"> <div> <?php if ($_GET['strmsg1']) { ?> <?php print $_GET['strmsg1']; ?> <?php } ?> <form role="form" name="contactform" method="post" class="contact"> <input type="hidden" name="act" value="sendMail"> <div class="form-group" > <?php if($_REQUEST['msg'] == "success") { ?> <div class="alert alert-success" align="center" > <strong><img src="img/right-sign.png"> Thank You! We will get back to you soon.</strong> </div> <?php } ?> </div> <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="[6-9]{1}[0-9]{9}" class="form-control" required></div> <div class="form-group"><input type="text" name="city" placeholder="Your State" autofocus="" required class="form-control"></div> <div class="form-group"><textarea name="message" placeholder="Your Message" rows="3" cols="20" 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"> <div class="page-inner3"> <?php $get_heading = $Dbqur->fetch_data("tbl_titles","id = 9");?> <div style="background:#b33635"><h2 style="color:#fff"><?=$get_heading[0]['title'];?></h2></div> <div> <div><?=$hedrow['office_add']?> </div> <div class="asha-tel">Phone: <?=$hedrow['phone']?></div> <div><i class="fa fa-envelope"></i> <?=$hedrow['emailid']?></div> <br> </div> </div> <iframe src="<?=$hedrow['map_url']?>" width="100%" height="250" frameborder="0" style="border:0;" allowfullscreen=""></iframe> </div> </div> </div> <div class="clearfix"></div> </section> <br> <?php include("footer.php"); ?> <!-- footer --> </div> <?php include("js.php");?> </body> </html>