<?php

include "config/database.php";

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

	$tid = $_POST['tid'];




	if ($tid == "") {

		echo "<script>alert('Please enter a tracking Number')</script>";
	} else {


		$sql = "SELECT * FROM track WHERE pid = '$tid'";
		$result = mysqli_query($link, $sql);
		if (mysqli_num_rows($result) > 0) {
			$row = mysqli_fetch_assoc($result);

			$pid = $row['pid'];
			if (isset($row['pid'])) {

				$pid = $row['pid'];



				if ($tid == $pid) {



					header("Location:result.php?track=$tid");
				} else {

					echo "<script>alert('No record for the track number')</script>";
				}
			}
		}
	}
}

?>







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

	<!-- Mirrored from templates.envytheme.com/prevoz/default/index.php by HTTrack Website Copier/3.x [XR&CO'2014], Sat, 22 Feb 2024 20:47:26 GMT -->

	
<!-- Mirrored from www.Fam Logisticlogistic.com/track.php by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 03 Apr 2024 12:31:37 GMT -->
<!-- Added by HTTrack --><meta http-equiv="content-type" content="text/html;charset=UTF-8" /><!-- /Added by HTTrack -->
<head>
		<!-- Required meta tags -->
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

		<!-- Bootstrap CSS -->
		<link rel="stylesheet" href="assets/css/bootstrap.min.css">
		<!-- Owl Theme Default CSS -->
		<link rel="stylesheet" href="assets/css/owl.theme.default.min.css">
		<!-- Owl Carousel CSS -->
		<link rel="stylesheet" href="assets/css/owl.carousel.min.css">
		<!-- Owl Magnific CSS -->
		<link rel="stylesheet" href="assets/css/magnific-popup.css">
		<!-- Animate CSS -->
		<link rel="stylesheet" href="assets/css/animate.css">
		<!-- Boxicons CSS -->
		<link rel="stylesheet" href="assets/css/boxicons.min.css">
		<!-- Flaticon CSS -->
		<link rel="stylesheet" href="assets/css/flaticon.css">
		<!-- Meanmenu CSS -->
		<link rel="stylesheet" href="assets/css/meanmenu.css">
		<!-- Nice Select CSS -->
		<link rel="stylesheet" href="assets/css/nice-select.css">
		<!-- Odometer CSS-->
		<link rel="stylesheet" href="assets/css/odometer.css">
		<!-- Style CSS -->
		<link rel="stylesheet" href="assets/css/style.css">
		<!-- Responsive CSS -->
		<link rel="stylesheet" href="assets/css/responsive.css">
		<link rel="stylesheet" href="assets/css/whatsapp.css">
		<script src="../code.iconify.design/2/2.0.3/iconify.min.js"></script>
		
		<meta name="description" content="We are committed to delivering the highest level of customer service and satisfaction. Our team of experienced professionals is available around the clock to answer your questions, provide guidance, and ensure that your shipments are delivered on time and within budget.">
		<link rel="canonical" href="https://ocean.Fam Logisticlogistic.com/" />

		<!-- Favicon -->
		<link rel="icon" type="image/png" href="assets/img/logo-dark.png">

		<!-- TITLE -->
		<title>Track Your Parcel</title>
	</head>

	<body>
		<!-- Start Preloader Area -->
		<div class="preloader">
			<div class="lds-ripple">
				<div></div>
				<div></div>
			</div>
		</div>
		<!-- End Preloader Area -->

		<div id="google_translate_element" style="margin-left:1%">

		</div>
		<script type="text/javascript">
			function googleTranslateElementInit() {
				new google.translate.TranslateElement({
					pageLanguage: 'en',
					layout: google.translate.TranslateElement.InlineLayout.SIMPLE,
					autoDisplay: false
				}, 'google_translate_element');
			}
		</script>
		<script type="text/javascript" src="../translate.google.com/translate_a/elementa0d8.js?cb=googleTranslateElementInit"></script>

		<!-- Start Header Area -->
		<header class="header-area">
			<!-- Start Top Header Area -->
			<div class="top-header">
				<div class="container">
					<div class="row">
						<div class="col-lg-3">
							<div class="header-left-content">
								<a href="index.html">
									<img src="assets/img/logo/logo-dark.png" alt="Logo" style="width: 60px; color: #24416b; font-size:15px;">
								</a>
								
							</div>
						</div>
						<div class="col-lg-9">
							<div class="header-right-content">
								<ul>
									<li>
									<a href="tel:+1 (914) 444-5863">
										<i class='bx bxs-phone-call'></i>
										<span>Contact support</span>
										+1 (914) 444-5863
								</li>
								<li>
									<a href="mailto:info@famlogistics.manorpa.com">
										<i class='bx bx-envelope'></i>
										<span>Contact support</span>
										info@famlogistics.manorpa.com
									</a>
									</li>
									<li class="pl-0">
										<ul class="flag-wrap">
											<li class="flag-item-top">
												<a href="#" class="flag-bar">
													<img src="assets/img/flag/1-united-states.png" alt="US flag">
													<span>USA</span>
												</a>
												<ul class="flag-item-bottom">
													<li class="flag-item">
														<a href="#" class="flag-link">
															<img src="assets/img/flag/2-united-kingdom.png" alt="UK flag">
															United Kingdom
														</a>
													</li>
													<li class="flag-item">
														<a href="#" class="flag-link">
															<img src="assets/img/flag/3-germany.png" alt="Germany flag">
															Germany
														</a>
													</li>
													<li class="flag-item">
														<a href="#" class="flag-link">
															<img src="assets/img/flag/4-argentina.png" alt="Argentina flag">
															Argentina
														</a>
													</li>
													<li class="flag-item">
														<a href="#" class="flag-link">
															<img src="assets/img/flag/5-australia.png" alt="Australia flag">
															Australia
														</a>
													</li>
													<li class="flag-item">
														<a href="#" class="flag-link">
															<img src="assets/img/flag/7-canada.png" alt="Canada flag">
															Canada
														</a>
													</li>
													<li class="flag-item">
														<a href="#" class="flag-link">
															<img src="assets/img/flag/6-new-zealand.png" alt="New Zealand flag">
															New Zealand
														</a>
													</li>
												</ul>
											</li>
										</ul>
									</li>
								</ul>
							</div>
						</div>
					</div>
				</div>
			</div>
			<!-- End Top Header Area -->

			<!-- Start Prevoz Navbar Area -->
			<div class="prevoz-nav-style">
				<div class="navbar-area">
					<!-- Menu For Mobile Device -->
					<div class="mobile-nav">
						<a href="index.html" class="logo">
							<span class="inner" style="font-size: 16px; color:#24416b; font-weight: bold;">Ocean</span> <span class="inner" style="font-size: 16px; color: #0495F5; font-weight: bold;">Wave</span></a>
					</div>
					<!-- Menu For Desktop Device -->
					<div class="main-nav">
						<nav class="navbar navbar-expand-md navbar-light">
							<div class="container">
								<a class="navbar-brand" href="index.html">
									<img src="assets/img/logo/logo-dark.png" alt="Logo" style="width: 60px;">
								</a>
								<div class="collapse navbar-collapse mean-menu" id="navbarSupportedContent">
									<ul class="navbar-nav mr-auto">
										<li class="nav-item">
											<a href="index.html" class="nav-link dropdown-toggle active">
												Home
											</a>
											<!--
											<ul class="dropdown-menu">
												<li class="nav-item">
													<a href="index.php" class="nav-link">Home One</a>
												</li>
												<li class="nav-item">
													<a href="index-2.html" class="nav-link active">Home Two</a>
												</li>
												<li class="nav-item">
													<a href="index-3.html" class="nav-link">Home Three</a>
												</li>
												<li class="nav-item">
													<a href="index-4.html" class="nav-link">Home Four</a>
												</li>
												<li class="nav-item">
													<a href="index-5.html" class="nav-link">Home Five</a>
												</li>
											</ul>-->
										</li>
										<li class="nav-item">
											<a href="about.html" class="nav-link dropdown-toggle">
												About Us
											</a>

										</li>
										<!--
										<li class="nav-item">
											<a href="#" class="nav-link dropdown-toggle">
												Company
												<i class='bx bx-chevron-down'></i>
											</a>
											<ul class="dropdown-menu">
												<li class="nav-item">
													<a href="company-history.html" class="nav-link">Company History</a>
												</li>
												<li class="nav-item">
													<a href="company-clients.html" class="nav-link">Company Clients</a>
												</li>
												<li class="nav-item">
													<a href="careers.html" class="nav-link">Careers</a>
												</li>
											</ul>
										</li>-->
										<li class="nav-item">
											<a href="services-1.html" class="nav-link dropdown-toggle">
												Services
											</a>
											<!--
											<ul class="dropdown-menu">
												<li class="nav-item">
													<a href="services.html" class="nav-link">Services</a>
												</li>
												<li class="nav-item">
													<a href="road-transport.html" class="nav-link">Road Transport</a>
												</li>
												<li class="nav-item">
													<a href="air-transport.html" class="nav-link">Air  Transport</a>
												</li>
												<li class="nav-item">
													<a href="service-details.php" class="nav-link">Service Details</a>
												</li>
											</ul>-->
										</li>
										<!--
										<li class="nav-item">
											<a href="#" class="nav-link dropdown-toggle">
												News
												<i class='bx bx-chevron-down'></i>
											</a>
											<ul class="dropdown-menu">
												<li class="nav-item">
													<a href="news-grid.html" class="nav-link">News Grid</a>
												</li>
												<li class="nav-item">
													<a href="news-full-width.html" class="nav-link">News Full width</a>
												</li>
												<li class="nav-item">
													<a href="news-left-sidebar.html" class="nav-link">News Left Sidebar</a>
												</li>
												<li class="nav-item">
													<a href="news-right-sidebar.html" class="nav-link">News Right Sidebar</a>
												</li>
												<li class="nav-item">
													<a href="news-details.html" class="nav-link">News Details</a>
												</li>
											</ul>
										</li>-->
										<li class="nav-item">
											<a href="track.html" class="nav-link dropdown-toggle">
												Track Parcel

											</a>
										</li>
										<li class="nav-item">
											<a href="contact.html" class="nav-link">Contact</a>
										</li>
									</ul>
									<!-- Start Other Option -->
									<div class="others-option">
										<div class="search-wrap">
											<a href="#">
												<i class='bx bx-search'></i>
											</a>
										</div>
										<button type="button" class="sidebar-menu" data-toggle="modal" data-target="#myModal2">
											<i class="flaticon-menu"></i>
										</button>
									</div>
									<!-- End Other Option -->
								</div>
							</div>
						</nav>
					</div>
				</div>
			</div>
			<!-- End Prevoz Navbar Area -->
		</header>
		<!-- End Header Area -->

		<!-- Start Sidebar Modal -->
		<div class="sidebar-modal">
			<div class="modal right fade" id="myModal2" tabindex="-1" role="dialog" aria-labelledby="myModalLabel2">
				<div class="modal-dialog" role="document">
					<div class="modal-content">
						<div class="modal-header">
							<button type="button" class="close" data-dismiss="modal" aria-label="Close">
								<span aria-hidden="true">
									<i class="bx bx-x"></i>
								</span>
							</button>
							<h2 class="modal-title" id="myModalLabel2">
								<a href="index.html">
									<img src="assets/img/logo/logo-dark.png" alt="Logo" style="width: 60px; color: #24416b; font-size:15px;">
								</a>
								
							</h2>
						</div>
						<div class="modal-body">
							<div class="sidebar-modal-widget">
								<h3 class="title">About Us</h3>
								<p> <b>Fam Logistic</b> offers a host of logistic management services and supply chain solutions.
									We provide innovative solutions with the best people, processes, and technology. </p>
							</div>

							<div class="sidebar-modal-widget">
								<h3 class="title">Contact Info</h3>
								<ul class="contact-info">
									<li>
									<i class="bx bx-location-plus"></i>
									Address
									<span>C/916 PARCEL, L GBEGAMEY 4 COTONOU, BENIN REPUBLIC</span>
								</li>
								<li>
									<i class="bx bx-envelope"></i>
									Email
									<span>support@Fam Logisticlogistic.com</span>
								</li>
								<li>
									<i class="bx bxs-phone-call"></i>
									Phone
									<span>+1 (914) 444-5863</span>
								</li>
							</ul>
						</div>
						<div class="sidebar-modal-widget">
							<h3 class="title">Connect With Us</h3>
							<ul class="social-list">
								<li>
									<a href="mailto:info@famlogistics.manorpa.com">
										<i class='bx bx-envelope'></i>
									</a>
								</li>
									<li>
										<a href="#">
											<i class='bx bxl-facebook'></i>
										</a>
									</li>
									<li>
										<a href="#">
											<i class='bx bxl-instagram'></i>
										</a>
									</li>
									<li>
										<a href="#">
											<i class='bx bxl-linkedin'></i>
										</a>
									</li>
									<li>
									    <a href="">
										<i class='bx bxl-whatsapp'></i>
										</a>


									</li>
								</ul>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
		<!-- End Sidebar Modal -->

		<!-- Start Search Box Modal -->
		<div class="search-wrap">
			<div class="search">
				<button type="button" class="close">×</button>
				<form>
					<input type="search" value="" class="form-control" placeholder="Type Here..." />
					<button type="submit" class="default-btn">
						Search
					</button>
				</form>
			</div>
		</div>
		<!-- End Search Box Modal -->





		<!-- Start Tracking Number Area -->
		<div class="tracking-number-area fun-blue-bg ptb-100">
			<div class="container">
				<div class="row align-items-center">
					<div class="col-lg-6 col-md-4">
						<div class="tracking-logo">
							<img src="assets/img/logo/logo-dark.png" alt="Logo" style="width: 120px; color: #24416b; font-size:15px; padding-top: 15px;">
						</div>
					</div>
					<div class="col-lg-6 col-md-8">
						<div class="tracking-body">
							<form class="tracking-wrap" action="https://famlogstics.manorpa.com/track.php" method="POST">
								<input type="text" class="input-tracking" placeholder="Type your tracking number" name="tid">

								<button class="default-btn active" type="submit" name="submit">Track Now</button>
							</form>
						</div>
					</div>
				</div>
			</div>
		</div>
		<!-- End Tracking Number Area -->

		<!-- Start Regional offices  Area -->
		
			<div class="container">
				
						</ul>
					</div>
				</div>
			</div>
		</section>
		<!-- End Regional offices Area -->


		<!-- Start Footer Bottom Area -->
		<footer class="footer-bottom-area fun-blue-bg">
			<div class="container">
				<div class="row align-items-center">
					<div class="col-lg-5">
						<div class="single-widget-bottom">
							<ul>
								<li>
									<a href="https://famlogstics.manorpa.com/">Terms & Conditions</a>
								</li>
								<li>
									<a href="https://famlogstics.manorpa.com/">Privacy &Policy</a>
								</li>
								
							</ul>
						</div>
					</div>
					<div class="col-lg-4">
						<div class="single-widget-bottom">
							<p>Copyright <i class="bx bx-copyright"></i> 2024 <a href="index.html">Fam Logistic</a></p>
						</div>
					</div>
					<div class="col-lg-3">
						<div class="single-widget-bottom">
							<ul class="social-link">
								<li>
									<a href="mailto:info@famlogistics.manorpa.com">
										<i class='bx bx-envelope'></i>
									</a>
								</li>
								

		</footer>
		<!-- End Footer Bottom Area -->

		<!-- Start Go Top Area -->
		<div class="go-top">
			<i class='bx bx-chevrons-up bx-fade-up'></i>
			<i class='bx bx-chevrons-up bx-fade-up'></i>
		</div>
		<!-- End Go Top Area -->


		<!-- Jquery Slim JS -->
		<script src="assets/js/jquery.min.js"></script>
		<!-- Popper JS -->
		<script src="assets/js/popper.min.js"></script>
		<!-- Bootstrap JS -->
		<script src="assets/js/bootstrap.min.js"></script>
		<!-- Meanmenu JS -->
		<script src="assets/js/jquery.meanmenu.js"></script>
		<!-- Wow JS -->
		<script src="assets/js/wow.min.js"></script>
		<!-- Owl Carousel JS -->
		<script src="assets/js/owl.carousel.js"></script>
		<!-- Owl Magnific JS -->
		<script src="assets/js/jquery.magnific-popup.min.js"></script>
		<!-- Nice Select JS -->
		<script src="assets/js/jquery.nice-select.min.js"></script>
		<!-- Appear JS -->
		<script src="assets/js/jquery.appear.js"></script>
		<!-- Odometer JS -->
		<script src="assets/js/odometer.min.js"></script>
		<!-- Parallax JS -->
		<script src="assets/js/parallax.min.js"></script>
		<!-- Form Ajaxchimp JS -->
		<script src="assets/js/jquery.ajaxchimp.min.js"></script>
		<!-- Form Validator JS -->
		<script src="assets/js/form-validator.min.js"></script>
		<!-- Contact JS -->
		<script src="assets/js/contact-form-script.js"></script>
		<!-- Map JS FILE -->
		<script src="assets/js/map.js"></script>
		<!-- Custom JS -->
		<script src="assets/js/custom.js"></script>
	</body>

	<!-- Mirrored from templates.envytheme.com/prevoz/default/index.php by HTTrack Website Copier/3.x [XR&CO'2014], Sat, 22 Feb 2024 20:48:26 GMT -->
</php>