MarleyRetroo
Active Member
- Oct 25, 2014
- 170
- 23
Hi,
I'd like a hidden rank on my staff page. My staff page can be seen down bellow, can anybody please change that so rank 10 is hidden?
Thank you! ;')
I'd like a hidden rank on my staff page. My staff page can be seen down bellow, can anybody please change that so rank 10 is hidden?
Thank you! ;')
PHP:
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<title>{hotelName} - Staff</title>
<link rel="shortcut icon" type="image/ico" href="../app/tpl/skins/{skin}/images/favicon.ico" />
<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>
<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.tr/habbo-imaging/";
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>
<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">
<p> Fact: Purchasing {hotelname} VIP will help pay for the monthly bills.</p>
</div>
</div>
<div id="to-hotel">
<a href="{url}/client" class="new-button white-button" target="eac955c8dbc88172421193892a3e98fc7402021a" onclick="HabboClient.openOrFocus(this); return false;"><b>Enter {hotelName}!</b><i></i></a>
<a href="{url}/logout" class="new-button white-button" style="margin-right:5px;margin-left:5px;"><b>Logout</b><i></i></a>
</div>
</div>
<ul id="navi">
<ul id="navi"><li id="tab-register-now" class="metab"><a href="{url}/me">{username} <img src="{url}/app/tpl/skins/{skin}/images/id.png" style="vertical-align: middle;"> ( {id} )</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">{hotelname} Shop! <img src="{url}/app/tpl/skins/{skin}/images/shop.png" style="vertical-align: middle;"></a><span></span></li>
<?php if(mysql_result(mysql_query("SELECT rank FROM users WHERE id = '" . $_SESSION['user']['id'] . "'"), 0) >= 6)
{ ?>
<li class="tab-register-now"><a href="{url}/ase/login">Admin Panel <img src="{url}/app/tpl/skins/{skin}/images/locked.gif" style="vertical-align: middle;"></a><span></span></li>
<?php
} ?>
</ul>
<div id="habbos-online">
<div id="content">
<div class="cbb ">
<span>{online} members online<br><br>User Peak <b>(<?php
$req = "SELECT * FROM `system_stats`";
$query = mysql_query($req);
$nb_inscrit = mysql_fetch_array($query);
echo $nb_inscrit['users'];
?>)</b></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}/me">Home</a></li>
<li class=""><a href="{url}/community">Community</li>
<li class=""><a href="{url}/news">News</a></li>
<li class="selected">Staff</a></li>
<li class=""><span lang="en-gb"><a href="{url}/djs">
Radio DJs</a></span></li>
</ul>
</div>
</div>
<div id="container">
<div id="content" style="position: relative" class="clearfix">
<div id="column1" class="column">
<?php
$i = 1;
$GetRanks = mysql_query("SELECT id,name FROM ranks WHERE id > 4 ORDER BY id DESC");
while($Ranks = mysql_fetch_assoc($GetRanks))
{
echo "<div class=\"habblet-container \"><div class=\"cbb clearfix pixellightblue \"><h2 class=\"title\">{$Ranks['name']}</h2><div style='padding-top:5px'>";
$GetUsers = mysql_query("SELECT username,motto,rank,last_online,online,look FROM users WHERE rank = {$Ranks['id']}");
if(mysql_num_rows($GetUsers) == 0)
echo '<div style="padding:5px"><i>Nobody has this staff rank yet.. Keep a lookout!</i></div>';
else
{
while($Users = mysql_fetch_assoc($GetUsers))
{
if($Users['online'] == 1){ $OnlineStatus = "<img src='{url}/app/tpl/skins/Habbo/images/onlinenew.gif'>"; } else { $OnlineStatus = "<img src='{url}/app/tpl/skins/Habbo/images/offlinenew.png'>"; }
if($i == 1)
{
echo '<table width="100%" style="padding: 2px; background-color: #fff;">
<tbody>
<tr>
<td valign="middle" width="25">
<div style="width: 64px; height: 81px; margin-top:-22px; float: left; background: url(https://www.habbo.com.tr/habbo-imaging/avatarimage?figure=' . $Users['look'] . '&action=wav&direction=3&head_direction=3&gesture=sml&size=m);"></div>
</td>
<td valign="top">
<b style="font-size: 110%;"><a href="#">' . $Users['username'] . '</a></b> <font size="1"><b></a>' . $Users['staff_rank'] . '</b></font>
<br>
<i>' . htmlspecialchars($Users['motto']) . '</i><br>
</td>
<td valign="top" style="float: right;">
' . $OnlineStatus . '
</td>
</tr>
</tbody>
</table>';
$i = 0;
}
else
{
echo '<table width="100%" style="padding: 2px; background-color: #F5F5F5;">
<tbody>
<tr>
<td valign="middle" width="25">
<div style="width: 64px; height: 81px; margin-top:-22px; float: left; background: url(https://www.habbo.com.tr/habbo-imaging/avatarimage?figure=' . $Users['look'] . '&action=wav&direction=3&head_direction=3&gesture=sml&size=m);"></div>
</td>
<td valign="top">
<b style="font-size: 110%;"><a href="#">' . $Users['username'] . '</a></b> <font size="1"><b></a>' . $Users['staff_rank'] . '</b></font>
<br>
<i>' . htmlspecialchars($Users['motto']) . '</i><br>
</td>
<td valign="top" style="float: right;">
' . $OnlineStatus . '
</td>
</tr>
</tbody>
</table>';
$i = 1;
}
}
}
echo "</div></div></div>";
}
?>
<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="cbb clearfix pixellightblue">
<h2 class="title">How to join the team?</h2>
<div style="padding:7px">
<span lang="en-gb">Never ask to be
staff, this will lower your chances.
We open applications every month. When
the time comes, we post more
information on how to apply!</span></div>
</div>
<div class="habblet-container ">
<div class="cbb clearfix pixellightblue">
<h2 class="title"><span lang="en-gb">Senior
Leadership?</span></h2>
<div style="padding:7px">
<b>King</b> is a<span lang="en-gb"> Developer</span> of {hotelName}.
King's role is to manage the server and develop new features
for the hotel. Without King {hotelName} wouldn't have a developer/content creator.
<br><br>
<b>God</b> is a founder of {hotelName}. God's role is to manage the community-wise aspect of {hotelName},
managing the staff team and taking God into exciting unique directions is his main focus.
Without God the community would lose it's direction.
</div>
</div>
</div>
</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 id="footer" >
<?php include('footer.php'); ?>
<?php include('checktheban.php'); ?>
</div>
</body>
</html>