Okay so here is my part of staff.php I want it to show online script.
With that it look likes like this:
PHP:
<?php
$getRanks = mysql_query("SELECT id,name FROM ranks WHERE id = 7 ORDER BY id DESC");
while ($Ranks = mysql_fetch_assoc($getRanks))
{
echo '<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;
}
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">
<div style="width: 77px; height: 80px; margin-top:-22px; margin-left:-10px; float: left; background: url(http://habbo.com.tr/habbo-imaging/avatarimage?action=wlk&?&gesture=sml&figure=' .$member['look'] . '&action=null&direction=2&head_direction=3&size=b&img_format=gif);">
</td>
<td valign="top">
</br><p style="font-size: 110%;">
<img src="app/tpl/skins/habbo/images/habbo_offline.gif"/>
<strong><a><u style="color:#fc6204;"><a href="#" target="_blank" style="text-decoration:none;color:#666;">{username}</strong></a></u><br><p style="font-size: 90%;"><font color="grey">{motto}</font><br></p>
<img src="app/tpl/skins/habbo/images/spacerbobba.png"></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> ';
}
?>
With that it look likes like this: