Guest User

Untitled

a guest
Aug 22nd, 2018
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.16 KB | None | 0 0
  1. <?php
  2.  
  3.  
  4. if (!$user->data['is_registered']) {
  5. echo '<div id="login">';
  6. echo '<form method="post" action="'.$phpbb_root_path.'/ucp.php?mode=login" class="headerspace">';
  7.  
  8. echo ' <ul>';
  9. echo ' <li><label for="username">Username:</label>&nbsp;<input type="text" name="username" id="username" size="5" class="inputbox" title="Username" /> </li>';
  10. echo ' <li><label for="password">Password:</label>&nbsp;<input type="password" name="password" id="password" size="5" class="inputbox" title="Password" /></li>';
  11. echo ' <li><label for="autologin">Log me on automatically each visit <input type="checkbox" name="autologin" id="autologin" class="checkbox" /></label> <input type="submit" name="login" value="Login" class="button2" /></li>';
  12. echo ' </ul>';
  13. echo ' <input type="hidden" name="redirect" value="'.$returnAddress.'">';
  14. echo ' </fieldset>';
  15. echo ' </form>';
  16. echo ' </div>';
  17.  
  18. }
  19.  
  20. if ($user->data['is_registered']) {
  21. echo '<a href="'.$phpbb_root_path.'/ucp.php?mode=logout&'.$user->data['session_id'].'&redirect='.$returnAddress.'">Log The Fuck Out</a>';
  22.  
  23. }
  24.  
  25. ?>
Add Comment
Please, Sign In to add comment