array("Users","User administration module",VIEW), "recept.php" => array("Receptenlijst","Recepten toevoegen, bewerken en verwijderen",EDIT), "keuken.php" => array("Keuken","Keuken types",EDIT), "stats.php" => array("Statistics", "Statistieken over de recepten", VIEW), "visitors.php" => array("Visitors", "Bezoekers op dit moment",EDIT), "$PHP_SELF?target=logout" => array("Log out","log out of the system",VIEW), "../index.php" => array("Home","Terug naar de receptenpagina",VIEW) ); function displayframe() { global $PHP_SELF; ?> Recepten Administratie " scrolling="no" noresize> " target="_self"> <body> <p>This page uses frames, but your browser doesn't support them.</p> </body> Menu "; foreach ($menu as $link => $text) { if ($Auth->isPermitted($text[2])) { if ($text[0]!= "Home") echo "

$text[0]

"; else echo "

$text[0]

"; } } echo ""; } function displaymain($Auth,$menu) { global $PHP_SELF, $Style, $PermissionList; ?> SKA Admininstration Panel (SKAAP)

Welcome authUsername ." (permission level:" . $PermissionList[$Auth->authUserPermission] . ")" ?>

These pages show the administrator Apps.

Version history logout(); break; default : displayframe(); break; } ?>