okay so i put a new staff page up on my retro and it is not showing all the ranks i think its because of the code but maybe someone can help here are the images of the staff page and the ranks if you could help asap
Post the code of your staff page please.
OFT: Please post in the right section.
<!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/{skin}/styles/common.css" type="text/css">
<script type="text/javascript" src="{url}/app/tpl/skins/{skin}/js/libs2.js"></script>
<script type="text/javascript" src="{url}/app/tpl/skins/{skin}/js/visual.js"></script>
<script type="text/javascript" src="{url}/app/tpl/skins/{skin}/js/libs.js"></script>
<script type="text/javascript" src="{url}/app/tpl/skins/{skin}/js/common.js"></script>
<script type="text/javascript" src="{url}/app/tpl/skins/{skin}/js/fullcontent.js"></script>
<link rel="shortcut icon" href="app/tpl/skins/{skin}/static/images/favicon.gif" />
<script type="text/javascript">
document.habboLoggedIn = true;
var habboName = "{username}";
var habboId = {userid};
var habboReqPath = "";
var habboStaticFilePath = "{url}/app/tpl/skins/Habbo";
var habboImagerUrl = "http://www.habbo.com/habbo-imaging/";
var habboPartner = "";
var habboDefaultClientPopupUrl = "{url}/api.php";
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/Custom-Habbo/styles/ie8.css" type="text/css">
<![endif]-->
<!--[if lt IE 8]>
<link rel="stylesheet" href="{url}/app/tpl/skins/Custom-Habbo/styles/ie.css" type="text/css" />
<![endif]-->
<!--[if lt IE 7]>
<link rel="stylesheet" href="{url}/app/tpl/skins/Custom-Habbo/styles/ie6.css" type="text/css" />
<script type="text/javascript" src="{url}/app/tpl/skins/Custom-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/Custom-Habbo/js/csshover.htc); }
</style>
<![endif]-->
</head>
<body id="home">
<script src="{}/app/tpl/skins/{skin}/js/snowstorm.js"></script>
<div id="overlay"></div>
<div id="header-container">
<div id="header" class="clearfix">
<h1><a href="{url}/"></a></h1>
<div id="subnavi">
<div id="subnavi-user">
<div style="margin-top:6px">
<img src="{url}/app/tpl/skins/{skin}/images/icons/message.gif" /> Welcome back, <b>{userName}</b>!
<img src="{url}/app/tpl/skins/{skin}/images/icons/stats.gif" /> {online} Users Online
<img src="{url}/app/tpl/skins/{skin}/images/icons/credits.gif" /> {coins}
<img src="{url}/app/tpl/skins/{skin}/images/icons/pixels.gif" /> {activityPoints}
</div>
</div>
<div id="subnavi-search">
<div id="subnavi-search-upper">
<ul id="subnavi-search-links">
</li>
</ul>
</div>
</div>
<div id="to-hotel">
<a href="{url}/logout" class="new-button red-button" style="margin-right:5px;margin-left:5px;"><b>Logout</b><i></i></a>
<a href="{url}/api.php" class="new-button green-button" target="eac955c8dbc88172421193892a3e98fc7402021a" onclick="HabboClient.openOrFocus(this); return false;"><b>Enter {hotelName}</b><i></i></a>
</div>
</div>
<ul id="navi"><li id="tab-register-now" class="tab-register-now"><a href="{url}/me">{username} <img src="{url}/app/tpl/skins/Habbo/images/id.png" style="vertical-align: middle;"></a><span></span></li>
<li class="selected"><strong>Community <img src="{url}/app/tpl/skins/{skin}/images/forum_2.gif" style="vertical-align: middle;"></strong><span></span></li>
<li id="tab-register-now" class="tab-register-now"><a href="{url}/shop">Shop</a><span></span></li>
<li><a href="{url}/Values">Rare Values</a><span></span></li>
</ul>
<div id="habbos-online">
<div id="content">
<div class="cbb ">
<span>{online} members online</span></div>
</div></div></div></div></div></div></div></div></div></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">News</a></li>
<li class=" selected last">Staff</li>
<li class=""><a href="{url}/events">Events</a></li>
<li class=""><a href="{url}/expert">eXpert</a></li>
<li><a href="{url}/tinychat">Tinychat</a><span></span></li>
<li class=""><a href="{url}/topstats">Top Users</a></li>
</ul>
</div>
</div>
<div id="container">
<div id="content" style="position: relative" class="clearfix">
<div id="column1" class="column">
<?php
function GetDescr($level)
{
switch ($level)
{
case 12:
return ' Lead Developers';
case 11:
return ' Head Administrative';
case 10:
return ' Hotel Administration';
case 9:
return ' Head of Moderators';
case 8:
return ' Hotel Moderators';
case 7:
return ' Trial Moderators';
default:
return '';
}
}
$getRanks = mysql_query("SELECT * FROM `ranks` WHERE ((`ranks`.`id` = 7) OR (`ranks`.`id` = 6) OR (`ranks`.`id` = 5) OR (`ranks`.`id` = 4) OR (`ranks`.`id` = 3)) 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;">' . $Ranks['name'] . '</span> <span style="float: right; font-weight: normal; font-size: 75%;">' . GetDescr($Ranks['id']) . '</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;
}
echo '<table width="107%" 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="http://habbo.nl/habbo-imaging/avatarimage?figure=' .$member['look'] . '&size=m">
</td>
<td valign="top">
Username: <strong><span style="font-family:Arial,Helvetica,sans-serif; color: #2d0747;text-shadow: 0px 0px 3px #7700ff;background:url(/app/tpl/skins/Custom-Habbo/images/glitter.gif);">' .$member['username'] . '</strong></span><br>Motto: ' . $member['motto'] . '<br><br><i>Last Online: '. date("D, d F Y H:i (P)", $member['last_online']) .'</i></p>
<br />';
$getBadges = mysql_query("SELECT * FROM user_badges WHERE user_id = '" . $member['id'] . "' AND badge_slot >= 1 ORDER BY badge_slot DESC LIMIT 5");
while ($b = mysql_fetch_assoc($getBadges))
{
echo '<img src="/r63/c_images/album1584/' . $b['badge_id'] . '.gif" style="float: left;"> ';
}
echo '</td>
<td valign="top" style="float: right;">
' . (($member['online'] == "1") ? '<img src="{url}/app/tpl/skins/Custom-Habbo/images/online.gif"/>': '<img src="{url}/app/tpl/skins/Custom-Habbo/images/offline.gif"/>') . '
</td>
</tr>
</tbody>
</table>';
}
}
else
{
echo '<i>Fill out an application for your chance to be in this spot!</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>
</div>
<div id="column2" class="column">
<div class="habblet-container ">
<div class="habblet-container ">
<div class="cbb clearfix red">
<h2 class="title">Owner/Founder(s)</h2>
<div class="box-content">
<p>
<b><font color="green">J</font><font color="red">o</font><font color="blue">s</font><font color="orange">h</font><font color="green">u</font><font color="gold">a</font><font color="darkpink"></font></b> - <i> <font color="grey">Lead Developer</font></i><br><center> Joshua is the founder and creator of {HotelName}. He is in charge of everything. When he isn't busy, he's a good person to get along with. If you're in need of help, try asking the other members of staff (unless It's a bug). He will get back to you as soon as possible!
</p>
</div>
</div>
<div class="habblet-container ">
<div class="cbb clearfix red">
<h2 class="title">Owner/Founder(s)</h2>
<div class="box-content">
<p>
<b>Mason</b></a> - <i> <font color="grey">Hotel Owner</font></i><br><br> Also known as the supporter, Mason is the second founder and creator of {HotelName}. He is mainly in charge of the in-game issues and helps pick staff. Mason helps pay for the server and is easy to get along with. If he's not busy, ask him questions!
</p>
</div></div>
<div class="habblet-container ">
<div class="cbb clearfix blue">
<h2 class="title">Need Help?</h2>
<div class="box-content">
<p>
<center><img src="{url}/r63/c_images/article_images_hq/questionmark_v2.gif"></center>
If you're in need of assistance, the staff here at Vero are the people to talk to. You can normally find them in-game and they will deal with the issue that you have.
</p>
</div></div></div>
</div>
<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></div></div></div></div>
<div id="footer" >
<?php include_once('footer.php'); ?>
<?php include_once('checktheban.php'); ?>
<br>
</div>
</div>
</body>
</html>
Use this;
Code:<!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/{skin}/styles/common.css" type="text/css"> <script type="text/javascript" src="{url}/app/tpl/skins/{skin}/js/libs2.js"></script> <script type="text/javascript" src="{url}/app/tpl/skins/{skin}/js/visual.js"></script> <script type="text/javascript" src="{url}/app/tpl/skins/{skin}/js/libs.js"></script> <script type="text/javascript" src="{url}/app/tpl/skins/{skin}/js/common.js"></script> <script type="text/javascript" src="{url}/app/tpl/skins/{skin}/js/fullcontent.js"></script> <link rel="shortcut icon" href="app/tpl/skins/{skin}/static/images/favicon.gif" /> <script type="text/javascript"> document.habboLoggedIn = true; var habboName = "{username}"; var habboId = {userid}; var habboReqPath = ""; var habboStaticFilePath = "{url}/app/tpl/skins/Habbo"; var habboImagerUrl = "http://www.habbo.com/habbo-imaging/"; var habboPartner = ""; var habboDefaultClientPopupUrl = "{url}/api.php"; 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/Custom-Habbo/styles/ie8.css" type="text/css"> <![endif]--> <!--[if lt IE 8]> <link rel="stylesheet" href="{url}/app/tpl/skins/Custom-Habbo/styles/ie.css" type="text/css" /> <![endif]--> <!--[if lt IE 7]> <link rel="stylesheet" href="{url}/app/tpl/skins/Custom-Habbo/styles/ie6.css" type="text/css" /> <script type="text/javascript" src="{url}/app/tpl/skins/Custom-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/Custom-Habbo/js/csshover.htc); } </style> <![endif]--> </head> <body id="home"> <script src="{}/app/tpl/skins/{skin}/js/snowstorm.js"></script> <div id="overlay"></div> <div id="header-container"> <div id="header" class="clearfix"> <h1><a href="{url}/"></a></h1> <div id="subnavi"> <div id="subnavi-user"> <div style="margin-top:6px"> <img src="{url}/app/tpl/skins/{skin}/images/icons/message.gif" /> Welcome back, <b>{userName}</b>! <img src="{url}/app/tpl/skins/{skin}/images/icons/stats.gif" /> {online} Users Online <img src="{url}/app/tpl/skins/{skin}/images/icons/credits.gif" /> {coins} <img src="{url}/app/tpl/skins/{skin}/images/icons/pixels.gif" /> {activityPoints} </div> </div> <div id="subnavi-search"> <div id="subnavi-search-upper"> <ul id="subnavi-search-links"> </li> </ul> </div> </div> <div id="to-hotel"> <a href="{url}/logout" class="new-button red-button" style="margin-right:5px;margin-left:5px;"><b>Logout</b><i></i></a> <a href="{url}/api.php" class="new-button green-button" target="eac955c8dbc88172421193892a3e98fc7402021a" onclick="HabboClient.openOrFocus(this); return false;"><b>Enter {hotelName}</b><i></i></a> </div> </div> <ul id="navi"><li id="tab-register-now" class="tab-register-now"><a href="{url}/me">{username} <img src="{url}/app/tpl/skins/Habbo/images/id.png" style="vertical-align: middle;"></a><span></span></li> <li class="selected"><strong>Community <img src="{url}/app/tpl/skins/{skin}/images/forum_2.gif" style="vertical-align: middle;"></strong><span></span></li> <li id="tab-register-now" class="tab-register-now"><a href="{url}/shop">Shop</a><span></span></li> <li><a href="{url}/Values">Rare Values</a><span></span></li> </ul> <div id="habbos-online"> <div id="content"> <div class="cbb "> <span>{online} members online</span></div> </div></div></div></div></div></div></div></div></div></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">News</a></li> <li class=" selected last">Staff</li> <li class=""><a href="{url}/events">Events</a></li> <li class=""><a href="{url}/expert">eXpert</a></li> <li><a href="{url}/tinychat">Tinychat</a><span></span></li> <li class=""><a href="{url}/topstats">Top Users</a></li> </ul> </div> </div> <div id="container"> <div id="content" style="position: relative" class="clearfix"> <div id="column1" class="column"> <?php function GetDescr($level) { switch ($level) { case 12: return ' Lead Developers'; case 11: return ' Head Administrative'; case 10: return ' Hotel Administration'; case 9: return ' Head of Moderators'; case 8: return ' Hotel Moderators'; case 7: return ' Trial Moderators'; default: return ''; } } $getRanks = mysql_query("SELECT * FROM `ranks` WHERE ((`ranks`.`id` = 7) OR (`ranks`.`id` = 6) OR (`ranks`.`id` = 5) OR (`ranks`.`id` = 4) OR (`ranks`.`id` = 3)) 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;">' . $Ranks['name'] . '</span> <span style="float: right; font-weight: normal; font-size: 75%;">' . GetDescr($Ranks['id']) . '</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; } echo '<table width="107%" 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="http://habbo.nl/habbo-imaging/avatarimage?figure=' .$member['look'] . '&size=m"> </td> <td valign="top"> Username: <strong><span style="font-family:Arial,Helvetica,sans-serif; color: #2d0747;text-shadow: 0px 0px 3px #7700ff;background:url(/app/tpl/skins/Custom-Habbo/images/glitter.gif);">' .$member['username'] . '</strong></span><br>Motto: ' . $member['motto'] . '<br><br><i>Last Online: '. date("D, d F Y H:i (P)", $member['last_online']) .'</i></p> <br />'; $getBadges = mysql_query("SELECT * FROM user_badges WHERE user_id = '" . $member['id'] . "' AND badge_slot >= 1 ORDER BY badge_slot DESC LIMIT 5"); while ($b = mysql_fetch_assoc($getBadges)) { echo '<img src="/r63/c_images/album1584/' . $b['badge_id'] . '.gif" style="float: left;"> '; } echo '</td> <td valign="top" style="float: right;"> ' . (($member['online'] == "1") ? '<img src="{url}/app/tpl/skins/Custom-Habbo/images/online.gif"/>': '<img src="{url}/app/tpl/skins/Custom-Habbo/images/offline.gif"/>') . ' </td> </tr> </tbody> </table>'; } } else { echo '<i>Fill out an application for your chance to be in this spot!</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> </div> <div id="column2" class="column"> <div class="habblet-container "> <div class="habblet-container "> <div class="cbb clearfix red"> <h2 class="title">Owner/Founder(s)</h2> <div class="box-content"> <p> <b><font color="green">J</font><font color="red">o</font><font color="blue">s</font><font color="orange">h</font><font color="green">u</font><font color="gold">a</font><font color="darkpink"></font></b> - <i> <font color="grey">Lead Developer</font></i><br><center> Joshua is the founder and creator of {HotelName}. He is in charge of everything. When he isn't busy, he's a good person to get along with. If you're in need of help, try asking the other members of staff (unless It's a bug). He will get back to you as soon as possible! </p> </div> </div> <div class="habblet-container "> <div class="cbb clearfix red"> <h2 class="title">Owner/Founder(s)</h2> <div class="box-content"> <p> <b>Mason</b></a> - <i> <font color="grey">Hotel Owner</font></i><br><br> Also known as the supporter, Mason is the second founder and creator of {HotelName}. He is mainly in charge of the in-game issues and helps pick staff. Mason helps pay for the server and is easy to get along with. If he's not busy, ask him questions! </p> </div></div> <div class="habblet-container "> <div class="cbb clearfix blue"> <h2 class="title">Need Help?</h2> <div class="box-content"> <p> <center><img src="{url}/r63/c_images/article_images_hq/questionmark_v2.gif"></center> If you're in need of assistance, the staff here at Vero are the people to talk to. You can normally find them in-game and they will deal with the issue that you have. </p> </div></div></div> </div> <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></div></div></div></div> <div id="footer" > <?php include_once('footer.php'); ?> <?php include_once('checktheban.php'); ?> <br> </div> </div> </body> </html>