<?php
session_start();
	//Check whether the session variable SESS_MEMBER_ID is present or not
if(!isset($_SESSION['NUM']) || (trim($_SESSION['NUM']) == '')) {
		@header("location: tracker.php");
		exit();
	}	
?>
<!DOCTYPE html>
<html>
<head>
	<title>Welcome to 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">
  <style type="text/css">
  .style12 {font-family: Arial, Helvetica, sans-serif; font-size: 12px; color: #006633; }
.style24 {font-family: Arial, Helvetica, sans-serif; font-size: 12px; }
  .style10 {font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: #006633;
}
.style13 {font-family: Arial, "Arial Black", "Times New Roman";
	font-size: 12px;
}




<!-- CSS goes in the document HEAD or added to your external stylesheet -->
<style type="text/css">
table.gridtable {
	font-family: verdana,arial,sans-serif;
	font-size:11px;
	color:#333333;
	border-width: 1px;
	border-color: #F16621;
	border-collapse: collapse;
}
table.gridtable th {
	border-width:1px;
	padding: 8px;
	border-style: solid;
	border-color: #F16621;
	background-color: #dedede;
}
table.gridtable td {
	border-width: 1px;
	padding: 8px;
	border-style: solid;
	border-color: #F16621;
	background-color: #ffffff;
}
</style>
</head>
<body style="background-color:#dddddd;">
<div class="top_logo"><img src="logo.fw.png" width="289" height="34" /></div>
<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:991px"></div>
	<!----begin------Insert to your webpage where you want to display the slider-->
        <div id='hislider1' style=" max-width:991px;  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="991" border="0" align="center" cellpadding="0" cellspacing="0">
            <tr>
              <td valign="top"><table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
                <tr>
                  <td width="92%" valign="baseline"><p class="headtext">Online Tracking</p></td>
                  <td width="8%" valign="baseline"><a href="tracker.php"><font color="#FF0000">Exit page</font></a></td>
                </tr>
                <tr>
                  <td colspan="2" valign="top"><?php
					
					
					
					 $num=$_SESSION['SESS_MEMBER_ID'];
					 
					 
					
					
					   	//Include database connection details
	              require_once('Connection/conn.php');
				  $addadmin = mysql_query("select * from tracking where num = '$num'");
				if(!$addadmin){
					echo("error accur in performating the query" . mysql_error());
					}
                     while($row=mysql_fetch_array($addadmin)) {
						
					 $id = $row['id'];
					 $num= $row['num'];
					 $message= $row['message'];
					 
					
					}
					
?>
                    <table width="700" border="0" align="center" cellpadding="0" cellspacing="0">
                    <tr>
                      <td><fieldset>
                        <legend class="headtext"><span class="headtext">Tracking Information</span></legend>
                        <table width="100%" border="0" cellspacing="0" cellpadding="0">
                          <tr>
                            <td valign="top"><?php
					
					
					
					 $num=$_SESSION['NUM'];
					 
					 
					
					
					   	//Include database connection details
	              require_once('admin/Connection/conn.php');
				  $addadmin = mysql_query("select * from tracking where num = '$num'");
				if(!$addadmin){
					echo("error accur in performating the query" . mysql_error());
					}
					
					echo "<table width='100%' border='0'>";
                     while($row=mysql_fetch_array($addadmin)) {
						
					 $id = $row['id'];
					 $num= $row['num'];
	       	$message= $row['message'];
			$status= $row['status'];
					
					
					}
					echo "</table>";
					
?></td>
                          </tr>
                          <tr>
                            <td><table width="700" border="0" align="center" cellpadding="3" cellspacing="3" class="gridtable">
                              <tr>
                                <td><span class="style13">Tracking Number</span></td>
                                <td class="txt"><?php echo $num;?></td>
                              </tr>
                              <tr>
                                <td>Message</td>
                                <td class="txt"><?php echo $message;?></td>
                              </tr>
                              <tr>
                                <td width="19%">Status</td>
                                <td width="81%" class="txt"><?php echo nl2br($status);?></td>
                              </tr>
                            </table></td>
                          </tr>
                        </table>
                      </fieldset></td>
                    </tr>
                  </table>
                  <p>&nbsp;</p>
                  <p>&nbsp;</p></td>
                </tr>
                <tr>
                  <td colspan="2" valign="top" class="txt"><ul type="square"></td>
                </tr>
              </table></td>
            </tr>
          </table>
         
        </div>
      <div  class="foterline"> 

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

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