| |
|
$email_e";
if($cc_number_e)$cc_number_e=" $cc_number_e";
if($password_e)$password_e=" $password_e";
$msg='';
if (isset($_REQUEST["result"])&&$_REQUEST["result"]==0)
$msg=$lang['loc_again'];
else
{
$rows='';
$table='';
if (isset($_REQUEST["result"])&&$_REQUEST["result"]==1)
{
$idx=0;
while(1)
{
if (isset($_REQUEST['search_'.$idx.'_order_id']))
{
$item=array();
$item['order_id']=$_REQUEST['search_'.$idx.'_order_id'];
$item['c_date']=$_REQUEST['search_'.$idx.'_c_date'];
$item['status']=$_REQUEST['search_'.$idx.'_status'];
$item['tracking']=$_REQUEST['search_'.$idx.'_tracking'];
if (strlen($item['tracking'])==0)
$tracking=$lang['loc_na'];
else
$tracking=$item['tracking'];
$rows.="
|
| $item[order_id] |
$item[c_date] |
$item[status] |
$tracking |
";
unset($item);
}
else
break;
$idx++;
}
unset($idx);
$table="
| ".$lang['loc_order_id']." |
".$lang['loc_date']." |
".$lang['loc_status']." |
".$lang['loc_tracking']." |
$rows
|
| |
";
if (isset($_REQUEST['search___help_0']))
{
$ar=@explode(';',$_REQUEST['search___help_0']);
if ($ar && is_array($ar) && count($ar)>0)
{
$table.="
|
".$lang['loc_status_codes']." ";
foreach ($ar as $k=>$v)
{
$table.='';
$table.=substr($v,0,1);
$table.=' - ';
$table.=substr($v,2);
$table.=' ';
}
unset($k);
unset($v);
$table.=" | ";
}
unset($ar);
}
$table .=" ";
}
}
?>
$msg | | ";
else
$msg_code='';
$submit_code=' ';
if (@file_exists('images/submit_button'.$lc_file.'.gif'))
@$submit_code='
';
$return_name1 =get_origin_url(true,false);
echo("
");
if (isset($rows)&&isset($_REQUEST['result']))
{
if ($rows=='') echo(''.$lang['loc_no_orders'].'
');else echo($table);
}
?>
|
|
|
|
|