| Server IP : 192.169.170.185 / Your IP : 216.73.216.97 Web Server : Apache System : Linux p3plmcpnl495852.prod.phx3.secureserver.net 4.18.0-553.52.1.lve.el8.x86_64 #1 SMP Wed May 21 15:31:29 UTC 2025 x86_64 User : akhilnew ( 1712764) PHP Version : 5.6.40 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/akhilnew/public_html/ |
Upload File : |
<?php
require_once('header.php');
echo '<div class="row head main"><div class="col s12 m12 l12 center-align"><h1>'.$pagetitle.'</h1></div></div>';
$couriers = array('DTDC' => 'http://dtdc.com/tracking', 'Indian Post DOM' => 'https://track.aftership.com/india-post', 'International Post' => 'https://track.aftership.com/india-post-int');
$courier = '';
foreach($couriers as $key => $value):
$courier .= '<option value="'.$value.'">'.$key.'</option>';
endforeach;
echo <<<EOJ
<div class="row trackorder">
<div class="col s12 m12 l6">
<input type="text" name="code" placeholder="Tracking Code" class="code" />
</div>
<div class="col s12 m10 l5">
<select class="browser-default"><option value="" selected>Select courier</option>{$courier}</select>
</div>
<div class="col s12 m2 l1">
<button type="button" name="action" class="waves-effect btn-flat blue accent-3 white-text" onclick="if($('.code').val() && $('select').val()) { window.open($('select').val() + '/' + $('.code').val()) }" disabled>submit</button>
</div>
</div>
EOJ;
require_once('footer.php');
?>