<!DOCTYPE html>
<html>
<head>
	<title>Standardline Express</title>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />  
	<meta name="keywords" content="Slider, Hi Slider, Simple HTML5 Slideshow, Free js slider" />
	<meta name="description" content="Slider created with Hi Slider which enable you to publish responsive jQuery image slideshows, seamless WordPress slider plugins, amazing website sliding banners and fancy JavaScript slideshow presentation" />     
  <script type="text/javascript" src="sliderengine/jquery.js"></script><script type="text/javascript" src="sliderengine/jquery.hislider.js"></script>
  
  <style>
  	html,body{height:100%; margin:0px;}	
  </style>
  <link href="css/shore.css" rel="stylesheet" type="text/css">
</head>
<body style="background-color:#dddddd;">
<table width="983" border="0" align="center">
    <tr>
      <td width="376"><img src="logo.fw.png" width="289" height="34" /></td>
      <td width="552" align="right"><img src="world-blue-70x70.png" width="70" height="70"></td>
    </tr>
  </table>
<div class="menuside">
  <table width="70%" border="0">
    <tr>
      <td><strong><a href="index.php">Home</a></td>
      <td>&nbsp;</td>
      <td><strong><a href="aboutus.php">About us</a></td>
      <td>&nbsp;</td>
      <td><strong><a href="services.php">Services</a></td>
      <td>&nbsp;</td>
      <td><a href="tracker.php">Track Shippment</a></td>
      <td>&nbsp;</td>
      <td>&nbsp;</td>
      <td><strong><a href="contactus.php">Contact us</a></td>
    </tr>
  </table>
</div>
	<div style="clear:both;height:0px;width:100%"></div>
	<!----begin------Insert to your webpage where you want to display the slider-->
        <div id='hislider1' style=" max-width:1000px;  max-height:360px;height:100%; margin: 0 auto;">
        	
        	<noscript>The slider is powered by <strong>Hi Slider</strong>, a easy jQuery image slider from <a target="_blank" href="hislider.com">hislider.com</a>. Please enable JavaScript to view.</noscript><div class="hi-about-text" style="display:none">This jQuery slider was created with the free <a style="color:#FFF;" href="http://hislider.com" target="_blank">Hi Slider</a> for WordPress plugin,Joomla & Drupal Module from hislider.com.<br /><br /><a style="color:#FFF;" href="#" class="hi-about-ok">OK</a></div><div class="hi-slider-watermark"  style="display:none"><a href="http://hislider.com" target="_blank">hislider.com</a></div>
        </div>
              <!----end------Insert to your webpage where you want to display the slider-->
        <div class="welcome">
          <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
            <tr>
              <td colspan="4" valign="top"><table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
                <tr>
                  <td colspan="2" valign="baseline" class="headtext"><strong>Our Contact</strong></td>
                </tr>
                <tr>
                  <td width="47%" valign="baseline"><p class="headtext">&nbsp;</p></td>
                  <td width="53%" valign="baseline">&nbsp;</td>
                </tr>
                <tr>
                  <td valign="top"><p><span class="txt"><strong>Emial:</strong><br>
                    info@standardlineexpress.com </span></p>
                  <p>&nbsp;</p></td>
                  <td valign="top"><span class="writeups">
                    <?php
if(isset($_POST['email'])) {
     
    // EDIT THE 2 LINES BELOW AS REQUIRED
    $email_to = "info@standardlineexpress.com";
    $email_subject = "Contact us";
     
     
    function died($error) {
        // your error code can go here
        echo "We are very sorry, but there were error(s) found with the form you submitted. ";
        echo "These errors appear below.<br /><br />";
        echo $error."<br /><br />";
        echo "Please go back and fix these errors.<br /><br />";
        die();
    }
     
    // validation expected data exists
    if(!isset($_POST['first_name']) ||
        !isset($_POST['last_name']) ||
        !isset($_POST['email']) ||
        !isset($_POST['telephone']) ||
        !isset($_POST['comments'])) {
        died('We are sorry, but there appears to be a problem with the form you submitted.');      
    }
     
    $first_name = $_POST['first_name']; // required
    $last_name = $_POST['last_name']; // required
    $email_from = $_POST['email']; // required
    $telephone = $_POST['telephone']; // not required
    $comments = $_POST['comments']; // required
     
    $error_message = "";
    $email_exp = '/^[A-Za-z0-9._%-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,4}$/';
  if(!preg_match($email_exp,$email_from)) {
    $error_message .= 'The Email Address you entered does not appear to be valid.<br />';
  }
    $string_exp = "/^[A-Za-z .'-]+$/";
  if(!preg_match($string_exp,$first_name)) {
    $error_message .= 'The First Name you entered does not appear to be valid.<br />';
  }
  if(!preg_match($string_exp,$last_name)) {
    $error_message .= 'The Last Name you entered does not appear to be valid.<br />';
  }
  if(strlen($comments) < 2) {
    $error_message .= 'The Comments you entered do not appear to be valid.<br />';
  }
  if(strlen($error_message) > 0) {
    died($error_message);
  }
    $email_message = "Form details below.\n\n";
     
    function clean_string($string) {
      $bad = array("content-type","bcc:","to:","cc:","href");
      return str_replace($bad,"",$string);
    }
     
    $email_message .= "First Name: ".clean_string($first_name)."\n";
    $email_message .= "Last Name: ".clean_string($last_name)."\n";
    $email_message .= "Email: ".clean_string($email_from)."\n";
    $email_message .= "Telephone: ".clean_string($telephone)."\n";
    $email_message .= "Comments: ".clean_string($comments)."\n";
     
     
// create email headers
$headers = 'From: '.$email_from."\r\n".
'Reply-To: '.$email_from."\r\n" .
'X-Mailer: PHP/' . phpversion();
@mail($email_to, $email_subject, $email_message, $headers); 
?>
                    <!-- include your own success html here -->
</span><span class="txt">Thank you for contacting us. We will be in touch with you very soon.</span><span class="writeups">
<?php
}
?>
              </span></td>
                </tr>
              </table></td>
            </tr>
           
            <tr>
              <td colspan="4" align="center" valign="top" class="headtext">&nbsp;</td>
            </tr>
            <tr>
              <td colspan="4" align="center">&nbsp;</td>
            </tr>
            <tr>
              <td>&nbsp;</td>
              <td>&nbsp;</td>
              <td>&nbsp;</td>
              <td>&nbsp;</td>
            </tr>
          </table>
        </div>
      <div  class="foterline"> 

</div>
<div align="" class="copyright">Copyright &copy;  Standardline Express</div>

<div align="" class="developby"></div>
</body> 
</html>
