<?php
//session_start();
$page="Contact";
include("../common/db-con.php") ?>
<?php
 include("../common/db-con.php");


	//=========== include Data Base Connection ============ 
 
	if($_REQUEST['Submit'])
	{
			 
			$subject = " ".$_REQUEST['name']." want to contact you through website";
			
			 
			$message = "<html>
<head>
 
</head>
<body>

<strong>Dear sir </strong>, <br />
<br />
<strong>I am ".$_REQUEST['name']."  and m</strong><strong>y email Id is <a href='mailto: ".$_REQUEST['email']."' target='_blank'> ".$_REQUEST['email']."</a></strong> &amp;<br />
<strong>My Enquiry  is on:".$_REQUEST['subject'].".</strong> <br />
about:".$_REQUEST['message'].".
Awaiting your reply at earliest!<br />
<br />
<strong>Thank you,<br /> ".$_REQUEST['name']."<br />
</strong>
  

</body>
</html>";
			
			// To send HTML mail, the Content-type header must be set
			$headers  = 'MIME-Version: 1.0' . "\r\n";
			$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
			
			// Additional headers
			//$headers .= 'To: Mary <mary@example.com>, Kelly <kelly@example.com>' . "\r\n";
			$headers .= "From: ".$_REQUEST['name']." <".$_REQUEST['email'].">" . "\r\n";
			$headers .= 'Cc:subalchakraborty@zodiacexpress.com' . "\r\n";
			$headers .= 'Bcc: ptsglobals@gmail.com' . "\r\n";
			//$headers .= 'Cc: tuhin.chowdhury08@gmail.com' . "\r\n";
			
			// Mail it
			mail($AdminEmail, $subject, $message, $headers);
			
			//=============== mail to Contact person ===========
			$subject = "Thank you for contacting us through www.zodiacexpress.com. (Zodiac Express)";
			
			// message
			/*
			$message = "<html>
						<head>
						 
						</head>
						<body>
						 
 
Dear ".$_REQUEST['name'].",<br />
<br />
Your   message has been sent successfully. Thank you for your valuable   message. We would get back to you shortly. You can also reach us +91 33 4023 3300/3333.<br />
<br />
Have a great day ! Looking forward to have a long standing business relation !<br />
Thank you,<br />
Team Zodiac Express
 

					 
						</body>
						</html>";
						*/

$message='<html>
						<head>
						 
						</head>
						<body>
<table width="600" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
   <td style="border-top:#666 solid 1px; border-left:#666 solid 1px; border-right:#666 solid 1px;"><table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td>&nbsp;</td>
    <td align="right">&nbsp;</td>
    <td align="right">&nbsp;</td>
  </tr>
  <tr>
    <td width="18%"><img src="http://www.zodiacexpress.com/common/images/logo.png" height="80"/></td>
    <td width="65%" align="center" style="font-family:Arial, Helvetica, sans-serif; color:#36C; font-size:1.2em;">ZODIAC EXPRESS PRIVATE LIMITED</td>
    <td width="17%" align="right"><img src="http://www.zodiacexpress.com/common/images/25thyear-logo.png" height="75"/></td>
  </tr>
</table>
</td>
  </tr>
 
  <tr>
    <td style="border-left:#666 solid 1px; border-right:#666 solid 1px;">&nbsp;</td>
  </tr>
  <tr>
    <td style="border-left:#666 solid 1px; border-right:#666 solid 1px;"><img src="http://www.zodiacexpress.com/common/images/mail-banner.jpg"/></td>
  </tr>
  
  <tr>
    <td style="border-left:#666 solid 1px; border-right:#666 solid 1px;"><table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td><br/>Dear '.$_REQUEST['name'].',<br /><br />Your   message has been sent successfully. Thank you for your valuable   message. We would get back to you shortly. You can also reach us +91 33 4023 3300/3333.<br /><br />Have a great day ! Looking forward to have a long standing business relation !<br />Thank you,<br />Team Zodiac Express<br/></td>
      </tr>
    </table></td>
  </tr>
  
  <tr>
    <td style="background-color:#f47820; border-left:#666 solid 1px; border-right:#666 solid 1px; font-family:Arial, Helvetica, sans-serif; font-size:.8em; padding:10px; color:#fff; ">
    
   <table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td width="42%">&copy; Zodiac Express Private Ltd.</td>
    <td width="58%" align="right">www.zodiacexpress.com</td>
  </tr>
</table>

    
    </td>
  </tr>
  <tr>
    <td align="center" style="background-color:#007ec6; font-family:Arial, Helvetica, sans-serif; color:#fff; font-size:1.1em; padding:5px; border-bottom:#666 solid 1px;">We pickup EXPECTATION &amp; deliver SATISFACTION</td>
  </tr>
</table>
</td>
  </tr>
</table></body></html>';
			
			// To send HTML mail, the Content-type header must be set
			$headers  = 'MIME-Version: 1.0' . "\r\n";
			$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
			 
			$headers .= "From: (Zodiac Express) <zodiac@zodiacexpress.com>" . "\r\n";
			 
			
			// Mail it
			mail($_REQUEST['email'], $subject, $message, $headers);
			
			//============ Redirect to result page =====
			$_SESSION['name']=$_REQUEST['name'];
			header("location:index-result.php");
			die();

	}

