<?php include('header.php')?>

<!-- new products-->

<div class="container-fluid">
<div class="container">
<h2 class="products" style=" font-family:'racing Sans One'; color:#009A53; text-align:center; text-transform:uppercase; margin-bottom:-33px; margin-top:37px;">Contact<span>Us</span></</h2>

</div>
</div>
<!-- new products-->
<?php 

if(isset($_POST['submit']))
{
	 $name = $_POST['name'];
	 $lname = $_POST['lname'];
	 $email = $_POST['mail'];
	 $message = $_POST['message'];
	

	
	               $headers = "MIME-Version: 1.0" . "\r\n";	
					$headers .= "Content-type:text/html;charset=UTF-8" . "\r\n";
					

					$subject = "Enquiry Message From www.nanki.com" ;
					
					$abc = mail("nankiimpex2015@gmail.com",$subject,$message,"From:" . $email);
					
					?>
                    <script>
					alert('Your Messege Send Sucessfully');
					</script>
                    
                    <?php

}
?>







<div class="contact">

		<div class="container">

			<div class="contact-main">

			

				<div class="contact-top">

					<div class="col-md-6 contact-top-left">

                <iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d108704.38024354975!2d74.80008044634245!3d31.633525033237166!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x391964aa569e7355%3A0xeea2605bee84ef7d!2sAmritsar%2C+Punjab+143001!5e0!3m2!1sen!2sin!4v1466008229997" width="350" height="250" frameborder="0" style="border:0" allowfullscreen></iframe>

					</div>

					<div class="col-md-6 contact-top-right">

						<div class="contact-textarea">

							<form action="" method="post"> 

								<input name="name" type="text" onblur="if (this.value == '') {this.value = 'First Name';}" onfocus="this.value = '';" value="First Name" required="required">

								<input name="lname" type="text" onblur="if (this.value == '') {this.value = 'Second Name';}" onfocus="this.value = '';" value="Second Name" required="required">

								<input name="mail" type="text" onblur="if (this.value == '') {this.value = 'Email Id';}" onfocus="this.value = '';" value="Email Id" required="required">

								<textarea name="message" onblur="if (this.value == '') {this.value = 'Message';}" onfocus="this.value = '';">Message..</textarea>

								<input name="submit" type="submit" value="SUBMIT">

								<input type="reset" value="CLEAR">

							</form>

						</div>

					</div>

					<div class="clearfix"></div>

				</div>

			</div>

		</div>

	</div>














<?php include('footer.php')?>