// 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 admin users can edit preferences if ($_SESSION['seclevel']!="admin") { redirect("logout.php"); exit(1); } // display HTML meta and ui headers display_meta($_SESSION['version']." - Edit Preferences"); display_header("Edit Preferences"); ?>
Main - Edit Preferences |
if ($_GET["error"]) { echo "** ".$_GET["error"]; } else { echo " "; } ?> |