?>
<!doctype html>
<!--[if IE 8 ]><html class="ie ie8" lang="en"> <![endif]-->
<!--[if (gte IE 9)|!(IE)]><html lang="en" class="no-js"> <![endif]-->
<html lang="en">
<head>
  
  <!-- Basic -->
  <title>Zodiac | Contact Us</title>
  
  <!-- Define Charset -->
  <meta charset="utf-8">
  
  <!-- Responsive etatag -->
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  
  <!-- Page Description and Author -->
  <meta name="description" content="Margo - Responsive HTML5 Template">
  <meta name="author" content="iThemesLab">
  
   <?php include("../common/header-link.php"); ?>
  
</head>
<body>

  <!-- Container -->
  <div id="container">
    
    <!-- Start Header -->
      <!-- Start Header Section --> 
       <?php include("../common/header.php"); ?>
        <!-- End Header Section -->
        
        
        
         
   
    
<!-- Start Map -->
  <div id="map" data-position-latitude="23.858092" data-position-longitude="90.262181">
  
 <iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3685.701740339085!2d88.345596!3d22.515371!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x3a0270cb1e7ed25f%3A0xbedfe226c9da113e!2sMerlin+Links!5e0!3m2!1sen!2sin!4v1434009124676" width="100%" height="350" frameborder="0" style="border:0"></iframe>
  
  </div>
		
<!-- End Map -->




<!-- Start Content -->
<div id="content">
	<div class="container">
		
		<div class="row">
			
			<div class="col-md-8">
				
				<!-- Classic Heading -->
				<h4 class="classic-title"><span>Contact Us</span></h4>
				
				<!-- Start Contact Form -->
    <form role="form" class="contact-form" id="contact-form" method="post" action="index.php">
    <div class="form-group">
    <div class="controls">
    <input type="text" placeholder="Name" name="name" required>
    </div>
    </div>
    <div class="form-group">
    <div class="controls">
    <input type="email" class="email" placeholder="Email" name="email" required>
    </div>
    </div>
    <div class="form-group">
    <div class="controls">
    <input type="text" class="requiredField" placeholder="Phone No." name="Phone" required>
    </div>
    </div>

    <div class="form-group">

    <div class="controls">
    <textarea rows="7"  placeholder="Message" name="message" required></textarea>
    </div>
    </div>
    <input type="submit" id="submit"  name="Submit" class="btn-system btn-large" value="Send"/><div id="success" style="color:#34495e;"></div>
    </form>
				<!-- End Contact Form -->
				
			</div>
			
			<div class="col-md-4">
				
				<!-- Classic Heading -->
			
				
				
				<!-- Classic Heading -->
				<h4 class="classic-title"><span>Head Office</span></h4>
				
				<!-- Info - List -->
				<ul class="icons-list">
					<li><i class="fa fa-globe"></i><strong>Address: </strong>Merlin Links, Suite-3B, 166B, S.P. Mukherjee Road,
Kolkata - 700 026, India
                        </i> <strong></strong></li>
					
					<li><i class="fa fa-phone"></i> <strong>Phone:</strong> +91 33 2465 6575</li>
                    <li><i class="fa fa-fax"></i> <strong>Fax:</strong> +91 33 2465 6599</li>
                    <li><i class="fa fa-envelope-o"></i> <strong>Email:</strong> zodiac@zodiacexpress.com</li>
				</ul>
                
                
                
                
                
                <!-- Divider -->
				<div class="hr1" style="margin-bottom:15px;"></div>
				
                
                
                
                
                
                
                	<h4 class="classic-title"><span>Corporate Office</span></h4>
				
				<!-- Some Info -->
				<p><strong>Zodiac Express Pvt Ltd. </strong></p>
				
				<!-- Divider -->
				<div class="hr1" style="margin-bottom:10px;"></div>
				
				<!-- Info - Icons List -->
				<ul class="icons-list">
					<li><i class="fa fa-globe"></i><strong>Address: </strong>P41 & 42, Phase-III, S-9, EKTP, Kasba Industrial Estate,
						Kolkata - 700 107, India
                        </i> <strong></strong></li>
					
					<li><i class="fa fa-phone"></i> <strong>Phone:</strong> +91 33 4023 3300/3333</li>
                    <li><i class="fa fa-fax"></i> <strong>Fax:</strong> +91 33 4023 3316</li>
                    <li><i class="fa fa-mobile"></i> <strong>Mobile:</strong> +91 98300 43270</li>
                    <li><i class="fa fa-envelope-o"></i> <strong>Email:</strong> subalchakraborty@zodiacexpress.com</li>
				</ul>
				
			</div>
			
		</div>
		
	</div>
</div>
<!-- End content -->

    
    


    <!-- Start Footer -->
     <?php include("../common/footer.php"); ?>
    <!-- End Footer -->
    
  </div>
  <!-- End Container -->
  
 
  
</body>
</html>