<?php
/*
osSchool - http://www.osschoolonline.net/
Copyright (C) 2006 Julian Young
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
?>
<!-- menu -->
<table cellspacing="0" cellpadding="0" width="170" >
<tr><td class="none" height="20" > </td></tr>
<?php
$session = ossSystem_Session::getSession();
$menuItems = $session->getMenu();
$menuCount = count($menuItems);
for($i=0;$i < $menuCount;$i++) {
echo '<tr><td class="menuItem" height="20" onMouseOver="setCellMouseOver(this,\'8c92ac\');" onMouseOut="setCellMouseOut(this,\'6C7B8B\');"> <a class="menuItem" href="' . $menuItems[$i][1] . '">' . $menuItems[$i][0] .'</td><tr>' . "\n";
}
?>
<tr><td class="menuItem" height="20" > </td></tr>
</table>
<!-- end menu -->