<table width="980" border="0" cellpadding="0" cellspacing="0" align="center" class="ft2">
  <tr>
    <td valign="top">
	<?
	 $title="Sell";
	 require 'templates/'.$tfold.'/header.php';?>
	</td>
  </tr>
  
  <tr class="sub_tr_border">
  <td height="30" colspan="2" > 1.Category&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2.&nbsp;Tittle 
    & Description &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;3.&nbsp;Shipping Details & Sales 
    Tax &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b>4.&nbsp;Preview & Submit</b></td>
</tr>
<tr><td>&nbsp;</td></tr>
 
<table width="100%" align="center" cellpadding="5" cellspacing="0" class="table_bgcolor" border=0>
<th class="tr_border" colspan="6" >
<font size="2">
<b><div align="left">
&nbsp;&nbsp;  You are Viewing the Item in the Category: <? echo $cat_row['category_name']." >> "; ?> </div> </b></font> </th>
<?
  $expire_date=$bid['expire_date'];
require 'ends.php';
if($watch_flag==1)
{
?>
<tr align="center" ><td><font size="2">
<b>This item has been added to Watchlist.</b></font></td></tr>
<?
}

?>
<tr height="80" class="detail_tr">
    <td align="left"> 
	<? if(!empty($row['picture1']))
	{
	?>
	<img src="uploads/<? echo $row['picture1']; ?>" border=1 height="70" width="70">
	<? 
	}
	else
	{
	?>
		<img src="templates/<? echo "$tfold" ?>/img_files/no_image.gif" border=0 height="70" width="70">
	<?
	 }
	?></td>
	<td colspan="2"><font size="+1" ><b><? echo ucwords($row['producttitle']); ?></b></font></td>
</tr>
<? if($row['selling_method']=="auction" or $row['selling_method']=="dutch_auction")
{
?>
<tr>
<td><table cellpadding="5" cellspacing="0" class="detail_tr" >
<tr>
<td width="173">Current Price : </td>
<td ><? echo $row['currency']." ".$current_price; ?></td>
</tr>
<tr>
<td>Starting Bid : </td>
          <td><? echo $row['currency']." ".$row['min_bid_amount'];?> </td>
        </tr>
	<?	}
	else
	{
	 ?>
<tr>
<td><table cellpadding="5" cellspacing="0" class="detail_tr"  >
<tr>
<td width="173">Fixed Price : </td>
<td ><? echo $row['currency']." ".$row[quick_buy_price]; ?></td>
</tr>
	<?
	}
	?>	
        <tr>
          <td>Quantity :</td>
          <td><? echo $row['Quantity'];?></td>
        </tr>
        <tr>
          <td>No of Bids: </td>
		  <? if($tot[0]==0)
		  {
		  ?>
          <td><? echo $tot[0];?></td>
		  <?
		  }
		  else
		  {
		  ?>
		   <td width="130"><? echo "-"; ?></td>
		   <?
		   }
		    ?>
        </tr>
        <tr>
          <td>Closes : </td>
          <td><? echo "$string_difference" ;?></td>
        </tr>
        <tr>
          <td>Started: </td>
          <td><? echo $row['bid_starting_date'];?></td>
        </tr>
        <tr>
          <td>Location: </td>
          <td><? echo $country['country'];?></td>
        </tr>
        <tr>
          <td>Seller: </td>
          <td><? echo $user['user_name'];?></td>
        </tr>
		 <tr>
          <td>Shipping Cost: </td>
		  <? if(!empty($row['shipping_cost']))
		  {
          ?>
          <td><? echo $row['currency']." ".$row['shipping_cost'];?></td>
		  <? 
		  }
		  else
		  {
		  ?>
		            <td><? echo "-" ;?></td>
		  <? }
		  		  ?>
        </tr>
		 		<tr>
		<td>
        <?
		echo $user['selling_method'];
		if($user['selling_method']=="fix" or $user['selling_method']=="ads" )
		{ ?>
		<a href="bidding.php?productid=<?= $row['productid'];?>&qty=1" >
		<img src="templates/<? echo "$tfold" ?>/img_files/classi.gif" border="0" alt="Click here to Buy this Item"></a>&nbsp;&nbsp;
		<? 
		}
		else 
		{
		?>
		
		<img src="templates/<? echo "$tfold" ?>/img_files/auction_b.gif" border="0" alt="Click here to bid for this Item">&nbsp;&nbsp;
		<? 
		}
		?> 
		<img src="templates/<? echo "$tfold" ?>/img_files/viewed.gif" border="0" alt="Click here to add this item to your watchlist"></td>
		</tr>
        <tr class="detail_tr">
          <td colspan="2">
		  <table cellpadding="5" cellspacing="2" >
              <tr>
                <td>Ask the Seller a Question</td>
              </tr>
              <tr>
                <td>Forward to a Friend</td>
              </tr>
			  <tr>
                <td>Watch this Item</td>
              </tr>
			  <tr>
                <td>View seller's other items</td>
              </tr>
			  <tr>
                <td>Feedback</td>
              </tr>
			            </table></td>
		  </tr>
		
    </table></td>
	
	<td valign="top" >
	<table><tr valign="bottom">
    <td align="left" valign="middle">
	<? if(!empty($row['picture1']))
	{
	?>
	<img src="uploads/<? echo $row['picture1']; ?>" border=1 height="120" width="120">
	</td>
    </tr>
	<tr><td align="center"><font size="-1">
	To view full size </font></td></tr>
	<? 
	}
	else
	{
	?>
		<img src="templates/<? echo "$tfold" ?>/img_files/no-image.gif" border=0 height="120" width="120">
		</td>
    </tr>
	<tr><td align="center" >&nbsp;</td></tr>
	
	<?
	 }
	?>
    </table>
	
    
  <tr >
    <td colspan="2">
	<table>
        <tr>
          <td><font size="+1">Item Description:</font></td>
        </tr>
        <tr align="center">
          <td><? echo $row['detailed_descrip']; ?></td>
        </tr>
    </table></td>
    <td>&nbsp;</td>
  </tr>
  <tr align="center" class="table_bgcolor">
          <td><font size=2> This item has been viewed </font>
		    <? if($row[item_counter_style]==1)
			{ ?>
			<b><font size=+1 color="#009900">
		    <?= $row[clicks]; ?>
			</font>
			</b>
			<?
			}
			else
			{ ?>
               <b><I><font size=+1 color="#003399">
		    <?= $row[clicks]; ?>
			</font>
			</I></b>			
                  
			 <?
			 }
			?>
			times. </font></td>
        </tr>
		

</table>
</td></tr>
<tr><td>
<? 
 require 'templates/'.$tfold.'/footer.php';					
?>
</td></tr>
</table>
