Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>EbinCMS</title>
- <link type="text/css" rel="stylesheet" href="anssi.css" />
- </head>
- <body>
- <center>
- <table bgcolor="red" border="2" bordercolor="darkred"><tr><td bgcolor="red"><i>This is <b>not</b> Habbo! Please dont enter same password in this hotel!</i></td></tr></table>
- <div class="loginBox">
- <div class="loginForm">
- <?php
- if(isset($_GET["error"]) && $_GET["error"] == "password")
- {
- ?>
- <div class="errormsg" id="habbo_name_message_box">
- <h3><?php echo $lang['error_wrong_password']; ?></h3>
- <?php echo $lang['error_wrong_password_text']; ?>
- </div>
- <?php
- }
- elseif(isset($_GET["error"]) && $_GET["error"] == "username")
- {
- ?>
- <div class="errormsg" id="habbo_name_message_box">
- <h3><?php echo $lang['error_wrong_username']; ?></h3>
- <?php echo $lang['error_wrong_username_text']; ?>
- </div>
- <?php
- }
- elseif(isset($_GET["error"]) && $_GET["error"] == "ban")
- {
- if(isset($_GET["user"]))
- {
- $query = mysql_query("SELECT * FROM bans WHERE value = '".$_GET["user"]."' AND expire > UNIX_TIMESTAMP() ORDER BY expire DESC LIMIT 1");
- }
- elseif(isset($_GET["ip"]))
- {
- $query = mysql_query("SELECT * FROM bans WHERE value = '".$_GET["ip"]."' AND expire > UNIX_TIMESTAMP() ORDER BY expire DESC LIMIT 1");
- }
- $ban = @mysql_fetch_array($query);
- ?>
- <div class="errormsg" id="habbo_name_message_box">
- <h3><?php echo $lang['error_ban']; ?></h3>
- <?php echo $lang['error_ban_reason']; ?>: <?php echo $ban['reason']; ?><br />
- <?php echo $lang['error_ban_expire']; ?>: <?php echo @date("d-m-Y H:i", $ban['expire']); ?><br />
- <?php echo $lang['error_ban_moderator']; ?>: <?php echo $ban['added_by']; ?>
- </div>
- <?php
- }
- ?>
- <form action="./login.php" method="post">
- <?php echo $lang['index_register']; ?><br /><br />
- Username:<br /><input type="text" name="username" /><br /><br />
- Password:<br /><input type="password" name="password" /><br /><br />
- <input type="submit" value="Login!" onmousedown="this.style.backgroundColor='#ddd';" onmouseup="this.style.backgroundColor='#eee';" onmouseover="this.style.backgroundColor='#eee';" onmouseout="this.style.backgroundColor='#fff';" />
- </form>
- </div>
- </div>
- </center>
- </body>
- </html>
Add Comment
Please, Sign In to add comment