Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Server Development
Habbo Retros
Habbo Q&A
[Request][Client Error]Look at photo below
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Zaka" data-source="post: 256356" data-attributes="member: 12728"><p>replace your code with this one:</p><p>[PHP]<?php</p><p>define('USERNAME_REQUIRED', TRUE);</p><p>define('ACCOUNT_REQUIRED', TRUE);</p><p>include("../global.php");</p><p>if(!isset($_SESSION["username"]))</p><p>header("Location: ../characters.php");</p><p>elseif(!isset($_SESSION["account"]))</p><p>header("Location: ../index.php");</p><p>$username = $_SESSION['username'];</p><p>$ban = mysql_query("SELECT * FROM bans WHERE bantype = 'user' AND value ='".$username."' AND expire > ".time()."");</p><p>if(mysql_num_rows($ban) > 0)</p><p>{</p><p>session_destroy();</p><p>header("Location: index.php?error=ban");</p><p>die;</p><p>}</p><p>?></p><p><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"></p><p><html xmlns="http://www.w3.org/2245/xhtml"></p><p><head></p><p><link type="text/css" rel="stylesheet" href="../Public/Styles/<?php echo $currentstyle ?>/CSS/main.css" /></p><p></head></p><p><body style="text-align:center"></p><p> <table style="padding:50px 50px 50px 50px;"></p><p> <tr></p><p> <td width="30%"></td></p><p> <td style="width:64px; height:64px; background-image:url(/Public/Styles/Default/Images/icons/warning_64.png); background-repeat:no-repeat"></td></p><p> <td style="width:400px"></p><p> <strong>A problem occurred, sorry Lewis!</strong><br/></p><p> Please try reloading the hotel, if the problem continues wait a few minutes before trying again. If you are unable to get onto the hotel for a long peroid of time please report the issue on our forums.</p><p> </td></p><p> <td width="30%"></td></p><p> </tr></p><p> </table></p><p> <?php include("../system/footer.php"); ?></p><p></body>[/PHP]</p></blockquote><p></p>
[QUOTE="Zaka, post: 256356, member: 12728"] replace your code with this one: [PHP]<?php define('USERNAME_REQUIRED', TRUE); define('ACCOUNT_REQUIRED', TRUE); include("../global.php"); if(!isset($_SESSION["username"])) header("Location: ../characters.php"); elseif(!isset($_SESSION["account"])) header("Location: ../index.php"); $username = $_SESSION['username']; $ban = mysql_query("SELECT * FROM bans WHERE bantype = 'user' AND value ='".$username."' AND expire > ".time().""); if(mysql_num_rows($ban) > 0) { session_destroy(); header("Location: index.php?error=ban"); die; } ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/2245/xhtml"> <head> <link type="text/css" rel="stylesheet" href="../Public/Styles/<?php echo $currentstyle ?>/CSS/main.css" /> </head> <body style="text-align:center"> <table style="padding:50px 50px 50px 50px;"> <tr> <td width="30%"></td> <td style="width:64px; height:64px; background-image:url(/Public/Styles/Default/Images/icons/warning_64.png); background-repeat:no-repeat"></td> <td style="width:400px"> <strong>A problem occurred, sorry Lewis!</strong><br/> Please try reloading the hotel, if the problem continues wait a few minutes before trying again. If you are unable to get onto the hotel for a long peroid of time please report the issue on our forums. </td> <td width="30%"></td> </tr> </table> <?php include("../system/footer.php"); ?> </body>[/PHP] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
[Request][Client Error]Look at photo below
Top