<?include("includes/connection.php")?>
<?include("includes/func.php")?>
<html>
<head>
<link href="images/class.css" rel="stylesheet" type="text/css">
<title>Design Your Ring </title>
</head>
<?
if ($_POST["startagain"]!='') {
	redirect("chooseoptions.php?product=".pdbfx("product"));
}

?>
<body>

<table width="100%" border="0" cellspacing="1" cellpadding="2">
<tr align="center" class="heading"> 
	<td class="toplinks" align=left colspan=2><font  size=2><strong>Your Order Status </font></strong></td>
  </tr>
</table>

<table width="100%" border="0" cellspacing="1" cellpadding="2" bgcolor="#EEB94A">
<tr align="center" class="heading"> 
	<td  align=left width="30%" bgcolor="#FFFFFF">
	<b>Order Details</b></td>
	<td  align=left width="30%" bgcolor="#FFFFFF">
	<b>Order Date</b></td>
	<td  align=left width="30%" bgcolor="#FFFFFF">
	<b>Amount</b></td>
	
	
 </tr>

<?
$sql="select order_serial,order_date,order_amount,order_status,order_details,order_admin_comments from order_master O,user_master U where U.user_type=3 AND U.active=1 AND O.order_serial='".$_GET["id"]."' AND U.user_id=".$_SESSION["userid"] . " Order by 1 desc";
$cmd = mysql_query($sql);
$rs = mysql_fetch_array($cmd);
	?>
<tr align="center" class="heading"> 
	
	<td  align=left width="40%" bgcolor="#FFFFFF">
	ATI Comments : <br>
	<?=$rs["order_admin_comments"];?></td>
	<td  align=left width="20%" bgcolor="#FFFFFF">
	<?=$rs["order_date"];?></td>
	<td  align=left width="20%" bgcolor="#FFFFFF">
	<?=$rs["order_amount"];?></td>
	
<tr align="center" class="heading"> 
	
	<td  align=left width="100%" bgcolor="#FFFFFF" colspan=3>
	<?=$rs["order_details"];?></td>
	
 </tr>


 

</table>









<script>
function openWin(argURL, argSize) {

	window.open(argURL, "x_win" + (new Date()).getTime(), "resizable=yes,scrollbars=yes," + argSize);

}
</script>
</body>
</html>