Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- if (!$user->data['is_registered']) {
- echo '<div id="login">';
- echo '<form method="post" action="'.$phpbb_root_path.'/ucp.php?mode=login" class="headerspace">';
- echo ' <ul>';
- echo ' <li><label for="username">Username:</label> <input type="text" name="username" id="username" size="5" class="inputbox" title="Username" /> </li>';
- echo ' <li><label for="password">Password:</label> <input type="password" name="password" id="password" size="5" class="inputbox" title="Password" /></li>';
- 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>';
- echo ' </ul>';
- echo ' <input type="hidden" name="redirect" value="'.$returnAddress.'">';
- echo ' </fieldset>';
- echo ' </form>';
- echo ' </div>';
- }
- if ($user->data['is_registered']) {
- echo '<a href="'.$phpbb_root_path.'/ucp.php?mode=logout&'.$user->data['session_id'].'&redirect='.$returnAddress.'">Log The Fuck Out</a>';
- }
- ?>
Add Comment
Please, Sign In to add comment