Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- include ('includes/document_head.php');
- define('USERNAME_REQUIRED', FALSE);
- define('ACCOUNT_REQUIRED', FALSE);
- include('global.php');
- if(isset($_SESSION["username"]))
- header("Location: me.php");
- elseif(isset($_SESSION["account"]))
- header("Location: characters.php");
- ?>
- <head>
- <title><?php echo $sitename; ?></title>
- </head>
- <body>
- <div id="login_box" class="round_all clearfix">
- <center><p><?php echo $core->UsersOnline(); ?> <?php echo $lang['users_online'] ?></p></center>
- <?php
- if(isset($_GET["error"]) && $_GET["error"] == "password")
- {
- ?>
- <form action="login.php" method="post">
- <label class="fields"><strong>Username</strong><input type="text" id="username" class="indent round_all"></label>
- <label class="fields"><strong>Password</strong><input type="password" id="password" class="indent round_all"></label>
- <button class="button_colour round_all"><img width="24" height="24" alt="Locked 2" src="images/icons/small/white/Locked%202.png"><span>Login</span></button>
- </form>
- <div id="bar" class="round_bottom">
- <?php echo $lang['index_register']; ?>
- </div>
- <a href="#" id="login_logo"><span></span></a>
- <?php include ('includes/template_options.php');?>
- <script type="text/javascript">
- var username = new LiveValidation('username');
- username.add( Validate.Presence );
- var password = new LiveValidation('password');
- password.add( Validate.Presence );
- </script>
- </body>
- </html>
- <?php
- include ('includes/closing_items.php');
- include("system/footer.php");
- ?>;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement