<?php session_start(); require_once 'config.php'; admin['titlebar']['value']; if (isset(pageTitle != "") { pageTitle; } if (isset(userid = userid = null; } if (isset(access_lvl = access_lvl = null; } if (isset(username = username = null; } ?> <html> <head> <title><?php echo </title> <link rel="stylesheet" type="text/css" href="forum_styles.css"> </head> <body> <div class="body"> <div id="header"> <form method="get" action=<search.php> id="searchbar"> <input id="searchkeywords" type="text" name="keywords" <?php if (isset(_GET['keywords'])) { echo ' value="' . htmlspecialchars(<input id="searchbutton" class="submit" type="submit" value="Search"> </form> <h1 id="sitetitle"><?php echo admin['title']['value']; ?></h1> <div id="login"> <?php if (isset(_SESSION['name']; } ?> </div> <p id="subtitle"><?php echo </p> </div> <div id="subheader"> <div id="navigation"> <?php echo ' <a href=<index.php>>Home</a>'; if (!isset(_SESSION['user_id'])) { echo ' | <a href=<login.php>>Log In</a>'; echo ' | <a href=<useraccount.php>>Register</a>'; } else { echo ' | <a href="transact-user.php?action=Logout">'; echo "Log out " . </a>"; if (_SESSION['access_lvl'] > 2) { echo ' | <a href=<admin.php>>Admin</a>'; } echo ' | <a href=<useraccount.php>>Profile</a>'; } ?> </div> </div>
(C) Æliens 20/2/2008
You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.