<table width="980" border="0" cellpadding="0" cellspacing="0" align="center">
    <tr>
    <td valign="top">
   <?
	 $title="Details of item";
	 require 'templates/'.$tfold.'/header.php';?>
  </td>
  </tr>

<table width="980" cellpadding="0" cellspacing="0" >
	<tr>
<tr><td width="1%" height="24" valign="top"><img src=templates/<?=$tfold?>/img_files/t_header_l.gif></td>
<td class="tdhead_main" width="98%" height="24" valign="middle">&nbsp;<B>Review your Purchase</b></td>
<td width="1%" height="24" valign="top"><img src=templates/<?=$tfold?>/img_files/t_header_r.gif></td></tr>
	</table>
                 <tr>
	 <td>
	  <table border=0 cellpadding="0" cellspacing="0" width="980"  class="ft_right">
	<tr><td width="980" colspan="2">
<tr><td valign="top" width="980" colspan="2">
<table width="970" align="center" cellpadding="0" cellspacing="0" border=0 class="ft2">
<tr><td colspan="3" height=30>
<font size="2">
<b><div align="left">
&nbsp;&nbsp; <?=$username?>, Please review your purchase </div> </b></font> </td></tr>
<tr align="center" height=35>
<td width=2>&nbsp;</td>
    <td align="center">
	<table cellpadding="2" cellspacing="0" width="90%"><tr><td>
	You are paying for&nbsp;<?= $bid_det[quantity] ?> <? if($bid_det[quantity]==1) { echo "item"; } else  {echo "items";} ?>&nbsp;total <?=$row[currency]?><?= $totalprice?></td></tr>
	<tr><td>
    <? echo "$lang_524" ?> Auction Item #<?= $row[productid] ?><a href="itechd.php?productid=<?= $row[productid]?>"> <?= $row[producttitle] ?></a>, <? echo "$lang_525" ?>
	</td></tr></table>
	</td>
	<td width=2>&nbsp;</td>
	</tr></table></td></tr>
   	<tr><td width="980" colspan="2">&nbsp;</td></tr>	
<tr><td width="1">
<table cellpadding="2" cellspacing="0"  align="left" class="ft2" width="391">
<tr><td height=25 width="202">
<font size="2">
<b><div align="left">
&nbsp;&nbsp; Review Shipping Address </div> </b></font> </td></tr>
<tr><td width="202" >
<b>&nbsp;&nbsp;&nbsp; Ship to: &nbsp;</b>
</td>
<td align=Left width="181"><b>
<?=  $buyer_row[first_name]; ?> <?=  $buyer_row[last_name]; ?>
</b></td>
</tr>
<tr>
<td width="202">&nbsp;
</td>
<td width="181"><?=  $buyer_row[address]; ?>,</td></tr>
<tr>
<td width="202">&nbsp;
</td>
<td width="181"><?=  $buyer_row[city]; ?>, <?=  $buyer_row[state]; ?> <?=  $buyer_row[pin_code]; ?>

</td></tr>
<tr>
<td width="202">&nbsp;
</td>
<td width="181"><?=  $buyer_row[country]; ?>,</td></tr>
<tr>
<td width="202">&nbsp;
</td>
<td width="181"><?=  $buyer_row[home_phone]; ?></td></tr>
</table>
</td><td width="571">
&nbsp;</td></tr>
<tr><td width="526" colspan="2"><br /></td></tr>
<tr><td width="980" colspan="2">
<table cellpadding="0" cellspacing="0" width="398" class="ft2" >
<tr><td height=25 width="398">
<font size="2">
<b><div align="left">
&nbsp;&nbsp; Review Payment Details</div> </b></font> </td></tr>
<tr><td width=398>
<table cellpadding="0" cellspacing="0" width="390">
<tr><td width="206"><b>&nbsp;&nbsp;&nbsp;&nbsp; Item Title:</b></td>
<td width="184"><a href="itechd.php?productid=<?= $row[productid]?>"><?= $row[producttitle] ?></a></td>
</tr>
<tr><td width="206"><b>&nbsp;&nbsp;&nbsp;&nbsp; Quantity:</b></td>
<td width="184"><?= $bid_det[quantity] ?></td>
</tr>
<tr><td width="206"><b>&nbsp;&nbsp;&nbsp;&nbsp; <? echo "$lang_560" ?>:</b></td>
<td width="184">

<?= $row[currency] ?><?= $bidpricing ?>
</td>
</tr>
<tr><td width="206"><b>&nbsp;&nbsp;&nbsp;&nbsp; Shipping Amount:</b></td>
<td width="184">
<?
 if($row[shipping_cost]!=0.00) 
{
?>
<?= $row[currency] ?><?= $row[shipping_cost] ?>
<?
}
else
{
?>
-
<?
}?>
</td>
</tr>
<tr><td width="206"><b>&nbsp;&nbsp;&nbsp;&nbsp; Tax:</b></td>
<td width="184">
<?
if($row[tax]!=0) 
{
?>
<?= $row[currency] ?><?= $row[tax] ?>
<?
}
else
{
?>
-
<?
}
?>
</td>
</tr>
<tr><td width="206" bgcolor="#F2F2F2"><b><font size="4">&nbsp;&nbsp;&nbsp;Total Price:</font></b></td>
<td width="184" bgcolor="#F2F2F2"><font size="4"><b><?= $row[currency] ?><?= ($bidpricing+$tax+$shipping ) ?></b></font></td>
</tr>

</table>
</td></tr>
</table></td></tr>
</td></tr>
<tr>
<td align="left" width="980" colspan="2">
<tr><td align=center width="980" colspan="2">
<?
if($paymentid==""){
?>
<form action="reviewitechds.php" method=post>
<?
 diplay_payments();
?>
<BR>
<input type="hidden" value="<?=$productid?>" name="productid">
<input type=submit name=Pay value="Select Payment Method">
<input type="hidden" name="recycle" value=<?=$recycle?>>
</form>
<?
}
 ?>
<?
if($paymentid!=""){
gateways($pricing, postcancel.php, buysuccess.php, $payid, $gatewayno, $gatewayname, 'Buy Item', $default_cur_code, $yoursite, $seller_id, $tr_id);
}
?>
</td></tr>
</td></tr>
<table width="980" cellpadding="0" cellspacing="0" >
<tr>
<td width="98%" height="5" valign="middle"><img src=templates/<?=$tfold?>/img_files/t_bot.gif border="0"></b></td>
</tr>
	</table>