Daltron
Web Developer
So I have not saw that many uber releases anymore so if anyone uses uber anymore here is a staff page release btw this can work on RevCMS if you edit the code yourself.
Screenshot -
Change "DB NAME HERE" to your database name!
Screenshot -
You must be registered for see links
INSERT INTO `DB NAME HERE`.`users` (`Dan`) VALUES ('0');
Code:
<?php
$getGroups = dbquery("SELECT id,name FROM ranks WHERE id = 7 ORDER BY id ASC");
while ($group = mysql_fetch_assoc($getGroups))
{
echo '<div class="habblet-container ">
<div class="cbb clearfix dark purple ">
<h2 class="title">Owners</h2>';
$getMembers = dbquery("SELECT id,username,motto,look,last_online, online FROM users WHERE Dan = '1' AND username <> '' ORDER BY username ASC LIMIT 5 ");
echo '<div class="box-content">
';
if (mysql_num_rows($getMembers) > 0)
{
$oe = 2;
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' : '#fff') . ';">
<tbody>
<tr>
<td valign="middle" width="25">
<img style="margin-top: -10px;" src="http://www.habbo.nl/habbo-imaging/avatarimage?figure=' . $member['look'] . '&action=crr=667&direction=&head_direction=&gesture=sml&size=b">
</td>
<td valign="top">
<b style="font-size: 12px%;"><font color="#ff6100"><u>' . clean($member['username']) . '</b></u></font>
<div style="margin-top:6px; margin-bottom:2px; width:212px; border:1px dashed #f2f2f2;"></div>
<i><small>Motto: ' . clean($member['motto']) . '</i></small>
<div style="margin-top:6px; margin-bottom:2px; width:212px; border:1px dashed #f2f2f2;"></div>
<small>Last Online: ' . @date('l\ d\t\h\ F', $member['last_online']) . '</small>
<div style="margin-top:6px; margin-bottom:2px; width:212px; border:1px dashed #f2f2f2;"></div>
<small>Status: ' . (($member['online'] == "1") ? '<b style="color: darkgreen;">Online</b>' : '<b style="color: red;">Offline</b>') . '</small>
<div style="margin-top:6px; margin-bottom:2px; width:212px; border:1px dashed #f2f2f2;"></div>
<small> </small>
<div style="margin-top:6px; margin-bottom:2px; width:212px; border:1px dashed #f2f2f2;"></div>
<br />';
$getBadges = dbquery("SELECT * FROM user_badges WHERE user_id = '" . $member['id'] . "' AND badge_slot >= 2 ORDER BY badge_slot ASC LIMIT 5");
while ($b = mysql_fetch_assoc($getBadges))
{
echo '';
}
echo '</td>
</tr>
</tbody>
</table>';
}
}
else
{
echo '<i>There are no users in this staff group yet.</i>';
}
echo '</div>
</div>
</div>
<script type="text/javascript">if (!$(document.body).hasClassName(\'process-template\')) { Rounder.init(); }</script> ';
}
?>