vRory
Unemployed.
- May 4, 2011
- 447
- 69
This is not complete as there's a few problems with the positioning and the avatars.
Just replace the code above with you're current staff page,
Image -
PHP:
<?php
/*================================================================+\
|| # Theme created by Shaheem
|| # Keep copyrights above for respect
|| # Page:Staff Made by Rory of reflectionhotel.info
|| # Created By chrispettyjohn
\+================================================================*/
require_once('./app/tpl/skins/Shango/templates/header.php');
?>
<div id="main_left">
<?php
$GetRanks = mysql_query("SELECT id,name FROM ranks WHERE id > 3 ORDER BY id DESC");
while($Ranks = mysql_fetch_assoc($GetRanks))
{
echo "<div class=\"content-box\" style=\"background-color:#fff\"><div class=\"content-box\"><h2 class=\"title\">{$Ranks['name']}s</h2></div><div class=\"content-box-content\"><p>";
$GetUsers = mysql_query("SELECT username,motto,rank,last_online,online,look FROM users WHERE rank = {$Ranks['id']}");
while($Users = mysql_fetch_assoc($GetUsers))
{
if($Users['online'] == 1){ $OnlineStatus = "<font color=\"darkgreen\"><blink>Online</blink></font>"; } else { $OnlineStatus = "<font color=\"darkred\">Offline</font>"; }
echo "<img style=\"position:absolute;\" src=\"http://www.habbo.com/habbo-imaging/avatarimage?figure={$Users['look']}&action=wav&direction=2&head_direction=3&gesture=srp&size=0\"><p>"
."</p><small><p style=\"margin-left:80px;margin-top:20px;\">Username: {$Users['username']}<br>Motto: {$Users['motto']}<br>Last Online: ". date("D, d F Y H:i (P)", $Users['last_online']) ."</small></p>"
."<p style=\"float:right;margin-top:-30px;\">{$OnlineStatus}</p><br><br><br>";
}
echo "</p></div></div><br>";
}
?>
</div>
<div id="main_right">
<div class="content-box" style="width:300px;background-color:#fff;">
<div class="content-box" style="width:290px">
<h2 class="title">Who are these people?</h2>
</div>
<div class="content-box-content">
<p>
The {hotelName} Hotel staff are people who have the power and authority to maintain the hotel. This covers everything
from banning users to hosting events, giving users credits and much more. To find a staff member in the hotel
you will need to look for a user who has a badge like the one below.
<br><br>
<center><img src="{url}/c_images/album1584/ADM.gif"></center>
</p>
</div>
</div>
</div>
<?php
require_once('./app/tpl/skins/Shango/templates/footer.php');?>
Just replace the code above with you're current staff page,
Image -