<?php 

//include("session_start.php");

include("session_check.php");

include("database.php");

//include("paginator.class.php");



extract($_GET);

$cat = $_SESSION['cat'];

//echo $cat;

if($cat == "admin")

{

	//echo $cat;

	//echo $_SESSION['username'];

}



 ?>











<p align="center">

<?php if($cat == "admin") { ?>   <a href="" onMouseOver="setOverImg('1','');overSub=true;showSubMenu('submenu1','button1');" onMouseOut="setOutImg('1','');overSub=false;setTimeout('hideSubMenu(\'submenu1\')',delay);" target=""><img src="buttons/masterrecords.png" border="0" id="button1" vspace="1" hspace="1" ></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <?php } ?>

      

<?php if($cat == "admin" || $cat == "user") { ?><a href="" onMouseOver="setOverImg('2','');overSub=true;showSubMenu('submenu2','button2');" onMouseOut="setOutImg('2','');overSub=false;setTimeout('hideSubMenu(\'submenu2\')',delay);" target=""><img src="buttons/transactions.png" border="0" id="button2" vspace="1" hspace="1" ></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <?php } ?>



<?php if($cat == "superadmin") { ?><a href="master_tab.php" onMouseOver="setOverImg('8','');overSub=true;showSubMenu('submenu8','button8');" onMouseOut="setOutImg('8','');overSub=false;setTimeout('hideSubMenu(\'submenu8\')',delay);" target=""><img src="buttons/masterrecords_super_admin.png" border="0" id="button8" vspace="1" hspace="1" ></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <?php } ?>



<?php if($cat == "superadmin") { ?><a href="super_admin_grid.php" onMouseOver="setOverImg('7','');overSub=true;showSubMenu('submenu7','button7');" onMouseOut="setOutImg('7','');overSub=false;setTimeout('hideSubMenu(\'submenu7\')',delay);" target=""><img src="buttons/transactions_super_admin.png" border="0" id="button7" vspace="1" hspace="1" ></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <?php } ?>



<?php if($cat == "admin") { ?><a href="" onMouseOver="setOverImg('3','');overSub=true;showSubMenu('submenu3','button3');" onMouseOut="setOutImg('3','');overSub=false;setTimeout('hideSubMenu(\'submenu3\')',delay);" target=""><img src="buttons/reports.png" border="0" id="button3" vspace="1" hspace="1" ></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <?php } ?>



<?php if($cat == "admin") { ?><a href="" onMouseOver="setOverImg('4','');overSub=true;showSubMenu('submenu4','button4');" onMouseOut="setOutImg('4','');overSub=false;setTimeout('hideSubMenu(\'submenu4\')',delay);" target=""><img src="buttons/admin.png" border="0" id="button4" vspace="1" hspace="1" ></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <?php } ?>



<?php if($cat == "user") { ?><a href="user_report.php" onMouseOver="setOverImg('6','');overSub=true;showSubMenu('submenu6','button6');" onMouseOut="setOutImg('6','');overSub=false;setTimeout('hideSubMenu(\'submenu6\')',delay);" target=""><img src="buttons/user_report.png" border="0" id="button6" vspace="1" hspace="1" ></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <?php } ?>



<a href="logout.php" onMouseOver="setOverImg('5','');overSub=true;showSubMenu('submenu5','button5');" onMouseOut="setOutImg('5','');overSub=false;setTimeout('hideSubMenu(\'submenu5\')',delay);" target=""><img src="buttons/logout.png" border="0" id="button5" vspace="1" hspace="1" ></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;







</p>







