here is a little thing i call hiding staff
open comp-staff.tpl
find
replace this with
open comp-staff.tpl
find
PHP:
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://www.habbo.com/habbo-imaging/avatarimage?figure=' . $member['look'] . '&size=m">
</td>
<td valign="top">
<b style="font-size: 110%;"><a href="%www%/home/' . clean($member['username']) . '">' . clean($member['username']) . '</a></b><br />
<i>' . clean($member['motto']) . '</i><br />
<br />';
$getBadges = dbquery("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="http://images.habbo.com/c_images/album1584/' . $b['badge_id'] . '.gif" style="float: left;"> ';
}
echo '</td>
<td valign="top" style="float: right;">
' . (($member['online'] == "1") ? '<b style="color: darkgreen;">Online</b>' : '<b style="color: darkred;">Offline</b>') . '
</td>
</tr>
</tbody>
</table>';
replace this with
PHP:
$hide = array("**name1**","**name2**","**name3**","**name4**","**name5**","**name6**");
if(!in_array($member['username'],$hide))
{
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://www.habbo.com/habbo-imaging/avatarimage?figure=' . $member['look'] . '&size=m">
</td>
<td valign="top">
<b style="font-size: 110%;"><a href="%www%/home/' . clean($member['username']) . '">' . clean($member['username']) . '</a></b><br />
<i>' . clean($member['motto']) . '</i><br />
<br />';
$getBadges = dbquery("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="http://images.habbo.com/c_images/album1584/' . $b['badge_id'] . '.gif" style="float: left;"> ';
}
echo '</td>
<td valign="top" style="float: right;">
' . (($member['online'] == "1") ? '<b style="color: darkgreen;">Online</b>' : '<b style="color: darkred;">Offline</b>') . '
</td>
</tr>
</tbody>
</table>'; }
Last edited: