// Author: Jon Belanger // Date: Nov. 2004 // comments: linked to in index.php // start the session session_start(); include("functions.php"); include("gui.php"); // check if the session username or seclevel are not set // this would occur if the user was trying to get here without logging in if (! $_SESSION['username'] | ! $_SESSION['seclevel']) { redirect("logout.php"); exit(1); } // only admins and experts can add users if ($_SESSION['seclevel']=="user") { redirect("logout.php"); exit(1); } // display HTML meta and ui headers display_meta($_SESSION['version']." - Adding User"); display_header("Adding User"); ?>
Main - Adding User |
if ($_GET["error"]) { echo "** ".$_GET["error"]; } else { echo " "; } ?> |