Location: PHPKode > projects > Audio-Portal > templates/menu.php
headborder("<b>Menu</b>");
echo "
<table align=\"center\" cellspacing=\"0\" cellpadding=\"0\" width=\"100%\" class=\"tablec\"> 
 <tr> 
  <td valign=\"top\" align=\"center\">
   <table align=\"center\" cellspacing=\"5\" cellpadding=\"0\" width=\"100%\"> 
    <tr> 
     <td align=\"left\"><a href=\"index.php\" title=\"\" alt=\"\">- Home</a></td>
    </tr>
    <tr> 
     <td align=\"left\"><a href=\"browse.php?typ=artist\" title=\"\" alt=\"\">- Browse Artist</a></td>
    </tr>
    <tr> 
     <td align=\"left\"><a href=\"browse.php?typ=album\" title=\"\" alt=\"\">- Browse Albums</a></td>
    </tr>
    <tr> 
     <td align=\"left\"><a href=\"browse.php?typ=genre\" title=\"\" alt=\"\">- Browse Genre</a></td>
    </tr>";

if (!$_SESSION['SID']) {
echo "
    <tr> 
     <td align=\"left\"><a href=\"login.php\" title=\"\" alt=\"\">- Login</a></td>
    </tr>";
} else {
echo "
    <tr> 
     <td align=\"left\"><a href=\"logout.php\" title=\"\" alt=\"\">- Logout</a></td>
    </tr>";
};

echo "
   </table>
  </td>
 </tr>
</table>";
footborder();


if ($_SESSION['class']==UC_ADMIN) {
headborder("<b>Admin</b>");
echo "
<table align=\"center\" cellspacing=\"0\" cellpadding=\"0\" width=\"100%\" class=\"tablec\">
 <tr> 
  <td valign=\"top\" align=\"center\">
   <table align=\"center\" cellspacing=\"5\" cellpadding=\"0\" width=\"100%\"> 

    <tr> 
     <td align=\"left\"><a href=\"import.php\" title=\"\" alt=\"\">- Import Albums</a></td>
    </tr>
    <tr> 
     <td align=\"left\"><a href=\"config.php\" title=\"\" alt=\"\">- Config Settings</a></td>
    </tr>
    <tr> 
     <td align=\"left\"><a href=\"usr_list.php\" title=\"\" alt=\"\">- Userlist</a></td>
    </tr>
    <tr> 
     <td align=\"left\"><a href=\"showlog.php\" title=\"\" alt=\"\">- Show Log</a></td>
    </tr>
    <tr> 
     <td align=\"left\"><a href=\"stats.php\" title=\"\" alt=\"\">- Statistics</a></td>
    </tr>
    <tr> 
     <td align=\"left\"><a href=\"create_artist.php\" title=\"\" alt=\"\">- Create artist</a></td>
    </tr>
    <tr> 
     <td align=\"left\"><a href=\"del_artist.php\" title=\"\" alt=\"\">- Delete artist</a></td>
    </tr>
<!--
    <tr> 
     <td align=\"left\"><a href=\"test.php\" title=\"\" alt=\"\">- Test pagina</a></td>
    </tr>
//-->
   </table>
  </td>
 </tr>
</table>";
footborder();
};

Return current item: Audio-Portal