Location: PHPKode > projects > FreeSMS (Free Student Management System) > FreeSMS/common/crc_menu.html
<!--
This is the menu
-->
<table align="left" class="tbl">
	<?php
	 if ($_SESSION['roleid'] == 3) {
	   print '<tr align="left"><th nowrap><a href="crc_handler.php?method=courses&func=get" class="hdr">Courses</a></th></tr>';
	 } else if ($_SESSION['roleid'] == 2) {
	   print '<tr align="left"><th nowrap><a href="crc_handler.php?method=teacher&func=getschedule" class="hdr">Classes</a></th></tr>';
	 } else if ($_SESSION['roleid'] == 1) {
	   print '<tr align="left"><th nowrap><a href="crc_handler.php?method=admin&func=get" class="hdr">Administration</a></th></tr>';
	   print '<tr align="left"><th nowrap><a href="crc_handler.php?method=teacher&func=getschedule" class="hdr">Classes</a></th></tr>';
	 }
	?>
	<tr align="left"><th nowrap><a href="crc_handler.php?method=profile&func=get" class="hdr">Edit Profile</a></th></tr>
	<tr align="left"><th nowrap><a href="crc_handler.php?method=schedule&func=get" class="hdr">Schedule</a></th></tr>
	<tr align="left"><th nowrap><a href="crc_handler.php?method=events&func=get" class="hdr">News &amp; Events</a></th></tr>
	<tr align="left"><th nowrap><a href="crc_handler.php?method=team&func=get" class="hdr">Team DM</a></th></tr>
	<tr align="left"><th nowrap><a href="crc_handler.php?method=help&func=get" class="hdr">Help</a></th></tr>
	<tr align="left"><th nowrap><a href="crc_handler.php?method=logout" class="hdr">Logout</a></th></tr>
</table>
Return current item: FreeSMS (Free Student Management System)