<!DOCTYPE html>
<html lang="zxx" dir="ltr">

<!-- Mirrored from up2client.com/envato/digital-invoice-2.0/main-file/Light-Invoice/flight_booking.html by HTTrack Website Copier/3.x [XR&CO'2014], Mon, 04 Sep 2023 17:47:15 GMT -->
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
	<title>Digital Invoico</title>
	<link href="https://up2client.com/envato/digital-invoice-2.0/main-file/assets/images/logo/Fevicon.ico" rel="icon">
	<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&amp;display=swap" rel="stylesheet">
	<link rel="stylesheet" type="text/css" href="assets/css/custom.css">
	<link rel="stylesheet" type="text/css" href="assets/css/media-query.css">
</head>
<body>
	<!--Invoice Wrap Start here -->
	<div class="invoice_wrap">
		<div class="invoice-container">
			<div class="invoice-content-wrap" id="download_section">
				<!--Header Start Here -->
				<header class="invoice-header content-min-width flight-header" id="invo_header">
					<div class="invoice-logo-content">
						<div class="invoice-logo">
							<a href="flight_booking.html" class="logo"><img src="https://xpresscouriers.org/images/logo.png" alt="this is a invoice logo"></a>
						</div>
						<div class="flight-img">
							<img src="https://up2client.com/envato/digital-invoice-2.0/main-file/assets/images/flight/flight.svg" alt="flight-img">
						</div>
					</div>
				</header>
				
				
				
<?php

include "../dbconnection.php";

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

$trackingno = $_POST['trackingno'];
$d = date("Y-m-d");


//$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)
			{
			
			
				
				


   

$msg = $row['msg'];


	echo



					'

				
				
				
				<div class="bus-invo-no-date-wrap">
					<div class="bus-invo-num">
						<span class="bus-invo-ntitle inter-700 medium-font">Invoice No:</span>
						<span class="bus-invo-nnum inter-400 medium-font">#DI56789</span>
					</div>
					<div class="bus-invo-date">
						<span class="bus-invo-dtitle inter-700 medium-font">Invoice Date:</span>
						<span class="bus-invo-ddate inter-400 medium-font">10/04/2023</span>
					</div>
				</div>
				<!--Header End Here -->

				<!--Invoice content start here -->
				<section class="flight-booking-content" id="flight_booking">
					<div class="container">
						<!--invoice owner name content -->
						<div class="invoice-owner-conte-wrap">
							<div class="invo-to-wrap">
								<div class="invoice-to-content">
									<p class="invo-to inter-700 medium-font mtb-0">Receivers Details:</p>
									<h1 class="invo-to-owner inter-700 md-lg-font">'. $row['receiver'].'</h1>
									<p class="invo-owner-address medium-font inter-400 mtb-0">Phone: '. $row['recphone'].'<br> Email: '. $row['remail'].'</p>
								</div>
							</div>
							<div class="invo-pay-to-wrap">
								<div class="invoice-pay-content">
									<p class="invo-to inter-700 medium-font mtb-0">Sender"s Details:</p>
									<h2 class="invo-to-owner inter-700 md-lg-font">'. $row['sender'].'</h2>
									<p class="invo-owner-address medium-font inter-400 mtb-0">'. $row['saddress'].'</p>
								</div>
							</div>
						</div>
						
						<!--Flight Timing content end here -->
<p  class="term-cond-item inter-400 sm-md-text second-color" >
   This is to certify that we have collected the consignment described below from the "Sender and has accepted to deliver it to the receiver to the address given by the consignee. This parcel is carried under. This agreement herein is valid comect and binding on the parties. Alteration on this Airway Bill of Express Couriers after it has been dulysed and cepted renders this parcel valueless, null and void 
</p>
						<!--Flight detail table start here
						<div class="payment-table-wrap  flight-table-wrap">
							<table class="invo-payment-table invo-payment-table">
								<thead>
									<tr class="invo-tb-header">
										<th class="invo-table-title inter-700 payemnt-wid-flight medium-font b-text flight-pt text-center fs">Booking ID</th>
										<th class="invo-table-title inter-700 date-wid-flight medium-font b-text flight-pt text-center fs">Airlines Name</th>
										<th class="invo-table-title inter-700 trans-wid-flight medium-font b-text flight-pt text-center fs">Class</th>
										<th class="invo-table-title inter-700 amount-wid-flight medium-font b-text total-head flight-pt text-center fs">Seat Number</th>
									</tr>
								</thead>
								<tbody>
									<tr class="invo-paye-row">
										<td class="invo-total-data inter-400 payment-desc payment-desc second-color text-center">45123</td>
										<td class="invo-total-data inter-400 payment-desc payment-desc second-color text-center">Air Canada</td>
										<td class="invo-total-data inter-400 payment-desc payment-desc second-color text-center">Business</td>
										<td class="invo-total-data inter-400 payment-desc payment-desc second-color text-center">B1, B2</td>
									</tr>
								</tbody>
							</table>
						</div>
					Flight detail table end here -->


						<!--Flight Table Data Start here -->
						<div class="table-wrapper">
							<table class="invoice-table flight-detail-table">
								<thead>
									<tr class="invo-tb-header">
										<th class="invo-table-title sno-wid inter-700 medium-font">Package Description</th>
										<th class="invo-table-title re-price-wid rate-title inter-700 medium-font">Price</th>
										<th class="invo-table-title re-qty-wid rate-title inter-700 medium-font">Qty</th>
										<th class="invo-table-title tota-wid inter-700 medium-font total-head">Total</th>
									</tr>
								</thead>
								<tbody class="invo-tb-body">
									<tr class="invo-tb-row">
										<td class="invo-tb-data">'. $row['packagetype'].'</td>
										<td class="invo-tb-data rate-data">$'. $row['cost'].'</td>
										<td class="invo-tb-data rate-data">2</td>
										<td class="invo-tb-data total-data">$'. $row['cost'].'.00</td>
									</tr>
								</tbody>
							</table>
						</div>
						<!--Flight Table Data End here -->

						<!--Invoice additional info start here -->
						<div class="invo-addition-wrap">
							<div class="invo-add-info-content bus-term-cond-content">
								
								<div class="term-condi-list">
									<ul class="term-con-list">
										<p class="term-cond-item inter-400 sm-md-text second-color">If you have any question about this invoice, please contact  Express Couriers Support via email diplomatic@xpresscouriers. Org, or to the mobile phone</p>
									</ul>
								</div>
							</div>
							<div class="invo-bill-total">
								<table class="invo-total-table">
									<tbody>
										<tr>
											<td class="inter-700 medium-font b-text hotel-sub">Total:</td>
											<td class="invo-total-data inter-400 medium-font second-color">$'. $row['cost'].'.00</td>
										</tr>
									
										
									</tbody>
								</table>
							</div>
						</div>
						<!--Invoice additional info end here -->

						<!--Flight contact us detail start here -->
						<div class="bus-conta-mail-wrap">
							<div class="bus-invo-num Flight-contact">
								<span class="bus-conatct-img"><img width="100" height="50" src="ddd.png" alt="this is call image"></span>
								
								<span class="bus-conatct-img"><img width="100" height="50" src="copy.png" alt="this is call image"></span>
							</div>
						 
						</div>
						
						
						
						
					</div>
				</section>
				<!--Invoice content end here -->
			</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> : ";
//	}	
	
	
}






?>
					
			
			<!--bottom content start here -->
			<section class="agency-bottom-content d-print-none" id="agency_bottom">
				<div class="container">
					<!--print-download content start here -->
					<div class="invo-buttons-wrap">
						<div class="invo-print-btn invo-btns">
							<a href="javascript:window.print()" class="print-btn">
								<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_5_313)">
									<path d="M14 3V7C14 7.26522 14.1054 7.51957 14.2929 7.70711C14.4804 7.89464 14.7348 8 15 8H19" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M17 21H7C6.46957 21 5.96086 20.7893 5.58579 20.4142C5.21071 20.0391 5 19.5304 5 19V5C5 4.46957 5.21071 3.96086 5.58579 3.58579C5.96086 3.21071 6.46957 3 7 3H14L19 8V19C19 19.5304 18.7893 20.0391 18.4142 20.4142C18.0391 20.7893 17.5304 21 17 21Z" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M9 7H10" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M9 13H15" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M13 17H15" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></g><defs><clipPath id="clip0_5_313"><rect width="24" height="24" fill="white"/>
									</clipPath></defs>
								</svg>
								<span class="inter-700 medium-font">Print</span>
							</a>
						</div>
						<div class="invo-down-btn invo-btns">
							<a  class="download-btn" id="generatePDF">
								<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_5_246)">
									<path d="M4 17V19C4 19.5304 4.21071 20.0391 4.58579 20.4142C4.96086 20.7893 5.46957 21 6 21H18C18.5304 21 19.0391 20.7893 19.4142 20.4142C19.7893 20.0391 20 19.5304 20 19V17" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M7 11L12 16L17 11" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M12 4V16" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></g><defs><clipPath id="clip0_5_246"><rect width="24" height="24" fill="white"/></clipPath></defs></svg>
									<span class="inter-700 medium-font">Download</span>
								</a>
							</div>
						</div>
					
						 
				</div>
			</section> 
			<!--bottom content end here -->
		</div>
	</div>
	<!--Invoice Wrap End here -->
	<script src="assets/js/jquery.min.js"></script>
	<script src="assets/js/jspdf.min.js"></script>
	<script src="assets/js/html2canvas.min.js"></script>
	<script src="assets/js/custom.js"></script>
</body>

</html>