
<link href="css/form.css" type="text/css" rel="stylesheet" media="screen"  />
<html>
<body >

<?session_start();
 include("opendb.php");
?>
<base target='main'>
<style>
.mnu{margin-left:5}
</style>
<center>
<font size=3 ><B>S A L E S</B></font>
<table cellspacing=1 cellpadding=4 bgcolor='aliceblue' width=100%>
<?
$us=mysqli_query($db,"select level from bruser where username='$user'")or die(mysqli_error());
$r=mysqli_fetch_row($us);
$user_level=$r[0];
 if($user_level==12 )
{
?>

<tr ><td><a href='listshd.php'>Followup Report</a></td></tr>
<tr ><td><a href='presale/tabill.php'>T.A Bill</a></td></tr>
<tr ><td><a href='blank.html' onClick=repofun()>Reports &nbsp;&nbsp;&nbsp;&nbsp;></a></td></tr>

<?
}

 if($user_level==11)
{
?>

<tr ><td><a href='presale/iqsource.php'>Source</a></td></tr>
<tr ><td><a href='presale/tonnage.php'>Tonnage</a></td></tr>
<tr ><td><a href='presale/usage.php'>Usage</a></td></tr>
<tr ><td><a href='presale/cbrand.php'>Compte.Brand</a></td></tr>
<tr ><td><a href='presale/brand.php'>Compte.Models</a></td></tr>
<tr ><td><a href='pcmaster.php'>Platform/Criteria</a></td></tr>
<tr ><td><a href='presale/locmaster.php'>Location</a></td></tr>
<tr ><td><a href='presale/target.php'>Target</a></td></tr>
<tr ><td><a href='presale/model.php'>Pre-sale Model</a></td></tr>
<tr ><td><a href='listphd.php'>Followup Report</a></td></tr>
<tr ><td><a href='presale/tabill.php'>T.A Bill</a></td></tr>
<tr ><td><a href='blank.html' onClick=repofun()>Reports &nbsp;&nbsp;&nbsp;&nbsp;></a></td></tr>


<?
}

 if($user_level==10)
{
?>

<tr ><td><a href='listbhd.php'>Followup Report</a></td></tr>
<tr ><td><a href='presale/tabill.php'>T.A Bill</a></td></tr>
<tr ><td><a href='blank.html' onClick=repofun()>Reports &nbsp;&nbsp;&nbsp;&nbsp;></a></td></tr>

<?
}
?>



<?
if($user_level==0)
{
?>


<tr ><td><a href='prospectmaster.php'> Prospect</a></td></tr>
<tr ><td><a href='inquiry.php' target='a'>Inquiry</a></td></tr>
<tr ><td><a href='list.php'>Followup Report</a></td></tr>
<tr ><td><a href='presale/tabill.php'>T.A Bill</a></td></tr>
<tr ><td><a href='blank.html' onClick=repofun()>Reports &nbsp;&nbsp;&nbsp;&nbsp;></a></td></tr>
<?
}
?>

<?
 if($level==12)
{
?>
<tr ><td><a href='presale/chuser.php'>Change User</a></td></tr>
<?
}
?>
</table>

<script>
function repofun()
{
 document.location='repomnu.php';
}
</script>
