Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- session_start();
- ?>
- <!DOCTYPE html>
- <html lang="en" dir="ltr">
- <head>
- <meta charset="utf-8">
- <title></title>
- </head>
- <body>
- <div id="wrapper">
- <h2>Nigger, dis a forum yeeeeet</h2>
- <p>niggers arent allowed</p>
- <?php
- if(!isset($_SESSION['uid'])){
- echo "<form action='login_parse.php' method='post'>
- Username: <input type='text' name='realname' />
- Password: <input type='password' name='password' />
- <input type='submit' name='submit' value='Log In'/>";
- }else {
- echo "<p>You are logged in as ".$_SESSION['realname']."• <a href='logout_parse.php'>Logout</a>";
- }
- ?>
- </div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement