<!DOCTYPE html>
<html lang="en">


<!-- Mirrored from www.kosshipping.com/contact.php by HTTrack Website Copier/3.x [XR&CO'2014], Sun, 31 Mar 2019 09:46:47 GMT -->
<!-- Added by HTTrack -->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><!-- /Added by HTTrack -->
<head>

    <!-- Metadata & Basic Page Needs -->
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>Pallmart Courier Services - Tracking.</title>
    <meta name="autor" content="www.geniuscodes.com" />
    <meta name="copyright" content="Genius Codes 2016" />
    <meta name="description" content="Integrated logistics services and tailored, customer-focused solutions for imports and exports, cargo handling, courier services, warehousing, transportation and transit challenges." />
    <meta name="keywords" content="Ghana Freight, Ghana Logistics, Ghana Cargo, Ghana Shipping,Tema Freight, Tema Logistics, Tema Cargo, Tema Shipping, Freight, Forwarding, Shipping, Cargo, Exports & Important Ghana, Imports & Exports, Cargo Handling, Ghana, Africa, Best In Ghana" />

    <!-- Favicon -->
    <link rel="apple-touch-icon" sizes="57x57" href="apple-touch-icon-57x57.png">
    <link rel="apple-touch-icon" sizes="60x60" href="apple-touch-icon-60x60.png">
    <link rel="apple-touch-icon" sizes="72x72" href="apple-touch-icon-72x72.png">
    <link rel="apple-touch-icon" sizes="76x76" href="apple-touch-icon-76x76.png">
    <link rel="apple-touch-icon" sizes="114x114" href="apple-touch-icon-114x114.png">
    <link rel="apple-touch-icon" sizes="120x120" href="apple-touch-icon-120x120.png">
    <link rel="apple-touch-icon" sizes="144x144" href="apple-touch-icon-144x144.png">
    <link rel="apple-touch-icon" sizes="152x152" href="apple-touch-icon-152x152.png">
    <link rel="apple-touch-icon" sizes="180x180" href="apple-touch-icon-180x180.png">
    <link rel="icon" type="image/png" href="favicon-32x32.png" sizes="32x32">
    <link rel="icon" type="image/png" href="android-chrome-192x192.png" sizes="192x192">
    <link rel="icon" type="image/png" href="favicon-96x96.png" sizes="96x96">
    <link rel="icon" type="image/png" href="favicon-16x16.png" sizes="16x16">
    <link rel="manifest" href="manifest.json">
    <link rel="mask-icon" href="safari-pinned-tab.html" color="#0a599e">
    <meta name="apple-mobile-web-app-title" content="Pallmart Courier Services">
    <meta name="application-name" content="Pallmart Courier Services">
    <meta name="msapplication-TileColor" content="#0a599e">
    <meta name="msapplication-TileImage" content="mstile-144x144.png">
    <meta name="theme-color" content="#ffffff">

    <!-- Load CSS Files -->
    <link href="css/main.css" rel="stylesheet" type="text/css">

</head>

<body>
    <div id="preloader"></div>
    <div id="wrapper">
        <!-- header begin -->
        <header>
            <div class="container">
                <span id="menu-btn"></span>

                <div class="row">
                    <div class="col-md-3">

                        <!-- logo begin -->
                        <div id="logo">
                            <div class="inner">
                                <a href="index-2.html">
                                    <img src="img/logo.png" alt="" class="logo-1">
                                    <img src="img/logo.png" alt="" class="logo-2">
                                </a>

                            </div>
                        </div>
                        <!-- logo close -->

                    </div>

                    <div class="col-md-9">

                        <!-- mainmenu begin -->
                        <nav id="mainmenu-container">
                            <ul id="mainmenu">

                                <li><a href="index-2.html">Home</a>
                                </li>

                                <li><a href="about.html">About Us</a>
                                    <ul>
                                        <li><a href="port.html">Client Portfolio</a></li>
                                    </ul>
                                </li>

                                <li><a href="services.html">Our Services</a>
                                    <ul>
                                        <li><a href="lfs.html">Land Freight</a></li>
                                        <li><a href="afs.html">Air Freight</a></li>
                                        <li><a href="sfs.html">Sea Freight</a></li>
                                        <li><a href="ffss.html">Freight 
										Forwarding Solutions</a></li>
                                    </ul>
                                </li>
                                
                               <li><a href="tracking.html">Tracking</a>


                                <li><a href="contact.html">Contact Us</a>
                                    <ul>
                                        <li><a href="gaq.html">Get A Quote</a></li>
                                    </ul>
                                </li>

                            </ul>
                        </nav>
                        <!-- mainmenu close -->

                        <!-- search -->
                        <div class="search text-right">
                            <input type="text" name="search" id="search" placeholder="search">
							<button type="submit" class="btn-search-icon">
								<i class="fa fa-search"></i>
							</button>
                        </div>
                        <!-- social icons close -->

                    </div>
                </div>
            </div>
        </header>
        <!-- header close -->

        <!-- subheader begin -->
        <section id="subheader" class="page-contact no-bottom" data-stellar-background-ratio="0.5">
            <div class="inner">
                <div class="container">
                    <div class="row">
                        <div class="col-md-12">
                            <h1>Tracking</h1>
                        </div>
                    </div>
                </div>
            </div>
        </section>
        <!-- subheader close -->



        <!-- Tracking Results Begin -->
		
		<?php
include "config/database.php";


$tid = $_GET['track'];
?>


<!DOCTYPE html>
<html lang="en">
<head>
  <title>Shipment Result Page</title>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css">
 
  <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script>
</head>
<body>
<style>


th{
background-color:#fff;
}








body {
   /* just for this demo. */
   
   padding: 50px;
   padding-top: 0px;
}

.btn {
   /* just for this demo. */
   
   margin-top: 5px;
}

.btn-arrow-right,
.btn-arrow-left {
   position: relative;
   padding-left: 18px;
   padding-right: 18px;
}

.btn-arrow-right {
   padding-left: 36px;
}

.btn-arrow-left {
   padding-right: 36px;
}

.btn-arrow-right:before,
.btn-arrow-right:after,
.btn-arrow-left:before,
.btn-arrow-left:after {
  
   content: "";
   position: absolute;
   top: 5px;
  
   
   width: 22px;
  
   
   height: 22px;
  
   
   background: inherit;
 
   
   border: inherit;
  
   
   border-left-color: transparent;

   border-bottom-color: transparent;
 
   
   border-radius: 0px 4px 0px 0px;
 
   -webkit-border-radius: 0px 4px 0px 0px;
   -moz-border-radius: 0px 4px 0px 0px;
}

.btn-arrow-right:before,
.btn-arrow-right:after {
   transform: rotate(45deg);

   
   -webkit-transform: rotate(45deg);
   -moz-transform: rotate(45deg);
   -o-transform: rotate(45deg);
   -ms-transform: rotate(45deg);
}

.btn-arrow-left:before,
.btn-arrow-left:after {
   transform: rotate(225deg);
   
   
   -webkit-transform: rotate(225deg);
   -moz-transform: rotate(225deg);
   -o-transform: rotate(225deg);
   -ms-transform: rotate(225deg);
}

.btn-arrow-right:before,
.btn-arrow-left:before {
   
   
   left: -11px;
}

.btn-arrow-right:after,
.btn-arrow-left:after {
  
   right: -11px;
}

.btn-arrow-right:after,
.btn-arrow-left:before {
  
   
   z-index: 1;
}

.btn-arrow-right:before,
.btn-arrow-left:after {
   
   
   background-color: white;
}

body{

background-color:
}
</style>
<div class="cantainer"  style="background-color:#4076c7;margin-left:1%;width:98%;">


	<?php 
			
			$sql= "SELECT * FROM track WHERE pid = '$tid'";
			  $result = mysqli_query($link,$sql);
			  if(mysqli_num_rows($result) > 0){
				$row = mysqli_fetch_assoc($result); 
              
				$row['email'];
				if(isset($row['location'])){

					$location = $row['location'];
				}
				  
			  }
				  
				  ?>
                                


	
	<?php 
			
			$sql= "SELECT * FROM track WHERE pid = '$tid'";
			  $result = mysqli_query($link,$sql);
			  if(mysqli_num_rows($result) > 0){
				$row = mysqli_fetch_assoc($result); 
              
				$row['status'];
				
				
				
				// if processed
				
				if(isset($row['status']) && $row['status'] == "process"  ){

			 $confirm  =   ' 
			    
			    
			    <button type="button" class="btn btn-primary btn-arrow-right">Processing</button> 
			    ';
			    
			   
				}
				
				
				// if quality checked
				
				
				
				
				if(isset($row['status']) && $row['status'] == "quality" ){

							    
				    $confirm  =   '
				    
				    
				    <button type="button" class="btn btn-primary btn-arrow-right">Processing</button>    
<button type="button" class="btn btn-info btn-arrow-right">Checked</button>
			    ';
			
				}
				
				
				// if dispatched
				
				if(isset($row['status']) && $row['status'] == "dispatch" ){
				    
				    
				    
				    
				    $confirm  =   ' 
				    
				    
				    
				    <button type="button" class="btn btn-primary btn-arrow-right">Processing</button>    
<button type="button" class="btn btn-info btn-arrow-right">Checked</button>
<button type="button" class="btn btn-info btn-arrow-right">Dispatched</button>

			    
			    ';
			    

			
			
				}
				
				
				
				
				
		// if withheld
				
				
				if(isset($row['status']) && $row['status'] == "withheld" ){


 
				    $confirm  =   ' 
				    
				    
				    <button type="button" class="btn btn-primary btn-arrow-right">Processing</button>    
<button type="button" class="btn btn-info btn-arrow-right">Checked</button>
<button type="button" class="btn btn-warning btn-arrow-right">Dispatched</button>
<button type="button" class="btn btn-danger btn-arrow-right">Withheld</button>
			
			
			
			';
				}
				
				
				
				
				// if delivered
				
				
				if(isset($row['status']) && $row['status'] == "deliver" ){


 
				    $confirm  =   ' 
				    
				    
				    <button type="button" class="btn btn-primary btn-arrow-right">Processing</button>    
<button type="button" class="btn btn-info btn-arrow-right">Checked</button>
<button type="button" class="btn btn-info btn-arrow-right">Dispatched</button>
<button type="button" class="btn btn-success btn-arrow-right">Delivered</button>
			
			
			
			';
				}
				
				
				  
			  }
				  
				  ?>


<div style="margin-top:10px; border: 1px #0cc8cf solid; background-color:#1c3075; ">
<h4 style="color:#fff; margin-left:5px">Tracking No: <?php echo $row['pid'];?> </h4>
<hr style="margin-top:-5px"></hr>

<div class="row" style="margin-left:10px;color:#fff">
    
<?php  echo $confirm?>

    
    <div class="col-sm-12 col-lg-4 col-md-4 col-xs-12">
      <h5><u>Shipment Dates</u></h5>
      <p>Depature Date: <?php echo $row['shipdate'];?></p>
      <p>Delivery Date: <?php echo $row['edd'];?></p>
    </div>
    <div class="col-sm-12 col-lg-4 col-md-4 col-xs-12" style="">
      <h5><u>Destination</u></h5>
      <p><?php echo $row['raddress'];?></p>
     
    </div>
   
</div>

</div>




<div style="margin-top:10px; border: 1px #0cc8cf solid; background-color:#1c3075; ">
<h4 style="color:#fff; margin-left:5px">Shipment Profile</h4>
<hr style="margin-top:-5px"></hr>

<div class="row" style="margin-left:10px;color:#fff">
    <div class="col-sm-12 col-lg-4 col-md-4 col-xs-12">
      <h5><u>Sender Details</u></h5>
      <p>Sender Name: <?php echo $row['sname'];?></br></p>
	  <p>Sender Address: <?php echo $row['saddress'];?></br></p>
	  <p>Package Location: <?php echo $row['location'];?></br></p>
      
    </div>
    <div class="col-sm-12 col-lg-4 col-md-4 col-xs-12" style="">
      <h5><u>Receiver Details</u></h5>
      <p>Receiver Name: <?php echo $row['rname'];?></br></p>
	  <p>Receiver Address: <?php echo $row['raddress'];?></br></p>
	  <p>Receiver Email: <?php echo $row['email'];?></br></p>
      
    </div>
   
</div>

</div>



<div style="margin-top:10px; border: 1px #0cc8cf solid; background-color:#1c3075; ">
<h4 style="color:#fff; margin-left:5px">Shipment Content/Description</h4>

<hr style="margin-top:-5px"></hr>

<div class="row" style="margin-left:10px;color:#fff">
    <div class="col-sm-12 col-lg-4 col-md-4 col-xs-12">
      <p>SKU Number: Cargo7200<?php echo $row['id'];?></br></p>
      
    </div>
    <div class="col-sm-12 col-lg-4 col-md-4 col-xs-12" style="">
      <p>Quantity: <?php echo $row['qty'];?></br></p>
      
    </div>
    
    
     <div class="col-sm-12 col-lg-4 col-md-4 col-xs-12" style="">
      <p>Weight: <?php echo $row['weight'];?></br></p>
      
    </div>
   
</div>




</div>

<div style="margin-top:10px; border: 1px #0cc8cf solid; background-color:#1c3075; ">
<h4 style="color:#fff; margin-left:5px">Shipment Facts</h4>
<hr style="margin-top:-5px"></hr>

<div class="row" style="margin-left:10px;color:#fff">
    <div class="col-sm-12 col-lg-4 col-md-4 col-xs-12">
      
      <p>Service Type: <?php echo $row['servicetype'];?></br></p>
      
    </div>
    <div class="col-sm-12 col-lg-4 col-md-4 col-xs-12" style="">
      <p>Content: <?php echo $row['pdesc'];?></br></p>
    </div>
    
    
     <div class="col-sm-12 col-lg-4 col-md-4 col-xs-12" style="">
      <p>Remark: <?php echo $row['remark'];?></br></p>
      
    </div>
   
</div>

</div>

<div style="margin-top:10px; border: 1px #0cc8cf solid; background-color:#1c3075; ">
<h4 style="color:#fff; margin-left:5px">Shipment Travel History</h4>
<hr style="margin-top:-5px"></hr>

 <p style="color:#fff; margin-left:5px">All shipment travel activities  is displayed here</p>
</div>
      <div class="table-responsive"> 
  <table class="table table-striped table-bordered " style="; border: 1px yellow solid; ">
    <thead>
      <tr>
        <th>Date</th>
        <th>Activities</th>
        <th>Location</th>
		 <th>Details</th>
      </tr>
    </thead>
    <tbody>
        
        
        
           
                                	<?php 
						
						$sql= "SELECT * FROM history WHERE pid = '$tid'";
			  $result = mysqli_query($link,$sql);
			  if(mysqli_num_rows($result) > 0){
				  while($row = mysqli_fetch_assoc($result)){  
				  
				  
				  
				  ?>
				  
      <tr style="background-color:black;color:#fff;">
        <td ><?php echo $row['pdate'];?></td>
        <td><?php echo $row['status'];?></td>
        <td><?php echo $row['location'];?></td>
		 <td><?php echo $row['remark'];?></td>
      </tr>
      
     
      
      <?php    
          }
          }
?> 
                 
     
    </tbody>
  </table>
  </div>
</div>
	<?php 
			
			$sql= "SELECT * FROM track WHERE pid = '$tid'";
			  $result = mysqli_query($link,$sql);
			  if(mysqli_num_rows($result) > 0){
				$row = mysqli_fetch_assoc($result); 
              
				$row['email'];
				if(isset($row['image'])){

					$image = $row['image'];
				}
				  
			  }
				  
				  ?>

    <!-- content close -->

    <!-- footer begin -->
    <footer>

        <div class="subfooter">
            powered by <a href=""> 
			Kwas Co. ®</a> 2019
        </div>

    </footer>
    <!-- footer close -->

    </div>

    <!-- Load JS Files -->
    <script src="js/jquery.min.js"></script>
    <script src="js/bootstrap.min.js"></script>
    <script src="js/jquery.isotope.min.js"></script>
    <script src="js/easing.js"></script>
    <script src="js/jquery.ui.totop.js"></script>
    <script src="js/selectnav.html"></script>
    <script src="js/ender.js"></script>
    <script src="js/owl.carousel.js"></script>
    <script src="js/jquery.fitvids.js"></script>
    <script src="js/jquery.plugin.js"></script>
    <script src="js/wow.min.js"></script>
    <script src="js/jquery.magnific-popup.min.js"></script>
    <script src="js/tweecool.js"></script>
    <script src="js/instafeed.min.js"></script>
    <script src="js/jquery.stellar.js"></script>
    <script src="js/typed.js"></script>

    <!-- Theme and Plugins -->
    <script src="js/custom.js"></script>
    <script src="js/custom-tweecool.js"></script>
    <script src="js/custom-instafeed.js"></script>
    <script src="js/form-contact.js"></script>
    <script src="https://maps.googleapis.com/maps/api/js?v=3.exp"></script>
    <script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?key=AIzaSyAX-Qfj0L3rzwIU2KbZwrb8xTF-HMAfryU"></script>
    <script src="js/map-1.js"></script>
    <script src="js/map-2.js"></script>

    <!--Start of Tawk.to Script-->
.    <!--End of Tawk.to Script-->
	
</body>


<!-- Mirrored from www.kosshipping.com/contact.php by HTTrack Website Copier/3.x [XR&CO'2014], Sun, 31 Mar 2019 09:46:49 GMT -->
</html>
