|
Server : Apache System : Linux p3plzcpnl507073.prod.phx3.secureserver.net 4.18.0-553.53.1.lve.el8.x86_64 #1 SMP Wed May 28 17:01:02 UTC 2025 x86_64 User : swg98tjyzel1 ( 5098476) PHP Version : 8.1.34 Disable Function : NONE Directory : /home/swg98tjyzel1/public_html/sgkexpress.in/ |
Upload File : |
<?php
include("include/header.php");
include("admin/include/config.php");
$id=$_GET['id'];
$result=mysqli_query($con,"SELECT * FROM tracking_details WHERE id=$id");
$row=mysqli_fetch_array($result);
$newDate = date('d-F-Y', strtotime($row['booking_date']));
// $newDate1 = date('d-F-Y', strtotime($row['rc_date']));
?>
<!-- Banner -->
<div class="banner inner-page abt-us-banner">
<div class="banner-content">
<div class="container">
<div class="row">
<div class="banner-text">
<h1 class="page-title">Dockect Details</h1>
<p class="page-breadcrumb">Home / <span class="current">Dockect Details</span></p>
</div>
</div>
</div>
</div>
</div>
<!-- End banner -->
<!-- Main Content Section -->
<div class="main-content products-section section-pad" disabled>
<div class="container">
<div class="row">
<div class="products-details row">
<div class="col-md-12 res-m-bttm">
<div class="content">
<span style="background-color: #665db3; font-size: 19px; color: white; height: 38px; width: 528px; text-align: center; padding: 6px;">Tracking Details </span><span><b>Docket No:</b> <?php echo $row['docket_no'];?></span>
<br><br>
<div class="table-responsive">
<table class="table table-bordered" style="width: 900px;">
<tbody>
<tr>
<th scope="row" style="font-size: 14px;">Docket No: <span style="color:#584d4d;"><?php echo $row['docket_no'];?></span></th>
<th scope="row">Destination: <span style="color:#584d4d;"><?php echo $row['destination'];?></span></th>
</tr>
<tr>
<th scope="row" style="font-size: 14px;">Booked From: <span style="color:#584d4d;"><?php echo $row['booked_from'];?></span></th>
<th scope="row" style="font-size: 14px;">Pcs: <span style="color:#584d4d;"><?php echo $row['pcs'];?></span></th>
</tr>
<tr>
<th scope="row" style="font-size: 14px;">Consignor: <span style="color:#584d4d;"><?php echo $row['consignor'];?></span></th>
<th scope="row" style="font-size: 14px;">Delivery Status: <span style="color:#584d4d;"><?php echo $row['delivery_status'];?></span>
<?php
if($row['delivery_status']=='Undelivered'){
?>
(<span style="color:red">Reason: </span><span><?php echo $row['delivery_reason']; ?></span>)
<?php
}
?>
</th>
</tr>
<tr>
<th scope="row" style="font-size: 14px;">Consignee: <span style="color:#584d4d;"><?php echo $row['consignee'];?></span></th>
<th scope="row" style="font-size: 14px;">RcDate: <span style="color:#584d4d;"><?php echo $row['rc_date'];?></span></th>
</tr>
<tr>
<th scope="row" style="font-size: 14px;">Origin: <span style="color:#584d4d;"><?php echo $row['origin'];?></span></th>
<th scope="row" style="font-size: 14px;">RcName: <span style="color:#584d4d;"><?php echo $row['rc_name'];?></span></th>
</tr>
<tr>
<th scope="row" style="font-size: 14px;">Date</th>
<th colspan="3" style="font-size: 14px;">Action</th>
</tr>
<tr>
<td style="font-size: 13px;"><?php echo $newDate;?><br><?php echo $newDate1;?></td>
<td style="font-size: 13px;" colspan="3"><?php echo $row['delivery_status']; ;?></td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- End Project section -->
<?php include("include/footer.php"); ?>