\n"; $userdata = new WebUser(); if ($userdata->Authenticate($_POST[username],$_POST[password]) && $userdata->hasAccess($ACCESS_VIEW_SITE)) { $_SESSION["userdata"]=$userdata; } else { unset($userdata); } } elseif (isset($_POST['logout']) || isset($_GET['logout'])) { unset($_SESSION["userdata"]); unset($userdata); } else { $userdata = $_SESSION["userdata"]; } if (!$page->hasOpenAccess() && (!$userdata || !$userdata->hasAccessToCurrentDir())) { include("login.php"); exit(); } /* print $a; if ($userdata) { print "yay, [$userdata->name] logged in\n"; } else { print "noone logged in\n"; }



athoeu exit(); */ if ($page->SideColour != "") $sideColour=$page->SideColour; else $sideColour="#0000FF"; ?> PageTitle != "") $page_master=$page->PageTitle; else $page_master="$title"; ?> <? echo $coname; ?> :: <?= $page_master; ?> Jtown Home Page Home Page About Us Member Search Member Forum Newsletter Member Registration Contact Us Online Store Photo Gallery Our Calendar What's New! Find A Classmate