. */ function echoln($t, $debugmsg=false, $layout=false) { global $setup; if( $setup['Debug'] ) { echo $t; if( !$layout ) echo "\n"; }else { echo rtrim(ltrim($t), "\n\r\0\x0B"); } } function debug($msg) { global $setup; if( $setup['Debug'] ) { echo "\n
| ");
echoln("User: ".$_SESSION['sess_name']." [Logout]");
// Help
if( isset($_REQUEST['show']) ) {
echoln("");
}else {
echoln("");
}
if( count($_SESSION['sess_functions'])>0 ) {
// Selections
echoln(" Selection: [Change] "); echoln("
Overviews: "); echoln("
Totals and statistics: "); echoln("
Registration: "); echoln("
Administrator: "); echoln("
+: opens in new window"); echoln(" *: independent of selection"); echoln(" #: open and hide menu"); // Copyright echoln(" "); echoln(" Created by Wim van Ravesteijn | ");
echoln(" "); } } } /* admin_footer($empty=false) * Show the page footer * @param: empty: when true, do not output anything if login is ok (useful for downloads or images) * @return: - */ function admin_footer($nomenu=false, $nohtml=false) { global $ldap; if( !$nohtml ) { if( !$nomenu ) { echoln(" | "); echoln("