<?
/*
Author		: Yaw
Version		: 1.01
Date			: 9th January 2002
Function		: Site Header
*/ 

session_start();
require("auth.php");
if ($Transmarco["accesslevel"]<$public) {
	authfail();
} else 	{ ?>
<style type="text/css">
<!--
A:link {color:#FFFFFF;text-decoration: none}
A:visited {color:#FFFFFF;text-decoration: none}
A:hover {color:#FFCC00;text-decoration: none}

p {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px;}
br {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px;}
td {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px;}
font {line-height: 16px;}
body { background-color: #FFFFFF;}

-->
</style>
<body>
<br>
<table width="100%" border="0" cellspacing="0" cellpadding="0" height="73">
  <tr> 
    <td width="13" align="right" valign="top"><img src="images/bta.gif" width="13" height="73"></td>
    <td width="100%" background="images/btg.gif" valign="top"><img src="images/shim.gif" width="720" height="1"><br>
      <table border="0" cellspacing="0" cellpadding="0" align="center">
        <tr> 
          <td> 
            <table border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td width="12"><img src="images/ta.gif" width="12" height="22"></td>
                <td background="images/tbg.gif" valign="middle" align="center"><a href="<?echo $register?>" target="mainFrame">Register 
                  New User</a></td>
                <td width="12"><img src="images/tb.gif" width="12" height="22"></td>
              </tr>
            </table>
          </td>
          <td> 
            <table border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td width="12"><img src="images/ta.gif" width="12" height="22"></td>
                <td background="images/tbg.gif" valign="middle" align="center"><a href="<?echo $groupmgt?>" target="mainFrame">Group 
                  Code Management</a></td>
                <td width="12"><img src="images/tb.gif" width="12" height="22"></td>
              </tr>
            </table>
          </td>
          <td> 
            <table border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td width="12"><img src="images/ta.gif" width="12" height="22"></td>
                <td background="images/tbg.gif" valign="middle" align="center"><a href="<?echo $suppliermgt?>" target="mainFrame">Supplier 
                  Management</a></td>
                <td width="12"><img src="images/tb.gif" width="12" height="22"></td>
              </tr>
            </table>
          </td>
          <td> 
            <table border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td width="12"><img src="images/ta.gif" width="12" height="22"></td>
                <td background="images/tbg.gif" valign="middle" align="center"><a href="<?echo $colourmgt?>" target="mainFrame">Colour 
                  Management</a></td>
                <td width="12"><img src="images/tb.gif" width="12" height="22"></td>
              </tr>
            </table>
          </td>
          <td> 
            <table border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td width="12"><img src="images/ta.gif" width="12" height="22"></td>
                <td background="images/tbg.gif" valign="middle" align="center"><a href="<?echo $userlist?>" target="mainFrame">User 
                  List</a> </td>
                <td width="12"><img src="images/tb.gif" width="12" height="22"></td>
              </tr>
            </table>
          </td>
        </tr>
      </table>
      <table cellspacing="0" cellpadding="0" border="0" align="center">
        <tr> 
          <td> 
            <table border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td width="12"><img src="images/tta.gif" width="12" height="22"></td>
                <td background="images/tbg.gif" valign="middle" align="center"><a href="<?echo $prodadd?>" target="mainFrame">Add 
                  Inventory Profile</a></td>
                <td width="12"><img src="images/ttb.gif" width="12" height="22"></td>
              </tr>
            </table>
          </td>
          <td> 
            <table border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td width="12"><img src="images/tta.gif" width="12" height="22"></td>
                <td background="images/tbg.gif" valign="middle" align="center"><a href="<?echo $prodquery?>?action=Reset" target="mainFrame">Query 
                  or Edit Existing Inventory Profiles</a></td>
                <td width="12"><img src="images/ttb.gif" width="12" height="22"></td>
              </tr>
            </table>
          </td>
          <td> 
            <table border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td width="12"><img src="images/tta.gif" width="12" height="22"></td>
                <td background="images/tbg.gif" valign="middle" align="center"><a href="<?echo $chgpass?>" target="mainFrame">Change 
                  Password</a></td>
                <td width="12"><img src="images/ttb.gif" width="12" height="22"></td>
              </tr>
            </table>
          </td>
          <td>&nbsp;&nbsp;&nbsp;<font color="#FFFFFF"><b>You are logged in as 
            <? echo ucwords($Transmarco["username"]) ?>
            </b></font></td>
        </tr>
      </table>
      <div align="right"> 
        <table width="32%" border="0" cellspacing="0" cellpadding="5">
          <tr>
            <td align="right" background="images/dot.gif"><a href="<?echo $docroot ?>/<? echo $logoff ?>" target="_top"><img border="0" src="<? echo $images ?>lg.gif" alt="LogOff!"></a></td>
          </tr>
        </table>
      </div>
    </td>
    <td width="13" valign="top" align="left"><img src="images/btb.gif" width="13" height="73"></td>
  </tr>
</table>
<p>&nbsp;</p><table width="100%" border="0" cellspacing="0" cellpadding="5" bgcolor="EEEEEE">
  <tr>
    <td>
      <table align="center" width="100%" border="0" cellpadding="3" cellspacing="1" bgcolor="#FFFFFF">
        <? if ($Transmarco["accesslevel"]>=$adminlevel) {?>
        <tr bgcolor="#EEEEEE"> 
          <td width="15%" align="left"><a href="register.php" target="mainFrame">Register New User</a></td>
          <td width="20%" align="left"><a href="groupmgt.php" target="mainFrame">Group Code Management</a></td>
          <td width="15%" align="left"><a href="suppliermgt.php" target="mainFrame">Supplier Management</a></td>
          <td width="12%" align="left"><a href="colourmgt.php" target="mainFrame">Colour Management</a></td>
          <td width="15%" align="left"><a href="userlist.php" target="mainFrame">User List</a> </td>
          <td width="15%" align="right">You are logged in as</td>
          <td rowspan="2" valign="bottom" width="8%">
            <a href="<?echo $docroot ?>/<? echo $logoff ?>" target="_top"><img border="0" src="<? echo $images ?>greybut.gif" width="37" height="42" alt="LogOff!"></a>
          </td>
        </tr>
        <? } ?>
        <tr bgcolor="#EEEEEE"> 
          <td width="15%" align="left"><a href="prodadd.php" target="mainFrame">Add Inventory Profile</a></td>
          <td width="20%" align="left"><a href="prodquery.php?action=Reset" target="mainFrame">Query or Edit Existing Inventory Profiles</a></td>
          <td width="15%" align="left"><a href="" target="mainFrame"></a></td>
          <td width="12%" align="left"><a href="" target="mainFrame"></a></td>
          <td width="15%" align="left"><a href="changepass.php" target="mainFrame">Change Password</a></td>
          <td width="15%" align="right"><b> 
            <? echo ucwords($Transmarco["username"]) ?>
            </b></td>
        </tr>
      </table>
      <hr>
    </td>
  </tr>
</table>
</body>
<?	} ?>