<?php require_once('header.php'); ?>

<?php if($session_id ==1 || $allPermissions['tracking']['read']=="1"){ ?>

	<section class="content-header">
		<div class="content-header-left">
			<h2>View Shipment Tracking</h2> </div>
	</section>
	<br>
	
	<section>
		<center>
			<h4 style="blue">Shipment Tracking</h4></center>
		<form action="single-tracking.php" method="POST">
			<div class="row">
				<div class="col-md-2"></div>
				<div class="col-md-6">
				    <div class="form-group">
				        <div class="col-md-4">
				    <select id="type" class='form-control' name="type">
				        <option value='cscs_awb'>AWB</option>
				        <?php if($clientType=="Admin"){ ?>
				        <!--<option value='3pl_awb' selected>3PL AWB</option>-->
				        <?php } ?>
				        
				        <!--<option value='ref_no'>Ref No</option>-->
				    </select>  
				    </div>
				    <div class="col-md-6">
	        			    <input type="text" name="track_id" class="form-control" placeholder="Enter AWB Number">     
				        </div>
				        <div class="col-md-2">
				            <center>
						<input type="submit" class="btn btn-success" value="Search">
					</center>
				</div>
				    </div>
				</div>
				<div class="col-md-2"></div>
			</div>
			<br>
			<br>
			<br> 
		</form>
	</section>
	

	<?php }else{ ?>
<center><h4 style="color:red;">You don't have permission to view this page </h4></center>
<?php } ?>

	<?php require_once('footer.php'); ?>