include_once "../php_inc/config.php";
$page_title = "Site Administration";
$page_content = "
";
// $page_content .= "loggedin: ".$_SESSION["loggedin"];
if(!isset($_COOKIE["adm_sess"]) && !isset($_REQUEST["login"]) && !isset($_REQUEST["password"])){
$page_content .= "
Login
Please login to access the administration tools
Forgot your login ID or password?
";
}else{ // the visitor is logged in
include_once "auth_check.php";
$now = time();
$two_weeks_ago = $now - 5184000;
$page_content .= "
Site Content Administration
";
if($role == "super"){
$page_content .= "
";
}
$more_nav .= "
Logout";
}
$page_content .= "
";
display_admin();
?>