<?php session_start();  //Developed by ITechScripts
require 'include/announcements.php'; // ITECHBIDS Configuration File
require 'include/itechbids.php'; // Server compatibility Patch
$locheckuser=$_SESSION[username];
$locheckpass=$_SESSION[checkpass];
if((strlen($locheckuser)==0) || (strlen($locheckpass)==0))
{
echo '<meta http-equiv="refresh" content="0; url=index.php">';
exit();
} 
$lochecksql="select * from member_details where user_name='$locheckuser' and password='$locheckpass' and verified='yes' and approved='yes' and payment_status='yes'";
$locheckre=mysql_query($lochecksql);
if(mysql_num_rows($locheckre)==0)
{
echo '<meta http-equiv="refresh" content="0; url=index.php">';
exit();
} 
$_SESSION[item_name]="";
$_SESSION[des]="";
$_SESSION[postmethod]="";
$_SESSION[currency]="";
$_SESSION[min_amt]="";
$_SESSION[quick_price] ="";
$_SESSION[rev_price]="";
$_SESSION[bid_inc]="";
$_SESSION[size_of_qty]="";
$_SESSION[qty]="";
$_SESSION[start_delay]="";
$_SESSION[image1]="";
$_SESSION[image2]="";
$_SESSION[image3]="";
$_SESSION[shipping_route]="";
$_SESSION[shipping_amt]="";
$_SESSION[tax]="";
$_SESSION[mode]="";
$_SESSION[Gallery]="";
$_SESSION[Border]="";
$_SESSION[Highlight]="";
$_SESSION[Privateauc]="";

$_SESSION[Bold]="";
$_SESSION[Home]="";
$_SESSION[dur] ="";
$_SESSION[categoryid]="";
$_SESSION[img1]="";
?>
<? require'themes/sell.tpl';?>
<tr><td>
<? 
 require 'templates/'.$tfold.'/footer.php';					
?>
</td></tr>
</table>
</body>
</html>