
 
<!DOCTYPE html><head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <meta charset="utf-8">
  <meta http-equiv="x-ua-compatible" content="ie=edge">
<title> Express Way Fly LTD</title>
  <meta name="description" content=" Express Way Fly LTD">
  <meta name="viewport" content="width=device-width,initial-scale=1">

  
  <script type="text/javascript" src="css/f72daea3b7"></script><script src="js/nr-1039.js"></script>
  <script src="js/main.js"></script>

<script src="js/ajax.js"></script>
   
<link rel="stylesheet" href="css/vendor.css">
  <link rel="stylesheet" href="css/app.css">
</head>
<body ng-app="aceCrmApp">
<!--[if lt IE 7]>
<p class="browserupgrade">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade
  your browser</a> to improve your experience.</p>
<![endif]-->
<header  class="alternate"><div class="header-main">


<div class="container"><!----><div class="template-container" ng-include="headerCtrl.template">

<?php


include "dbconnection.php";

if(isset($_POST['trackbutton']))
{

$trackingno = $_POST['trackingno'];


//$trackingno = 'HAB1145Q';

	
	$query = "select * from tracking where trackingno = '$trackingno'"; 
	$result = mysqli_query($dbcon,$query) ;
	
	if($result->num_rows > 0)
	{
	 // $frow = mysqli_fetch_assoc($result);
	  
	 // if($frow['active'] == 1)
	 // {

		
				
		//echo"<td> SENDER:". $row['sender'] "</td><td> RECEIVER:".$row['receiver']."<br>TEL:".$row['recphone']."<br>ADDRESS:".$row['address']." </td>";
		while($row = mysqli_fetch_assoc($result))
		{
		
			if($row['active'] == 1)
			{
			
			
				
				
	echo



'<div class="header-content"><div class="logo-container"><a ui-sref="tracker" href="track.php"><img src="img/ace_logo.png" class="logo" alt=" Express Way Fly LTD"><span>Order Tracker</span></a></div><div class="tagline hide-on-med-and-down"><strong><font size="2" face="Verdana" color="#FFFFFF">Welcome</font></strong><font face="Verdana">&nbsp; </font> '. $row['receiver'].' <font face="Verdana"> | </font> <a href="track.php">
				<font color="#FF0000" size="2" face="Verdana"> <span style="text-decoration: none">Logout</span></font></a></div></div></div></div></div><ace-notification><div class="notification-container" ng-swipe-left="notificationCtrl.close()"></div></ace-notification></header>

				
				
		 


 <div class="main-content">
  <div class="main-container" id="mainContainer">
    <div id="top"></div>
    <!----><div class="content" ui-view=""><div class="update-order-notification" ace-in-place-notification="" notification-type=" " notification-title="orderCtrl.packagesList" notification-title-args="{RES: orderCtrl.editingPackagesCount, packagesList: orderCtrl.packagesList}" notification-open="orderCtrl.order.temporary"><div class="notification-container" ng-swipe-left="notificationCtrl.close()">
	<div id="notification" class="notification main-notification success warning" ng-style="{"margin-top" : notificationCtrl.notification.open ? 0 : (-1 * notificationCtrl.elemHeight) + "px"}" ng-class="{open: notificationCtrl.notification.open,
            success: notificationCtrl.notification.type === "ok",
            error: notificationCtrl.notification.type === "err",
            warning: notificationCtrl.notification.type === "warn",
            info: notificationCtrl.notification.type === "info"}" style="">
			<div class="container"><ng-md-icon class="notification-icon" icon="warning" ace-notification-icon="notificationCtrl.notification.type">
			<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path d="M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z"></path></svg></ng-md-icon>
			<div class="notification-message"><p><strong class="title" ng-bind="notificationCtrl.notification.title"></strong></p><p class="message hide-on-small-only" ng-bind-html="notificationCtrl.notification.message" ng-hide=""></p></div>
			<div class="actions"><!----> <!----></div></div></div></div></div><sub-header><div class="container"><h1 class="sub-header">Order</h1></div></sub-header><div class="container" ng-transclude=""><!----><section class="order-details">
			<div class="order-details-summary alternatestyle" ng-class="{alternatestyle : orderCtrl.alternetStyle === "tracker"  }">
			
			<div class="card order-customer-details"><div class="card-content"><!----><!---->
			<div class="card-title alt" ng-if="orderCtrl.alternetStyle === "tracker"">Tracking #'.$trackingno.'</div><!---->
			<div class="details-container"><!----><div class="details" ng-if="orderCtrl.alternetStyle === "tracker"">
			
			<div class="small-title">Senders Details</div><p class="profile-name" flex="" ng-bind-template="'. $row['sender'].' ">'. $row['sender'].' </p>
			
			<address><span ng-bind="orderCtrl.order.deliveryAddress">Afghanistan</span></address>
			<dl><!----><dd ng-if="orderCtrl.order.customerDetails.phoneNumber || orderCtrl.order.phoneNumber" ng-bind="::orderCtrl.order.customerDetails.phoneNumber || orderCtrl.order.phoneNumber | tel">None</dd><!----><!----><!----></dl>
			
			<p ng-bind="orderCtrl.order.customerDetails.email"> '. $row['semail'].'</p></div><!---->
			
			<div class="details"><!----><div class="small-title" ng-if="orderCtrl.alternetStyle === "tracker"">Receivers Details</div>
			<!----><p class="profile-name" flex="" ng-bind-template="'. $row['receiver'].'">'. $row['receiver'].'</p>
			
			<address><span ng-bind="orderCtrl.order.deliveryAddress"> '. $row['address'].'</span></address>
			
			<dl><!----><dd ng-if="orderCtrl.order.customerDetails.phoneNumber || orderCtrl.order.phoneNumber" ng-bind="::orderCtrl.order.customerDetails.phoneNumber || orderCtrl.order.phoneNumber | tel">'. $row['recphone'].'</dd><!----><!----><!----></dl><p ng-bind="orderCtrl.order.customerDetails.email"> '. $row['remail'].'</p></div></div></div></div></div><div class="order-packages"><!----><div ace-package="pack" ng-repeat="pack in orderCtrl.order.packages | orderBy:"id"" is-current="orderCtrl.packNo === pack.packageNumber || orderCtrl.expandAll" allow-edit="orderCtrl.crudOps"><form ng-submit="packCtrl.update(pack, packageForm)" name="packageForm" novalidate="" class="ng-pristine ng-valid"><div class="card-with-action">
			<div class="card order-package" ace-collapsible=""><div class="card-content"><div class="card-title" ace-collapsible-origin="">
			<div class="collapsible-origin collapsible-expanded" ng-class="{"collapsible-expanded": collapseCtrl.expanded}"><ng-md-icon icon="expand_more" class="collapsible-origin-icon">
			<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path d="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"></path></svg></ng-md-icon>
			<div ng-transclude=""><span class="package-title">Package 8346457859</span> <!----> <!----><iframe></iframe></div></div></div><div ace-collapsible-target="" ng-class="{expanded: packCtrl.opened}" class="expanded"><div class="collapsible-target collapsible-expanded" ng-class="{"collapsible-expanded": collapseCtrl.expanded}" ng-style="{"height": collapseCtrl.currentHeight}" style="height: auto;"><div class="collapsible-target-content" ng-transclude=""><div class="package-content"><div class="package-summary-container"><div class="package-summary">
			
			<div class="package-state"><div class="value no-title"><dl>Status:<dd> '. $row['status'].'</dd><br><!----><!----><!----><dd>Current Location:  <span style = "font-weight:bold; color:red;">'. $row['clocation'].' </span>  <b></b></dd></dl></div><div class="widget-container"><div title="" class="widget-marker" ng-style="{left: "calc((100% / 5) * " + pack.marker.position + " - 23px)"}" style="right: calc(100% - 23px);"><img ng-src="assets/images/state-progress/marker-dispatched.svg" src="img/marker-dispatched.svg"><!----></div><div class="widget-background success" ng-class="pack.marker.back"></div></div></div><div class="package-additional-info"><div class="value"><dl><dd > '. $row['address'].'</dd><dt>Destination</dt></dl></div><!----><div class="estimated-delivery" ng-if="pack.minEstDeliveryDate &amp;&amp; pack.maxEstDeliveryDate">
			
			<dl><dt>Date Sent:</dt><dd><span> '. $row['dispdate'].'</span><!----></dd></dl></div><!----><div class="estimated-delivery" ng-if="pack.minEstDeliveryDate &amp;&amp; pack.maxEstDeliveryDate"><dl><dt>Estimated Delivery Date:</dt><dd><span>'. $row['pickdate'].'</span><!----></dd></dl></div><!----></div></div><!----></div><div class="package-details" ace-tabs=""><ul class="tabs"><li class="tab"><a ng-href="#228319-items" href="#228319-items" class="active" style="">Package Description</a></li><div class="indicator" style="right: 916px; left: 0px;"></div></ul><div id="228319-items" class="tab-container active" style=""><table ng-form="package-228319" class="package-items ace-table responsive ng-pristine ng-valid" ng-class="{"with-error": packageForm["package-"+ pack.id].$invalid &amp;&amp; packageForm.$submitted}" cellspacing="0" cellpadding="0"><colgroup><col class="extra-large"><col class="large"><col class="small"><col class="large"><!----><!----></colgroup><thead><tr><th class="text-left">Item Description</th><th class="text-right">Parcel Colour</th><th class="text-right">Quantity</th><th class="text-right">Date</th><!----><!----></tr></thead><tbody><!----><tr ng-repeat="packItem in pack.items | orderBy:"id"" ng-class="{"last-row": $last &amp;&amp; !packCtrl.userEdit, "to-be-deleted": packItem.toBeDeleted}" class="last-row"><td class="text-left extra-large"><span class="item-label">Item</span> <span class="item-value" ng-bind="::packItem.description"> '. $row['packagetype'].'</span></td><td class="text-right large"><span class="item-label">Parcel Colour</span> <span class="item-value" ng-bind="::packItem.price | currency"> '. $row['color'].'</span></td><td class="text-right small"><span class="item-label">Quantity</span> <span class="item-value" ng-bind="::packItem.quantity">7 bars</span></td><td class="text-right large"><span class="item-label">Date</span> <span class="item-value" ng-bind="::packItem.price * packItem.quantity | currency">10-12-2018</span></td><!----><!----></tr><!----><!----></tbody><tfoot><tr class="error-row" ng-class="{"with-error": packageForm["package-"+ pack.id].$invalid &amp;&amp; (packageForm.$submitted &amp;&amp; packageForm.$error.required || packageForm.$submitted &amp;&amp; packageForm.$error.pattern)}"><td ng-attr-colspan="{{(packCtrl.userEdit &amp;&amp; packCtrl.canEdit) || pack.showItemsStatus ? 5 : 4}}" colspan="4"><!----><!----><!----></td></tr><!----></tfoot></table></div></div></div><!----></div></div></div></div></div></div></form></div><!----></div><!----></section>
                        <!----></div></div>
    <footer><!----><div class="container" ng-include="footerCtrl.template"><div class="row"><div class="col s4 l6 center-on-small-only"><div class="footer-logo"><span>FAST LINK</span> Diplomatic trust link  Service</div></div></div><div class="row no-space"><div class="col s12"><div class="divider"></div></div></div><div class="row"><div class="col enquires center-on-small-only"><small>For enquires: </small><a class="light" href="mailto:delivery@fastlinkservice.ml"><small>delivery@fastlinkservice.ml</small></a></div><div class="col copyright center-on-small-only"><small>Copyright ©  Express Way Fly LTD 2019. All rights reserved.</small></div></div></div></footer>
  </div>
  
  
  
  
  
</div>';


		}
			else
			{
				echo "<span style = 'font-weight:bold; color:red;'>Invalid Tracking Code or Non Receipt of Payment/Confirmation !</span> : ";
			}
			
		}
		
		 
	}
    else
	{
           echo "<span style = 'font-weight:bold; color:red;'>Invalid Tracking No</span> : ".$trackingno;
	}	
	         
//	}
//	else
//	{
//	  echo "<span style = 'font-weight:bold; color:red;'>Invalid Tracking Code or Non Receipt of Payment/Confirmation !</span> : ";
//	}	
	
	
}






?>


<!---->
<div ace-dialog=""><div class="lk-dialog modal modal-fixed-footer"><div class="lk-dialog-content modal-content"><div class="lk-dialog-header"><h2></h2><span flex=""></span> <button type="button" class="btn btn-round btn-icon" ng-hide="modalCtrl.conf.locals.hideClose" ng-click="modalCtrl.conf.locals.operations.cancel()"><ng-md-icon class="close" icon="close"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"></path></svg></ng-md-icon></button></div><!----></div><!----></div></div>

 

<script src="js/app.js"></script>
  
        

<div>
  <link href="css/css.css" rel="stylesheet" type="text/css">
  
</div></body></html>