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

session_start();
require ("auth.php");
unset($msg);
if ($Transmarco["accesslevel"] < $coadminlevel) {
	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 topmargin="7" marginheight="7" bgcolor="#CCCCCC">
<table width="100%" border="0" cellspacing="0" cellpadding="0" height="73">
  <tr> 
    <td width="13" align="right" valign="top"><img src="<? echo $images ?>btlb.gif" width="13" height="73"></td>
    <td width="100%" background="<? echo $images ?>btbg.gif" valign="bottom"><img src="<? echo $images ?>shim.gif" width="720" height="1"><br>
      <table border="0" cellspacing="0" cellpadding="0" align="center">
        <tr> 
		  <? if ($Transmarco["accesslevel"]>=$adminlevel) {?>
          <td>
            <table border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td width="12"><img src="<? echo $images ?>tla.gif" width="12" height="22"></td>
                <td background="<? echo $images ?>tlbg.gif" valign="middle" align="center"><a href="<?echo $register?>" target="mainFrame">Register 
                  New User</a></td>
                <td width="12"><img src="<? echo $images ?>tlb.gif" width="12" height="22"></td>
              </tr>
            </table>
          </td>
          <td> 
            <table border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td width="12"><img src="<? echo $images ?>tla.gif" width="12" height="22"></td>
                <td background="<? echo $images ?>tlbg.gif" valign="middle" align="center"><a href="<?echo $poolmgt?>" target="mainFrame">Pool</a></td>
                <td width="12"><img src="<? echo $images ?>tlb.gif" width="12" height="22"></td>
              </tr>
            </table>
          </td>
          <td> 
            <table border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td width="12"><img src="<? echo $images ?>tla.gif" width="12" height="22"></td>
                <td background="<? echo $images ?>tlbg.gif" valign="middle" align="center"><a href="<?echo $groupmgt?>" target="mainFrame">Group 
                  Code Management</a></td>
                <td width="12"><img src="<? echo $images ?>tlb.gif" width="12" height="22"></td>
              </tr>
            </table>
          </td>
		  <?}?>
          <td> 
            <table border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td width="12"><img src="<? echo $images ?>tla.gif" width="12" height="22"></td>
                <td background="<? echo $images ?>tlbg.gif" valign="middle" align="center"><a href="<?echo $suppliermgt?>" target="mainFrame">Supplier 
                  Management</a></td>
                <td width="12"><img src="<? echo $images ?>tlb.gif" width="12" height="22"></td>
              </tr>
            </table>
          </td>
          <td> 
            <table border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td width="12"><img src="<? echo $images ?>tla.gif" width="12" height="22"></td>
                <td background="<? echo $images ?>tlbg.gif" valign="middle" align="center"><a href="<?echo $colourmgt?>" target="mainFrame">Colour 
                  Management</a></td>
                <td width="12"><img src="<? echo $images ?>tlb.gif" width="12" height="22"></td>
              </tr>
            </table>
          </td>
		  <? if ($Transmarco["accesslevel"]>=$adminlevel) {?>
          <td> 
            <table border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td width="12"><img src="<? echo $images ?>tla.gif" width="12" height="22"></td>
                <td background="<? echo $images ?>tlbg.gif" valign="middle" align="center"><a href="<?echo $userlist?>" target="mainFrame">User 
                  List</a> </td>
                <td width="12"><img src="<? echo $images ?>tlb.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="<? echo $images ?>tla.gif" width="12" height="22"></td>
                <td background="<? echo $images ?>tlbg.gif" valign="middle" align="center"><a href="<?echo $prodadd?>" target="mainFrame">Add 
                  Inventory Profile</a></td>
                <td width="12"><img src="<? echo $images ?>tlb.gif" width="12" height="22"></td>
              </tr>
            </table>
          </td>
          <td> 
            <table border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td width="12"><img src="<? echo $images ?>tla.gif" width="12" height="22"></td>
                <td background="<? echo $images ?>tlbg.gif" valign="middle" align="center"><a href="<?echo $prodquery?>?action=Reset" target="mainFrame">Query|Edit Existing Inventory Profiles</a></td>
                <td width="12"><img src="<? echo $images ?>tlb.gif" width="12" height="22"></td>
              </tr>
            </table>
          </td>
          <td> 
            <table border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td width="12"><img src="<? echo $images ?>tla.gif" width="12" height="22"></td>
                <td background="<? echo $images ?>tlbg.gif" valign="middle" align="center"><a href="<?echo $chgpass?>" target="mainFrame">Change 
                  Password</a></td>
                <td width="12"><img src="<? echo $images ?>tlb.gif" width="12" height="22"></td>
              </tr>
            </table>
          </td>
          <td>&nbsp;&nbsp;&nbsp;<font color="#666666"><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="<? echo $images ?>ldot.gif"><a href="<?echo $docroot ?>/<? echo $logoff ?>" target="_top"><img border="0" src="<? echo $images ?>lgf.gif" alt="LogOff!"></a></td>
          </tr>
        </table>
      </div>
    </td>
    <td width="13" valign="top" align="left"><img src="<? echo $images ?>btla.gif" width="13" height="73"></td>
  </tr>
</table>
</body>
<?	} ?>
