Posted by aKa on Thu 7th Jun 08:39
download | new post
- <?
- /**
- * Author THE MOTHER FUCKING MAN!!!!
- * Title COCK MANIAC MONSTERS!!!! .com - Require Auth.
- * Desc Front page for public website
- * Version 1.0
- * Created 06/03/2007
- */
- /**** Page Settings ****/
- /** Classes to load before sessions **/
- /** Allowed user types **/
- $user_auth_settings['admin'] = true;
- $user_auth_settings['publisher'] = true;
- $login_page = 'admin_web_login_page';
- /**
- * Start: Run our boot loader. This will load all configs,
- * connect to DB and pull load class files.
- */
- require_once '../../includes/start.inc.php';
- /**
- * Header: Set load header
- */
- require_once 'includes/header.inc.php';
- /**
- * Body: Do page specific function and output
- */
- ?>
- <h1>You have reached a page that requires login. Your user information is:</h1>
- <p><a href="./action_logout.php" style="color: #ff0000;">Log Out</a></p>
- <ul>
- <li>ID: <?=$_SESSION[user]->id?></li>
- <li>Member ID: <?=$_SESSION[user]->member_id?></li>
- <li>Username: <?=$_SESSION[user]->username?></li>
- <li>Password Hash: <?=$_SESSION[user]->password_hash?></li>
- <li>Password Salt: <?=$_SESSION[user]->salt?></li>
- <li>Last Login: <?=$_SESSION[user]->last_login?></li>
- <li>Created On: <?=$_SESSION[user]->created_on?></li>
- </ul>
- <?
- /**
- * Footer: Pull Page Footer
- */
- require_once 'includes/footer.inc.php';
- /**
- * End: Run out end script. This will run all
- * end of life functions we need.
- */
- require_once '../../includes/end.inc.php';
- ?>
Submit a correction or amendment below. (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.