<?php
session_start();
include('include/dbconnect.php');
if(isset($_POST["contact_info"]))
{
$c_name=mysqli_real_escape_string($con,$_POST["name"]);
$c_mail=mysqli_real_escape_string($con,$_POST["email"]);
$c_pno=mysqli_real_escape_string($con,$_POST["phone"]);
$c_sub=mysqli_real_escape_string($con,$_POST["subject"]);
$c_msg=mysqli_real_escape_string($con,$_POST["message"]);
$add_enq_sql="INSERT INTO contact_enquiry (c_name,c_email,c_phone,c_sub,c_msg,c_enq_date) VALUES('".$c_name."','".$c_mail."','".$c_pno."','".$c_sub."','".$c_msg."','".gettodate()."')";
//die($add_enq_sql);
mysqli_query($con,$add_enq_sql) or die('Insert Failed');
//die($add_enq_sql);
/*get enquiry mail id*/
$get_enqMail_sql="SELECT * FROM contact_us";
$get_enqMail_exe=mysqli_query($con,$get_enqMail_sql);
$get_enqMail_result=mysqli_fetch_array($get_enqMail_exe);
$SendTo=$get_enqMail_result["c_enquiry_mail"];
$Subject = "Enquiry from Automation Zone";
$Headers = "From: Automation Zone <".$SendTo.">\r\n";
$Body =
"Enquiry Form"."\n"."\n"
."Name: ".$c_name."\n"
."Email: ".$c_mail."\n"
."Subject: ".$c_sub."\n"
."Message: ".$c_msg."\n";
$Status=mail($SendTo, $Subject, $Body, $Headers);
if($Status)
{
echo "
<script>alert('Mail Sent Successfully');
window.location.href='index.php';</script>";
}
else
{
echo "
<script>
alert('An error occured.Sorry for the inconvenience.');
window.location.href='index.php';</script>";
}
}
?>
<!DOCTYPE html>
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
<head>
<!-- Basic Page Needs
================================================== -->
<meta charset="utf-8">
<title>Contact us – Automation zone</title>
<meta name="description" content="Contact us – Automation zone">
<meta name="author" content="Automation Zone">
<meta name="keywords" content="Sliding gate automation,Swing gate automation,Rolling shutter motor,Swing gate motor,Sliding gate moto,Home automation,Fire doors,Roll A Door,Docking System,Metal doors,Barriers">
<!-- Mobile Specific Metas
================================================== -->
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<!-- Favicons
================================================== -->
<link rel="shortcut icon" href="images/favicon.ico">
<!-- FONTS
================================================== -->
<link rel='stylesheet' id='Roboto-css' href='http://fonts.googleapis.com/css?family=Roboto%3A100%2C300%2C400%2C400italic%2C700&ver=4' type='text/css' media='all' />
<link rel='stylesheet' id='Patua+One-css' href='http://fonts.googleapis.com/css?family=Patua+One%3A100%2C300%2C400%2C400italic%2C700&ver=4' type='text/css' media='all' />
<!-- CSS
================================================== -->
<link rel='stylesheet' id='global-css' href='css/global.css' type='text/css' media='all' />
<link rel='stylesheet' id='structure-css' href='css/structure.css' type='text/css' media='all' />
<link rel='stylesheet' id='local-css' href='css/hosting.css' type='text/css' media='all' />
<link rel='stylesheet' id='custom-css' href='css/custom.css' type='text/css' media='all' />
<!--Custom-->
<link href="extra/css/bootstrap.css" rel="stylesheet">
<link href="extra/css/owl.css" rel="stylesheet">
<link href="extra/css/bootstrap-margin-padding.css" rel="stylesheet">
<link href="extra/css/style.css" rel="stylesheet">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<link href="extra/css/responsive.css" rel="stylesheet">
<!--Custom-->
<link rel="stylesheet" href="css/style.css">
<style type="text/css">
#menu1 {
-moz-border-bottom-colors: none;
-moz-border-left-colors: none;
-moz-border-right-colors: none;
-moz-border-top-colors: none;
background: rgba(132, 193, 10, 0.7) none repeat scroll 0 0;
border-color: rgba(132, 193, 10, 0.5) -moz-use-text-color rgba(132, 193, 10, 0.5) rgba(132, 193, 10, 0.5);
border-image: none;
border-radius: 1em 0.5em 0.5em 1em;
border-style: solid none solid solid;
border-width: medium;
box-shadow: 0 1px 3px #000000;
color: #ffffff;
font-size: medium;
font-weight: bold;
margin: -2.5em 0 0;
padding: 0.5em 1em;
position: fixed;
right: 0;
text-align: left;
top: 20%;
width: 0.9em;
z-index: 1255;
line-height: 15px;
}
#menu1 li {
margin: 0;
word-wrap: break-word;
}
#menu1 a {
color: inherit;
}
#menu1 a:hover {
text-decoration: none;
color: #333;
}
.flv_span_12px {
font-size: 13px;
margin-left: unset;
}
</style>
<style>
#Top_bar .menu > li > ul > li {
padding: 6px 0 6px 8px !important;
font-size: 12.5px;
}
</style>
</head>
<!--<ul id="menu1">
<li><a href="pdf/brouchure.pdf" target="_blank">Brouchure</a>
</li>
</ul>-->
<body class=" color-custom layout-full-width header-classic sticky-header sticky-white nice-scroll-on subheader-title-left no-content-padding">
<div id="Wrapper">
<div id="Header_wrapper" class="bg-parallax" data-stellar-background-ratio="0.5">
<header id="Header">
<?php include('include/header.php'); ?>
</header>
<div id="Subheader">
<div class="container">
<div class="column one">
<h1 class="title">Contact us</h1>
<ul class="breadcrumbs">
<li>
<a href="index-hosting.php">Home</a><span><i class="icon-right-open"></i></span>
</li>
<li>
<a href="index-hosting.php">Contact us</a>
</li>
</ul>
</div>
</div>
</div>
</div>
<div id="Content">
<div class="content_wrapper clearfix">
<div class="sections_group">
<div class="entry-content" >
<div class="section section-border-top " style="padding-top:40px; padding-bottom:0px; background-color:#f9f9f9" >
<div class="section_wrapper clearfix">
<div class="items_group clearfix">
<div class="column one-third column_column">
<div class="column_attr " >
<div class="flv_align_right">
<h2>Write a message</h2>
<p>
<span class="big">If you got any questions, please do not hesitate to send us a message. We reply within <span class="tooltip" data-tooltip="Mon-Fri 8:00am-6:00pm (GMT +1)" >24 hours</span> !</span>
</p>
<p style="color: #a8a8a8;">
</p>
</div>
<div class="flv_float_right">
<?php
$dis_social_sql="SELECT * FROM social";
$dis_social_exe=mysqli_query($con,$dis_social_sql);
$dis_social_result=mysqli_fetch_array($dis_social_exe);
?>
<a href="<?php echo $dis_social_result['linkFacebook']; ?>" class="icon_bar icon_bar_facebook icon_bar_small" target="_blank"><span class="t"><i class="icon-facebook"></i></span><span class="b"><i class="icon-facebook"></i></span></a>
<a href="<?php echo $dis_social_result['linkTwitter']; ?>" class="icon_bar icon_bar_twitter icon_bar_small" ><span class="t"><i class="icon-twitter"></i></span><span class="b"><i class="icon-twitter"></i></span></a>
<a href="<?php echo $dis_social_result['linkYoutube']; ?>" class="icon_bar icon_bar_youtube icon_bar_small" target="_blank"><span class="t"><i class="icon-youtube"></i></span><span class="b"><i class="icon-youtube"></i></span></a>
<a href="<?php echo $dis_social_result['linkLinkedin']; ?>" class="icon_bar icon_bar_linkedin icon_bar_small" target="_blank"><span class="t"><i class="icon-linkedin"></i></span><span class="b"><i class="icon-linkedin"></i></span></a>
</div>
</div>
</div>
<div class="column two-third column_column">
<div class="column_attr " >
<div id="contactWrapper" >
<form id="contactform" method="post" action="">
<div class="column one-third">
<label>Name:</label><span>
<input type="text" name="name" id="name" size="40" required />
</span>
</div>
<div class="column one-third">
<label>E-mail address:</label><span>
<input type="email" name="email" id="email" size="40" required />
</span>
</div>
<div class="column one-third">
<label>Phone Number:</label><span>
<input type="text" name="phone" id="phone" size="40" required />
</span>
</div>
<div class="column"style="width:99%">
<label>Subject:</label><span>
<input type="text" name="subject" id="subject" required />
</span>
</div>
<div class="column one">
<label>Message:</label><span>
<textarea name="message" id="body" style="width:100%;" rows="5" required></textarea></span>
</div>
<div class="column one">
<input type="submit" value="Send Message" name="contact_info" id="submit">
</div>
</form>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="section " style="padding-top:30px; padding-bottom:0px; background-color:" >
<div class="section_wrapper clearfix">
<div class="items_group clearfix">
<div class="column one-third column_list">
<div class="list_item lists_2 clearfix">
<div class="list_left list_icon">
<i class="icon-mail-line"></i>
</div>
<div class="list_right">
<div class="desc">
<span class="flv_span_12px">Have any questions?</span><br/><h4><a href="mailto:noreply@envato.com">info@automationzone.co.in</a></h4>
</div>
</div>
</div>
</div>
<div class="column one-third column_list">
<div class="list_item lists_2 clearfix">
<div class="list_left list_icon">
<i class="icon-comment-line"></i>
</div>
<div class="list_right">
<div class="desc">
<span class="flv_span_12px">S.Kathiravan (Managing partner)</span><br/><h4><a href="#">+91 98944 45101</a><br><a href="#">0422 4273736</a></h4>
</div>
</div>
</div>
</div>
<div class="column one-third column_list">
<div class="list_item lists_2 clearfix">
<div class="list_left list_icon">
<i class="icon-doc-line"></i>
</div>
<div class="list_right">
<div class="desc">
<span class="flv_span_12px">M.Sanjay jain (Managing partner)</span><br/><h4><a href="#">+91 94420 09522</a></h4>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="section_wrapper clearfix">
<div class="items_group clearfix">
<div class="column one-third column_list">
<div class="list_item lists_2 clearfix">
<div class="list_right">
<div class="desc">
<span class="flv_span_12px"></span><h4><a href="mailto:noreply@envato.com">Our Branches</a>Chennai,Bangalore</h4>
</div>
</div>
</div>
</div>
<div class="column one-third column_list">
<div class="list_item lists_2 clearfix">
<div class="list_right">
<div class="desc">
<span class="flv_span_12px"><b>Akshay</b><br>
No 41/3A Rangarao Road Corner Vani Vila Road,Shanakarpuram,</br><b>Bangalore</b></span><h4><a href="#">+91 7019660076</a></h4>
</div>
</div>
</div>
</div>
<div class="column one-third column_list">
<div class="list_item lists_2 clearfix">
<div class="list_right">
<div class="desc">
<span class="flv_span_12px"><b>S.Gopinath</b></br>
<b>Polt no:22, first floor B3, Padmalayam flats, first Street saraswathipuram, chromepet, chennai-44</b>
<br></textarea><h4><a href="#">+91 9994929764</a></h4></span>
</div>
<!--<div class="desc">
<span class="flv_span_12px"><a href="#"><b>G.Ramesh </b></a> No 9 Kumaran Colony ,</br>3 street ,Vadapalani,</span></br><b>Chennai</b>
<h4><a href="#">+91 9884411499</a></h4>
</div>-->
</div>
</div>
</div>
</div>
</div>
</div>
<div class="section full-width sections_style_0 " >
<div class="section_wrapper clearfix">
<div class="items_group clearfix">
<div class="column one column_map">
<div class="google-map-wrapper">
<div class="google-map-contact-wrapper">
<div class="get_in_touch">
<h3>Our office</h3>
<div class="get_in_touch_wrapper">
<ul>
<li class="address">
<span class="icon"><i class="icon-location"></i></span><span class="address_wrapper">
<p>
Automation Zone <br>
#83,Raju Naidu Road Sivanandha Colony<br>
Tatabad (City Union Bank Backside<br>
Coimbatore - 641 012
</p> </span>
</li>
</ul>
</div>
</div>
</div>
<div class="google-map" id="google-map-area-54a6b7730daa3" style="width:100%; height:400px;">
</div>
</div>
</div>
</div>
</div>
</div>
<div class="section the_content"></div>
</div>
</div>
</div>
</div>
<div class="section " id="calltoaction" style="padding-top:20px; padding-bottom:10px; background-color:#3DBAD5;" >
<div class="section_wrapper clearfix">
<div class="items_group clearfix">
<div class="column two-third column_column" style="padding-top:20px; padding-bottom:20px;margin-bottom:0;">
<div class="column_attr " ><h3 style="margin: 6px 0 0 0; color: #fff;">24 / 7 Support call:<i style="color: #fff;" class="icon-phone"></i> +91 0422 4273736</h3></div>
</div>
<div class="column one-third column_column" style="padding-top:20px; padding-bottom:20px;margin-bottom:0;">
<div class="column_attr align_right" >
<a class="button button_js" href="contact.php" style=" background-color:#093a8b !important; color:#ffffff;" ><span class="button_label">Write us a message</span></a> </div>
</div>
</div>
</div>
</div>
</div>
<!--------------- Footer--------------->
<?php include('include/footer.php'); ?>
</div>
<!-- JS
================================================== -->
<script type="text/javascript" src="js/jquery-2.1.4.min.js"></script>
<script type="text/javascript" src="js/mfn.menu.js"></script>
<script type="text/javascript" src="js/jquery.plugins.js"></script>
<script type="text/javascript" src="js/jquery.jplayer.min.js"></script>
<script type="text/javascript" src="js/animations/animations.js"></script>
<script type="text/javascript" src="js/scripts.js"></script>
<script type="text/javascript" src="js/email.js"></script>
<script type='text/javascript' src='http://maps.google.com/maps/api/js?sensor=false&ver=5.9'></script>
<script>
function google_maps_54a6b7730daa3() {
var latlng = new google.maps.LatLng(11.020421, 76.958721);
var myOptions = {
zoom : 13,
center : latlng,
mapTypeId : google.maps.MapTypeId.ROADMAP,
zoomControl : true,
mapTypeControl : false,
streetViewControl : false,
scrollwheel : false
};
var map = new google.maps.Map(document.getElementById("google-map-area-54a6b7730daa3"), myOptions);
var marker = new google.maps.Marker({
position : latlng,
map : map
});
}
jQuery(document).ready(function($) {
google_maps_54a6b7730daa3();
});
</script>
<script>
jQuery(window).load(function() {
var retina = window.devicePixelRatio > 1 ? true : false;
if (retina) {
var retinaEl = jQuery("#logo img");
var retinaLogoW = retinaEl.width();
var retinaLogoH = retinaEl.height();
retinaEl.attr("src", "images/retina-hosting.png").width(retinaLogoW).height(retinaLogoH)
}
});
</script>
</body>
<!-- Mirrored from be.beantownthemes.com/html/content/hosting/contact.html by HTTrack Website Copier/3.x [XR&CO'2014], Sat, 30 Jan 2016 09:15:31 GMT -->
</html>