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
[HELP] RevCMS PHP coding[HELP]
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="alex194568" data-source="post: 369924" data-attributes="member: 62705"><p><!DOCTYPE html></p><p><html lang="en"></p><p> <head></p><p> <meta http-equiv="content-type" content="text/html; charset=utf-8"></p><p> <title>{hotelName} - Staff</title></p><p> </p><p> <link rel="stylesheet" href="{url}/app/tpl/skins/Habbo/styles/common.css" type="text/css"></p><p> <script type="text/javascript" src="{url}/app/tpl/skins/Habbo/js/libs2.js"></script></p><p> <script type="text/javascript" src="{url}/app/tpl/skins/Habbo/js/visual.js"></script></p><p> <script type="text/javascript" src="{url}/app/tpl/skins/Habbo/js/libs.js"></script></p><p> <script type="text/javascript" src="{url}/app/tpl/skins/Habbo/js/common.js"></script></p><p> <script type="text/javascript" src="{url}/app/tpl/skins/Habbo/js/fullcontent.js"></script></p><p> </p><p> <script type="text/javascript"></p><p> document.habboLoggedIn = true;</p><p> var habboName = "{username}";</p><p> var habboId = {userid};</p><p> var habboReqPath = "";</p><p> var habboStaticFilePath = "{url}/app/tpl/skins/Habbo";</p><p> var habboImagerUrl = "<a href="http://www.habbo.com/habbo-imaging/" target="_blank">http://www.habbo.com/habbo-imaging/</a>";</p><p> var habboPartner = "";</p><p> var habboDefaultClientPopupUrl = "{url}/client";</p><p> window.name = "habboMain";</p><p> if (typeof HabboClient != "undefined") {</p><p> HabboClient.windowName = "eac955c8dbc88172421193892a3e98fc7402021a";</p><p> HabboClient.maximizeWindow = true;</p><p> }</p><p> </script></p><p> </p><p> <!--[if IE 8]></p><p> <link rel="stylesheet" href="{url}/app/tpl/skins/Habbo/styles/ie8.css" type="text/css"></p><p> <![endif]--></p><p> <!--[if lt IE 8]></p><p> <link rel="stylesheet" href="{url}/app/tpl/skins/Habbo/styles/ie.css" type="text/css" /></p><p> <![endif]--></p><p> <!--[if lt IE 7]></p><p> <link rel="stylesheet" href="{url}/app/tpl/skins/Habbo/styles/ie6.css" type="text/css" /></p><p> <script type="text/javascript" src="{url}/app/tpl/skins/Habbo/js/pngfix.js"></script></p><p> <script type="text/javascript"></p><p> try { document.execCommand('BackgroundImageCache', false, true); } catch(e) {}</p><p> </script></p><p> <style type="text/css"></p><p> body { behavior: url({url}/app/tpl/skins/Habbo/js/csshover.htc); }</p><p> </style></p><p> <![endif]--></p><p> </head></p><p> </p><p> <body id="home"></p><p> </p><p> <div id="overlay"></div></p><p> <?php include ("includes/header.php"); ?></p><p> <ul id="navi"></p><p> <li class="metab"><a href="{url}/me">{username}</a><span></span></li></p><p> <li class="selected"><strong>Community</strong><span></span></li></p><p> <li id="tab-register-now"><a href="{url}/shop">Shop</a><span></span></li></p><p> </p><p> </ul></p><p> <div id="habbos-online" style="background-color:#FFF;border-radius:6px;"><div class="rounded"><span>{online}<br> members online!</span></div></div></p><p> </div></p><p> </div></p><p> <div id="content-container"></p><p> <div id="navi2-container" class="pngbg"></p><p> <div id="navi2" class="pngbg clearfix"></p><p> <ul></p><p> <li class=""><a href="{url}/community">Community</a></li></p><p> <li class=""><a href="{url}/news">Articles</a></li></p><p> <li class=" selected">Staff Team</li></p><p> <li><a href="{url}/community/leaderboards">Leaderboards</a></li></p><p> <li class=" last"><a href="{url}/community/online">Online Players</a></li></p><p> </ul></p><p> </div></p><p> </div></p><p> <div id="container"></p><p> <div id="content"></p><p> <div id="column2" class="column"></p><p></p><p></p><p><?php</p><p>error_reporting(0);</p><p>$getRanks = mysql_query("SELECT id,name FROM ranks WHERE id = 5 ORDER BY id DESC");</p><p>$Bans = mysql_query("SELECT * FROM `bans` WHERE `username` = '" . $Users['username'] . "'");</p><p>$BanCount = mysql_num_rows($Bans);</p><p>echo $BanCount;</p><p></p><p></p><p>while ($Ranks = mysql_fetch_assoc($getRanks))</p><p></p><p>{ </p><p> echo '<div class="habblet-container "> </p><p><div class="cbb clearfix red "></p><p><h2 class="title"><span style="float: left;">Founder</span><span style="float: right; font-weight: normal; font-size: 75%;">Hotel Creators</span></h2> <span style="float: right; font-weight: normal; font-size: 75%;"></span></h2>';</p><p></p><p> $getMembers = mysql_query("SELECT username,motto,rank,last_online,online,look FROM users WHERE rank = '" . $Ranks['id'] . "'");</p><p></p><p></p><p> echo '<div class="box-content">';</p><p></p><p> if (mysql_num_rows($getMembers) > 0)</p><p> {</p><p> $oe = 1;</p><p> </p><p> while ($member = mysql_fetch_assoc($getMembers))</p><p> {</p><p> if ($oe == 2)</p><p> {</p><p> $oe = 1;</p><p> }</p><p> else</p><p> {</p><p> $oe = 2;</p><p> }</p><p></p><p> echo '<table width="107%" height="50px" style="padding: 5px; margin-left: -15px; background-color: ' . (($oe == 2) ? '#fff' : '#E6E6E6') . ';"></p><p> <tbody></p><p> <tr></p><p> <td valign="middle" width="25"></p><p> <img style="margin-top: -10px;" src="<a href="http://www.habbo.nl/habbo-imaging/avatarimage?figure=" target="_blank">http://www.habbo.nl/habbo-imaging/avatarimage?figure=</a>' .$member['look'] . '&size=m&direction=2&head_direction=3&gesture=sml"></p><p> </td></p><p> <td valign="top"></p><p> </br><p style="margin-top: -10px;" style="font-size: 100%;"><strong><a><u>' .$member['username'] . '</a></u></strong><br>Motto: "<i>' . $member['motto'] . '</i>"<br>' . (($member['online'] == "1") ? '<font color="darkgreen"><p style="margin-left: 165px; margin-top: -37px;"><strong>Online</stromg>': '<font color="darkred"><strong><p style="margin-left: 165px; margin-top: -37px;">Offline</stromg>') . '</p></font></font></strong></p><p> <br>Last online: <i>' . date('D, d F Y H:i (P)', $member['last_online']) . '</i> </p><p> <hr></p><p> </td></p><p> </tr></p><p> </tbody></p><p> </table>';</p><p> }</p><p> }</p><p> else</p><p> {</p><p> echo '<i>No information available.</i>';</p><p> }</p><p></p><p> echo '</div></p><p> </div></p><p></div></p><p><script type="text/javascript">if (!$(document.body).hasClassName(\'process-template\')) { Rounder.init(); }</script> ';</p><p>}</p><p></p><p>?> </p><p> </div></p><p></p><p> <div id="container"></p><p> <div id="content"></p><p> <div id="column2" class="column"></p><p></p><p></p><p><?php</p><p>error_reporting(0);</p><p>$getRanks = mysql_query("SELECT id,name FROM ranks WHERE id = 5 ORDER BY id DESC");</p><p>$Bans = mysql_query("SELECT * FROM `bans` WHERE `username` = '" . $Users['username'] . "'");</p><p>$BanCount = mysql_num_rows($Bans);</p><p>echo $BanCount;</p><p></p><p></p><p>while ($Ranks = mysql_fetch_assoc($getRanks))</p><p></p><p>{ </p><p> echo '<div class="habblet-container "> </p><p><div class="cbb clearfix red "></p><p><h2 class="title"><span style="float: left;">Founder</span><span style="float: right; font-weight: normal; font-size: 75%;">Hotel Creators</span></h2> <span style="float: right; font-weight: normal; font-size: 75%;"></span></h2>';</p><p></p><p> $getMembers = mysql_query("SELECT username,motto,rank,last_online,online,look FROM users WHERE rank = '" . $Ranks['id'] . "'");</p><p></p><p></p><p> echo '<div class="box-content">';</p><p></p><p> if (mysql_num_rows($getMembers) > 0)</p><p> {</p><p> $oe = 1;</p><p> </p><p> while ($member = mysql_fetch_assoc($getMembers))</p><p> {</p><p> if ($oe == 2)</p><p> {</p><p> $oe = 1;</p><p> }</p><p> else</p><p> {</p><p> $oe = 2;</p><p> }</p><p></p><p> echo '<table width="107%" height="50px" style="padding: 5px; margin-left: -15px; background-color: ' . (($oe == 2) ? '#fff' : '#E6E6E6') . ';"></p><p> <tbody></p><p> <tr></p><p> <td valign="middle" width="25"></p><p> <img style="margin-top: -10px;" src="<a href="http://www.habbo.nl/habbo-imaging/avatarimage?figure=" target="_blank">http://www.habbo.nl/habbo-imaging/avatarimage?figure=</a>' .$member['look'] . '&size=m&direction=2&head_direction=3&gesture=sml"></p><p> </td></p><p> <td valign="top"></p><p> </br><p style="margin-top: -10px;" style="font-size: 100%;"><strong><a><u>' .$member['username'] . '</a></u></strong><br>Motto: "<i>' . $member['motto'] . '</i>"<br>' . (($member['online'] == "1") ? '<font color="darkgreen"><p style="margin-left: 165px; margin-top: -37px;"><strong>Online</stromg>': '<font color="darkred"><strong><p style="margin-left: 165px; margin-top: -37px;">Offline</stromg>') . '</p></font></font></strong></p><p> <br>Last online: <i>' . date('D, d F Y H:i (P)', $member['last_online']) . '</i> </p><p> <hr></p><p> </td></p><p> </tr></p><p> </tbody></p><p> </table>';</p><p> }</p><p> }</p><p> else</p><p> {</p><p> echo '<i>No information available.</i>';</p><p> }</p><p></p><p> echo '</div></p><p> </div></p><p></div></p><p><script type="text/javascript">if (!$(document.body).hasClassName(\'process-template\')) { Rounder.init(); }</script> ';</p><p>}</p><p></p><p>?> </p><p> </div> </p><p></p><p></p><p></p><p> </p><p></p><p></p><p> <script type="text/javascript">if (!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script></p><p> </p><p> <div id="column2" class="column"><div class="habblet-container "></p><p><?php</p><p></p><p>$getRanks = mysql_query("SELECT id,name FROM ranks WHERE id = 6 ORDER BY id DESC");</p><p></p><p>while ($Ranks = mysql_fetch_assoc($getRanks))</p><p>{ </p><p> echo '<div class="habblet-container "> </p><p><div class="cbb clearfix settings "></p><p><h2 class="title"><span style="float: left;">Manager</span><span style="float: right; font-weight: normal; font-size: 75%;">Administrative Staff</span></h2> <span style="float: right; font-weight: normal; font-size: 75%;"></span></h2>';</p><p></p><p> $getMembers = mysql_query("SELECT id,username,motto,look,account_created,online,last_online,role,age FROM users WHERE rank = '" . $Ranks['id'] . "'");</p><p></p><p> echo '<div class="box-content">';</p><p></p><p> if (mysql_num_rows($getMembers) > 0)</p><p> {</p><p> $oe = 1;</p><p> </p><p> while ($member = mysql_fetch_assoc($getMembers))</p><p> {</p><p> if ($oe == 2)</p><p> {</p><p> $oe = 1;</p><p> }</p><p> else</p><p> {</p><p> $oe = 2;</p><p> }</p><p> $Bans = mysql_query("SELECT * FROM `bans` WHERE `added_by` = '" . $member['username'] . "'");</p><p>$BanCount = mysql_num_rows($Bans);</p><p> echo '<table width="107%" height="50px" style="padding: 5px; margin-left: -15px; background-color: ' . (($oe == 2) ? '#fff' : '#E6E6E6') . ';"></p><p> <tbody></p><p> <tr></p><p> <td valign="middle" width="25"></p><p> <img style="margin-top: -10px;" src="<a href="http://www.habbo.nl/habbo-imaging/avatarimage?figure=" target="_blank">http://www.habbo.nl/habbo-imaging/avatarimage?figure=</a>' .$member['look'] . '&size=m&direction=2&head_direction=3&gesture=sml"></p><p> </td></p><p> <td valign="top"></p><p> </br><p style="margin-top: -10px;" style="font-size: 100%;"><strong><a><u>' .$member['username'] . '</a></u></strong><br>Last online: <i>' . date('d M, Y', $member['last_online']) . '</i><br>Motto: "<i>' . $member['motto'] . '</i>"<br>' . (($member['online'] == "1") ? '<font color="darkgreen"><p style="margin-left: 165px; margin-top: -37px;"><strong>Online</stromg>': '<font color="darkred"><strong><p style="margin-left: 165px; margin-top: -37px;">Offline</stromg>') . '</p></font></font></strong></p><p> <hr></p><p> Role: <b>' . $member['role'] . '</b><br></p><p> Age: ' . $member['age'] . '</br></p><p> Registered on: <b>' . date('d M, Y', $member['account_created']) . '</b></br></p><p> Bans: <b>'; echo $BanCount;</p><p></p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p><p> echo '<p style="margin-top: 0px;"><img src="<a href="http://uber-hotel.net/r63/c_images/album1584/ADM2.gif" target="_blank">http://uber-hotel.net/r63/c_images/album1584/ADM2.gif</a>"></p></p><p> </p><p> </td></p><p> </tr></p><p> </tbody></p><p> </table>';</p><p> }</p><p> }</p><p> else</p><p> {</p><p> echo '<i>No information available.</i>';</p><p> }</p><p></p><p> echo '</div></p><p> </div></p><p></div></p><p><script type="text/javascript">if (!$(document.body).hasClassName(\'process-template\')) { Rounder.init(); }</script> ';</p><p>}</p><p></p><p>?></p><p><div id="column2" class="column"><div class="habblet-container "></p><p><?php</p><p></p><p>$getRanks = mysql_query("SELECT id,name FROM ranks WHERE id = 500 ORDER BY id DESC");</p><p></p><p>while ($Ranks = mysql_fetch_assoc($getRanks))</p><p>{ </p><p> echo '<div class="habblet-container "> </p><p><div class="cbb clearfix green "></p><p><h2 class="title"><span style="float: left;">Administrator</span> <span style="float: right; font-weight: normal; font-size: 75%;"></span></h2>';</p><p></p><p> $getMembers = mysql_query("SELECT id,username,motto,look,online,last_online FROM users WHERE rank = '" . $Ranks['id'] . "'");</p><p></p><p> echo '<div class="box-content">';</p><p></p><p> if (mysql_num_rows($getMembers) > 0)</p><p> {</p><p> $oe = 1;</p><p> </p><p> while ($member = mysql_fetch_assoc($getMembers))</p><p> {</p><p> if ($oe == 2)</p><p> {</p><p> $oe = 1;</p><p> }</p><p> else</p><p> {</p><p> $oe = 2;</p><p> }</p><p> $Bans = mysql_query("SELECT * FROM `bans` WHERE `added_by` = '" . $member['username'] . "'");</p><p>$BanCount = mysql_num_rows($Bans);</p><p> echo '<table width="107%" height="50px" style="padding: 5px; margin-left: -15px; background-color: ' . (($oe == 2) ? '#fff' : '#E6E6E6') . ';"></p><p> <tbody></p><p> <tr></p><p> <td valign="middle" width="25"></p><p> <img style="margin-top: -10px;" src="<a href="http://www.habbo.nl/habbo-imaging/avatarimage?figure=" target="_blank">http://www.habbo.nl/habbo-imaging/avatarimage?figure=</a>' .$member['look'] . '&size=m&direction=2&head_direction=3&gesture=sml"></p><p> </td></p><p> <td valign="top"></p><p> </br><p style="margin-top: -10px;" style="font-size: 100%;"><strong><a><u>' .$member['username'] . '</a></u></strong><br>Motto: ' . $member['motto'] . '' . (($member['online'] == "1") ? '<font color="darkgreen"><p style="margin-left: 165px; margin-top: -37px;"><strong>Online</stromg>': '<font color="darkred"><strong><p style="margin-left: 165px; margin-top: -37px;">Offline</stromg>') . '</p></p><p style="margin-top: -8px;"><img src="<a href="http://uber-hotel.net/r63/c_images/album1584/ADM.gif" target="_blank">http://uber-hotel.net/r63/c_images/album1584/ADM.gif</a>"></p></p><p> ';</p><p> </p><p> </p><p> </p><p> echo '</td></p><p> </p><p> </td></p><p> </tr></p><p> </tbody></p><p> </table>';</p><p> }</p><p> }</p><p> else</p><p> {</p><p> echo '<i>No information available.</i>';</p><p> }</p><p></p><p> echo '</div></p><p> </div></p><p></div></p><p><script type="text/javascript">if (!$(document.body).hasClassName(\'process-template\')) { Rounder.init(); }</script> ';</p><p>}</p><p></p><p>?></p><p></div></div></div></div></p><p><script type="text/javascript">if (!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script></p><p> <div id="column2" class="column"><div class="habblet-container "></p><p><?php</p><p></p><p>$getRanks = mysql_query("SELECT id,name FROM ranks WHERE id = 5 ORDER BY id DESC");</p><p></p><p>while ($Ranks = mysql_fetch_assoc($getRanks))</p><p>{ </p><p> echo '<div class="habblet-container "> </p><p><div class="cbb clearfix blue "></p><p><h2 class="title"><span style="float: left;">Player Support</span><span style="float: right; font-weight: normal; font-size: 75%;">Community Support</span></h2> <span style="float: right; font-weight: normal; font-size: 75%;"></span></h2>';</p><p></p><p> $getMembers = mysql_query("SELECT id,username,motto,look,account_created,online,last_online,role,age FROM users WHERE rank = '" . $Ranks['id'] . "'");</p><p></p><p> echo '<div class="box-content">';</p><p></p><p> if (mysql_num_rows($getMembers) > 0)</p><p> {</p><p> $oe = 1;</p><p> </p><p> while ($member = mysql_fetch_assoc($getMembers))</p><p> {</p><p> if ($oe == 2)</p><p> {</p><p> $oe = 1;</p><p> }</p><p> else</p><p> {</p><p> $oe = 2;</p><p> }</p><p></p><p> echo '<table width="107%" height="50px" style="padding: 5px; margin-left: -15px; background-color: ' . (($oe == 2) ? '#fff' : '#E6E6E6') . ';"></p><p> <tbody></p><p> <tr></p><p> <td valign="middle" width="25"></p><p> <img style="margin-top: -10px;" src="<a href="http://www.habbo.nl/habbo-imaging/avatarimage?figure=" target="_blank">http://www.habbo.nl/habbo-imaging/avatarimage?figure=</a>' .$member['look'] . '&size=m&direction=2&head_direction=3&gesture=sml"></p><p> </td></p><p> <td valign="top"></p><p> </br><p style="margin-top: -10px;" style="font-size: 100%;"><strong><a><u>' .$member['username'] . '</a></u></strong><br>Last online: <i>' . date('d M, Y', $member['last_online']) . '</i><br>Motto: "<i>' . $member['motto'] . '</i>"<br>' . (($member['online'] == "1") ? '<font color="darkgreen"><p style="margin-left: 165px; margin-top: -37px;"><strong>Online</stromg>': '<font color="darkred"><strong><p style="margin-left: 165px; margin-top: -37px;">Offline</stromg>') . '</p></font></font></strong></p><p> <hr></p><p> Role: <b>' . $member['role'] . '</b><br></p><p> Age: ' . $member['age'] . '</br></p><p> Registered on: <b>' . date('d M, Y', $member['account_created']) . '</b></br></p><p> Bans: <b>'; echo $BanCount;</p><p></p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p><p> echo '<p style="margin-top: 0px;"><img src="<a href="http://uber-hotel.net/r63/c_images/album1584/ADM2.gif" target="_blank">http://uber-hotel.net/r63/c_images/album1584/ADM2.gif</a>"></p></p><p> </p><p> </td></p><p> </tr></p><p> </tbody></p><p> </table>';</p><p> }</p><p> }</p><p> else</p><p> {</p><p> echo '<i>No information available.</i>';</p><p> }</p><p></p><p> echo '</div></p><p> </div></p><p></div></p><p><script type="text/javascript">if (!$(document.body).hasClassName(\'process-template\')) { Rounder.init(); }</script> ';</p><p>}</p><p></p><p>?></p><p> <script type="text/javascript">if (!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script></p><p> </p><p> <script type="text/javascript"></p><p> HabboView.run();</p><p> </script></p><p></p><p> <!--[if lt IE 7]></p><p> <script type="text/javascript"></p><p> Pngfix.doPngImageFix();</p><p> </script></p><p> <![endif]--></p><p> </div></div></p><p> </p><p> <div id="footer" ></p><p> <?php include('includes/footer.php'); ?></p><p> <?php include('includes/checktheban.php'); ?></p><p> </div></p><p> </body></p><p></html></p></blockquote><p></p>
[QUOTE="alex194568, post: 369924, member: 62705"] <!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8"> <title>{hotelName} - Staff</title> <link rel="stylesheet" href="{url}/app/tpl/skins/Habbo/styles/common.css" type="text/css"> <script type="text/javascript" src="{url}/app/tpl/skins/Habbo/js/libs2.js"></script> <script type="text/javascript" src="{url}/app/tpl/skins/Habbo/js/visual.js"></script> <script type="text/javascript" src="{url}/app/tpl/skins/Habbo/js/libs.js"></script> <script type="text/javascript" src="{url}/app/tpl/skins/Habbo/js/common.js"></script> <script type="text/javascript" src="{url}/app/tpl/skins/Habbo/js/fullcontent.js"></script> <script type="text/javascript"> document.habboLoggedIn = true; var habboName = "{username}"; var habboId = {userid}; var habboReqPath = ""; var habboStaticFilePath = "{url}/app/tpl/skins/Habbo"; var habboImagerUrl = "[URL]http://www.habbo.com/habbo-imaging/[/URL]"; var habboPartner = ""; var habboDefaultClientPopupUrl = "{url}/client"; window.name = "habboMain"; if (typeof HabboClient != "undefined") { HabboClient.windowName = "eac955c8dbc88172421193892a3e98fc7402021a"; HabboClient.maximizeWindow = true; } </script> <!--[if IE 8]> <link rel="stylesheet" href="{url}/app/tpl/skins/Habbo/styles/ie8.css" type="text/css"> <![endif]--> <!--[if lt IE 8]> <link rel="stylesheet" href="{url}/app/tpl/skins/Habbo/styles/ie.css" type="text/css" /> <![endif]--> <!--[if lt IE 7]> <link rel="stylesheet" href="{url}/app/tpl/skins/Habbo/styles/ie6.css" type="text/css" /> <script type="text/javascript" src="{url}/app/tpl/skins/Habbo/js/pngfix.js"></script> <script type="text/javascript"> try { document.execCommand('BackgroundImageCache', false, true); } catch(e) {} </script> <style type="text/css"> body { behavior: url({url}/app/tpl/skins/Habbo/js/csshover.htc); } </style> <![endif]--> </head> <body id="home"> <div id="overlay"></div> <?php include ("includes/header.php"); ?> <ul id="navi"> <li class="metab"><a href="{url}/me">{username}</a><span></span></li> <li class="selected"><strong>Community</strong><span></span></li> <li id="tab-register-now"><a href="{url}/shop">Shop</a><span></span></li> </ul> <div id="habbos-online" style="background-color:#FFF;border-radius:6px;"><div class="rounded"><span>{online}<br> members online!</span></div></div> </div> </div> <div id="content-container"> <div id="navi2-container" class="pngbg"> <div id="navi2" class="pngbg clearfix"> <ul> <li class=""><a href="{url}/community">Community</a></li> <li class=""><a href="{url}/news">Articles</a></li> <li class=" selected">Staff Team</li> <li><a href="{url}/community/leaderboards">Leaderboards</a></li> <li class=" last"><a href="{url}/community/online">Online Players</a></li> </ul> </div> </div> <div id="container"> <div id="content"> <div id="column2" class="column"> <?php error_reporting(0); $getRanks = mysql_query("SELECT id,name FROM ranks WHERE id = 5 ORDER BY id DESC"); $Bans = mysql_query("SELECT * FROM `bans` WHERE `username` = '" . $Users['username'] . "'"); $BanCount = mysql_num_rows($Bans); echo $BanCount; while ($Ranks = mysql_fetch_assoc($getRanks)) { echo '<div class="habblet-container "> <div class="cbb clearfix red "> <h2 class="title"><span style="float: left;">Founder</span><span style="float: right; font-weight: normal; font-size: 75%;">Hotel Creators</span></h2> <span style="float: right; font-weight: normal; font-size: 75%;"></span></h2>'; $getMembers = mysql_query("SELECT username,motto,rank,last_online,online,look FROM users WHERE rank = '" . $Ranks['id'] . "'"); echo '<div class="box-content">'; if (mysql_num_rows($getMembers) > 0) { $oe = 1; while ($member = mysql_fetch_assoc($getMembers)) { if ($oe == 2) { $oe = 1; } else { $oe = 2; } echo '<table width="107%" height="50px" style="padding: 5px; margin-left: -15px; background-color: ' . (($oe == 2) ? '#fff' : '#E6E6E6') . ';"> <tbody> <tr> <td valign="middle" width="25"> <img style="margin-top: -10px;" src="[URL]http://www.habbo.nl/habbo-imaging/avatarimage?figure=[/URL]' .$member['look'] . '&size=m&direction=2&head_direction=3&gesture=sml"> </td> <td valign="top"> </br><p style="margin-top: -10px;" style="font-size: 100%;"><strong><a><u>' .$member['username'] . '</a></u></strong><br>Motto: "<i>' . $member['motto'] . '</i>"<br>' . (($member['online'] == "1") ? '<font color="darkgreen"><p style="margin-left: 165px; margin-top: -37px;"><strong>Online</stromg>': '<font color="darkred"><strong><p style="margin-left: 165px; margin-top: -37px;">Offline</stromg>') . '</p></font></font></strong> <br>Last online: <i>' . date('D, d F Y H:i (P)', $member['last_online']) . '</i> <hr> </td> </tr> </tbody> </table>'; } } else { echo '<i>No information available.</i>'; } echo '</div> </div> </div> <script type="text/javascript">if (!$(document.body).hasClassName(\'process-template\')) { Rounder.init(); }</script> '; } ?> </div> <div id="container"> <div id="content"> <div id="column2" class="column"> <?php error_reporting(0); $getRanks = mysql_query("SELECT id,name FROM ranks WHERE id = 5 ORDER BY id DESC"); $Bans = mysql_query("SELECT * FROM `bans` WHERE `username` = '" . $Users['username'] . "'"); $BanCount = mysql_num_rows($Bans); echo $BanCount; while ($Ranks = mysql_fetch_assoc($getRanks)) { echo '<div class="habblet-container "> <div class="cbb clearfix red "> <h2 class="title"><span style="float: left;">Founder</span><span style="float: right; font-weight: normal; font-size: 75%;">Hotel Creators</span></h2> <span style="float: right; font-weight: normal; font-size: 75%;"></span></h2>'; $getMembers = mysql_query("SELECT username,motto,rank,last_online,online,look FROM users WHERE rank = '" . $Ranks['id'] . "'"); echo '<div class="box-content">'; if (mysql_num_rows($getMembers) > 0) { $oe = 1; while ($member = mysql_fetch_assoc($getMembers)) { if ($oe == 2) { $oe = 1; } else { $oe = 2; } echo '<table width="107%" height="50px" style="padding: 5px; margin-left: -15px; background-color: ' . (($oe == 2) ? '#fff' : '#E6E6E6') . ';"> <tbody> <tr> <td valign="middle" width="25"> <img style="margin-top: -10px;" src="[URL]http://www.habbo.nl/habbo-imaging/avatarimage?figure=[/URL]' .$member['look'] . '&size=m&direction=2&head_direction=3&gesture=sml"> </td> <td valign="top"> </br><p style="margin-top: -10px;" style="font-size: 100%;"><strong><a><u>' .$member['username'] . '</a></u></strong><br>Motto: "<i>' . $member['motto'] . '</i>"<br>' . (($member['online'] == "1") ? '<font color="darkgreen"><p style="margin-left: 165px; margin-top: -37px;"><strong>Online</stromg>': '<font color="darkred"><strong><p style="margin-left: 165px; margin-top: -37px;">Offline</stromg>') . '</p></font></font></strong> <br>Last online: <i>' . date('D, d F Y H:i (P)', $member['last_online']) . '</i> <hr> </td> </tr> </tbody> </table>'; } } else { echo '<i>No information available.</i>'; } echo '</div> </div> </div> <script type="text/javascript">if (!$(document.body).hasClassName(\'process-template\')) { Rounder.init(); }</script> '; } ?> </div> <script type="text/javascript">if (!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script> <div id="column2" class="column"><div class="habblet-container "> <?php $getRanks = mysql_query("SELECT id,name FROM ranks WHERE id = 6 ORDER BY id DESC"); while ($Ranks = mysql_fetch_assoc($getRanks)) { echo '<div class="habblet-container "> <div class="cbb clearfix settings "> <h2 class="title"><span style="float: left;">Manager</span><span style="float: right; font-weight: normal; font-size: 75%;">Administrative Staff</span></h2> <span style="float: right; font-weight: normal; font-size: 75%;"></span></h2>'; $getMembers = mysql_query("SELECT id,username,motto,look,account_created,online,last_online,role,age FROM users WHERE rank = '" . $Ranks['id'] . "'"); echo '<div class="box-content">'; if (mysql_num_rows($getMembers) > 0) { $oe = 1; while ($member = mysql_fetch_assoc($getMembers)) { if ($oe == 2) { $oe = 1; } else { $oe = 2; } $Bans = mysql_query("SELECT * FROM `bans` WHERE `added_by` = '" . $member['username'] . "'"); $BanCount = mysql_num_rows($Bans); echo '<table width="107%" height="50px" style="padding: 5px; margin-left: -15px; background-color: ' . (($oe == 2) ? '#fff' : '#E6E6E6') . ';"> <tbody> <tr> <td valign="middle" width="25"> <img style="margin-top: -10px;" src="[URL]http://www.habbo.nl/habbo-imaging/avatarimage?figure=[/URL]' .$member['look'] . '&size=m&direction=2&head_direction=3&gesture=sml"> </td> <td valign="top"> </br><p style="margin-top: -10px;" style="font-size: 100%;"><strong><a><u>' .$member['username'] . '</a></u></strong><br>Last online: <i>' . date('d M, Y', $member['last_online']) . '</i><br>Motto: "<i>' . $member['motto'] . '</i>"<br>' . (($member['online'] == "1") ? '<font color="darkgreen"><p style="margin-left: 165px; margin-top: -37px;"><strong>Online</stromg>': '<font color="darkred"><strong><p style="margin-left: 165px; margin-top: -37px;">Offline</stromg>') . '</p></font></font></strong> <hr> Role: <b>' . $member['role'] . '</b><br> Age: ' . $member['age'] . '</br> Registered on: <b>' . date('d M, Y', $member['account_created']) . '</b></br> Bans: <b>'; echo $BanCount; echo '<p style="margin-top: 0px;"><img src="[URL]http://uber-hotel.net/r63/c_images/album1584/ADM2.gif[/URL]"></p> </td> </tr> </tbody> </table>'; } } else { echo '<i>No information available.</i>'; } echo '</div> </div> </div> <script type="text/javascript">if (!$(document.body).hasClassName(\'process-template\')) { Rounder.init(); }</script> '; } ?> <div id="column2" class="column"><div class="habblet-container "> <?php $getRanks = mysql_query("SELECT id,name FROM ranks WHERE id = 500 ORDER BY id DESC"); while ($Ranks = mysql_fetch_assoc($getRanks)) { echo '<div class="habblet-container "> <div class="cbb clearfix green "> <h2 class="title"><span style="float: left;">Administrator</span> <span style="float: right; font-weight: normal; font-size: 75%;"></span></h2>'; $getMembers = mysql_query("SELECT id,username,motto,look,online,last_online FROM users WHERE rank = '" . $Ranks['id'] . "'"); echo '<div class="box-content">'; if (mysql_num_rows($getMembers) > 0) { $oe = 1; while ($member = mysql_fetch_assoc($getMembers)) { if ($oe == 2) { $oe = 1; } else { $oe = 2; } $Bans = mysql_query("SELECT * FROM `bans` WHERE `added_by` = '" . $member['username'] . "'"); $BanCount = mysql_num_rows($Bans); echo '<table width="107%" height="50px" style="padding: 5px; margin-left: -15px; background-color: ' . (($oe == 2) ? '#fff' : '#E6E6E6') . ';"> <tbody> <tr> <td valign="middle" width="25"> <img style="margin-top: -10px;" src="[URL]http://www.habbo.nl/habbo-imaging/avatarimage?figure=[/URL]' .$member['look'] . '&size=m&direction=2&head_direction=3&gesture=sml"> </td> <td valign="top"> </br><p style="margin-top: -10px;" style="font-size: 100%;"><strong><a><u>' .$member['username'] . '</a></u></strong><br>Motto: ' . $member['motto'] . '' . (($member['online'] == "1") ? '<font color="darkgreen"><p style="margin-left: 165px; margin-top: -37px;"><strong>Online</stromg>': '<font color="darkred"><strong><p style="margin-left: 165px; margin-top: -37px;">Offline</stromg>') . '</p></p><p style="margin-top: -8px;"><img src="[URL]http://uber-hotel.net/r63/c_images/album1584/ADM.gif[/URL]"></p> '; echo '</td> </td> </tr> </tbody> </table>'; } } else { echo '<i>No information available.</i>'; } echo '</div> </div> </div> <script type="text/javascript">if (!$(document.body).hasClassName(\'process-template\')) { Rounder.init(); }</script> '; } ?> </div></div></div></div> <script type="text/javascript">if (!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script> <div id="column2" class="column"><div class="habblet-container "> <?php $getRanks = mysql_query("SELECT id,name FROM ranks WHERE id = 5 ORDER BY id DESC"); while ($Ranks = mysql_fetch_assoc($getRanks)) { echo '<div class="habblet-container "> <div class="cbb clearfix blue "> <h2 class="title"><span style="float: left;">Player Support</span><span style="float: right; font-weight: normal; font-size: 75%;">Community Support</span></h2> <span style="float: right; font-weight: normal; font-size: 75%;"></span></h2>'; $getMembers = mysql_query("SELECT id,username,motto,look,account_created,online,last_online,role,age FROM users WHERE rank = '" . $Ranks['id'] . "'"); echo '<div class="box-content">'; if (mysql_num_rows($getMembers) > 0) { $oe = 1; while ($member = mysql_fetch_assoc($getMembers)) { if ($oe == 2) { $oe = 1; } else { $oe = 2; } echo '<table width="107%" height="50px" style="padding: 5px; margin-left: -15px; background-color: ' . (($oe == 2) ? '#fff' : '#E6E6E6') . ';"> <tbody> <tr> <td valign="middle" width="25"> <img style="margin-top: -10px;" src="[URL]http://www.habbo.nl/habbo-imaging/avatarimage?figure=[/URL]' .$member['look'] . '&size=m&direction=2&head_direction=3&gesture=sml"> </td> <td valign="top"> </br><p style="margin-top: -10px;" style="font-size: 100%;"><strong><a><u>' .$member['username'] . '</a></u></strong><br>Last online: <i>' . date('d M, Y', $member['last_online']) . '</i><br>Motto: "<i>' . $member['motto'] . '</i>"<br>' . (($member['online'] == "1") ? '<font color="darkgreen"><p style="margin-left: 165px; margin-top: -37px;"><strong>Online</stromg>': '<font color="darkred"><strong><p style="margin-left: 165px; margin-top: -37px;">Offline</stromg>') . '</p></font></font></strong> <hr> Role: <b>' . $member['role'] . '</b><br> Age: ' . $member['age'] . '</br> Registered on: <b>' . date('d M, Y', $member['account_created']) . '</b></br> Bans: <b>'; echo $BanCount; echo '<p style="margin-top: 0px;"><img src="[URL]http://uber-hotel.net/r63/c_images/album1584/ADM2.gif[/URL]"></p> </td> </tr> </tbody> </table>'; } } else { echo '<i>No information available.</i>'; } echo '</div> </div> </div> <script type="text/javascript">if (!$(document.body).hasClassName(\'process-template\')) { Rounder.init(); }</script> '; } ?> <script type="text/javascript">if (!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script> <script type="text/javascript"> HabboView.run(); </script> <!--[if lt IE 7]> <script type="text/javascript"> Pngfix.doPngImageFix(); </script> <![endif]--> </div></div> <div id="footer" > <?php include('includes/footer.php'); ?> <?php include('includes/checktheban.php'); ?> </div> </body> </html> [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
[HELP] RevCMS PHP coding[HELP]
Top