Logged in as: " . $current_user->name . " - Logout\n";
switch($mode) {
case "profile":
include_once($UTIL_DIR. "/profile.php");
break;
case "calendar":
include_once($UTIL_DIR. "/calendar.php");
break;
case "addressbook":
include_once($UTIL_DIR. "/addressbook.php");
break;
case "editor":
include_once($UTIL_DIR. "/editor.php");
break;
case "edit":
include_once($UTIL_DIR. "/edit.php");
break;
case "filehandler":
include_once($UTIL_DIR. "/filehandler.php");
break;
case "diagnostics":
include_once($UTIL_DIR. "/diagnostics.php");
break;
case "view":
default:
include_once($UTIL_DIR. "/view.php");
break;
}
} else {
?>