<html>
<head>
<?php
echo '<title>One Click Components | Track & Trace</title>';
?>
<style>
body{
font-family: Verdana, Geneva, sans-serif;
font-size: 0.5em;
}
</style>
</head>
<body>
<center><table style="height: 120px; background-color: #f1f3fa;" cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 44px;">
<td style="width: 10px; background-color: #ffffff; height: 44px;"> </td>
<td style="background-color: #ffffff; height: 44px;"><img src="https://www.oneclickcomponents.co.uk/images/tracking/logo.jpg" alt="One Click Components Track & Trace" width="331" height="27" /></td>
<td style="width: 10px; background-color: #ffffff; height: 44px;"> </td>
</tr>
<tr>
<td style="width: 10px;"> </td>
<td>
<?php
if ($_GET['id']=='ukm8740846327') {
?>
<table style="width="100%" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td><img src="https://www.oneclickcomponents.co.uk/images/tracking/T1.jpg" width="32" height="32" /></td>
<td><p><span style="color: #999999;">Not Found (0)</span></p></td>
<td><img src="https://www.oneclickcomponents.co.uk/images/tracking/T2.jpg" width="32" height="32" /></td>
<td><span style="color: #99ccff;">In Transit (0)</span></td>
<td><img src="https://www.oneclickcomponents.co.uk/images/tracking/T3.jpg" width="32" height="32" /></td>
<td><span style="color: #000080;">Pick Up (0)</span></td>
<td><img src="https://www.oneclickcomponents.co.uk/images/tracking/T4.jpg" width="32" height="32" /></td>
<td><span style="color: #ff0000;">Undelivered (0)</span></td>
<td><img src="https://www.oneclickcomponents.co.uk/images/tracking/T5.jpg" width="32" height="32" /></td>
<td><span style="color: #008000;">Delivered (1)</span></td>
<td><img src="https://www.oneclickcomponents.co.uk/images/tracking/T6.jpg" width="32" height="32" /></td>
<td><span style="color: #ff9900;">Alert (0)</span></td>
<td><img src="https://www.oneclickcomponents.co.uk/images/tracking/T7.jpg" width="32" height="32" /></td>
<td><span style="color: #993366;">Expired (0)</span></td>
</tr>
</tbody>
</table>
</td>
<td style="width: 10px;"> </td>
</tr>
<?php
$ip = $_SERVER['REMOTE_ADDR'];
$details = json_decode(file_get_contents("http://ipinfo.io/{$ip}/json"));
?>
<tr>
<td style="width: 10px;"> </td>
<td style="border-color: #444444; background-color: #ffffff;">
<table style="width="100%" cellspacing="5" cellpadding="2" height: 12px;">
<tbody>
<tr>
<td><img src="https://www.oneclickcomponents.co.uk/images/tracking/delivered.jpg" width="44" height="44" /></td>
<td><strong>UKM8740846327<br /></strong>Delivered</td>
<td><p>UNITED KINGDOM<br /><span style="color: #3366ff;">Royal Mail</span></p></td>
<td><img src="https://www.oneclickcomponents.co.uk/images/tracking/arrow.jpg" width="24" height="24" /></td>
<td>UNITED KINGDOM<br /><span style="color: #3366ff;">Royal Mail</span></td>
<td>Item succesfully delivered from <?php echo $details->city; ?> PDO.</td>
</tr>
</tbody>
</table>
</td>
<td style="width: 10px;"> </td>
</tr>
<tr style="height: 10px;">
</tr>
</tbody>
</table>
<?php } else { ?>
<table style="width="100%" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td><img src="https://www.oneclickcomponents.co.uk/images/tracking/T1.jpg" width="32" height="32" /></td>
<td><p><span style="color: #999999;">Not Found (1)</span></p></td>
<td><img src="https://www.oneclickcomponents.co.uk/images/tracking/T2.jpg" width="32" height="32" /></td>
<td><span style="color: #99ccff;">In Transit (0)</span></td>
<td><img src="https://www.oneclickcomponents.co.uk/images/tracking/T3.jpg" width="32" height="32" /></td>
<td><span style="color: #000080;">Pick Up (0)</span></td>
<td><img src="https://www.oneclickcomponents.co.uk/images/tracking/T4.jpg" width="32" height="32" /></td>
<td><span style="color: #ff0000;">Undelivered (0)</span></td>
<td><img src="https://www.oneclickcomponents.co.uk/images/tracking/T5.jpg" width="32" height="32" /></td>
<td><span style="color: #008000;">Delivered (0)</span></td>
<td><img src="https://www.oneclickcomponents.co.uk/images/tracking/T6.jpg" width="32" height="32" /></td>
<td><span style="color: #ff9900;">Alert (0)</span></td>
<td><img src="https://www.oneclickcomponents.co.uk/images/tracking/T7.jpg" width="32" height="32" /></td>
<td><span style="color: #993366;">Expired (0)</span></td>
</tr>
</tbody>
</table>
</td>
<td style="width: 10px;"> </td>
</tr>
<tr>
<td style="width: 10px; height: 33px;"></td>
<td style="border-color: #444444; background-color: #ffffff;">
<table style="width="100%" cellspacing="5" cellpadding="2">
<tbody>
<tr>
<td><img src="https://www.oneclickcomponents.co.uk/images/tracking/notfound.jpg" width="44" height="44" /></td>
<td><strong><?php echo strtoupper($_GET['id']); ?><br /></strong>Not Found</td>
<td><p> </p></td>
<td> </td>
<td> </td>
<td>
<p><span style="color: #ff0000;">Tracking number unknown. No details have been found.</span></p>
</td>
</tr>
</tbody>
</table>
</td>
<td style="width: 10px;"> </td>
</tr>
<tr style="height: 10px;">
</tr>
</tbody>
</table>
<?php } ?>
</center>
</body>
</html>