Staff Users Icons

Status
Not open for further replies.

j4ke

Member
Nov 4, 2012
364
97
It is set for there bodies to show up but, its not.
Heres the code for the staff page.

PHP:
<?php include('header.php'); ?>
 
    <div class="row">
        <div class="span4">
            <div class="well">
                <p class="btn2 btn-block boxtitle btn-info2">Who are the staff?</p>
                <p>{hotelName} staff are the members of the community who are in charge of running the hotel and ensuring it is safe. They plan competitions, host events and assist users whenever possible. These are the users you should contact for assistance.</p>
                <p>If someone claims to be staff, check this list before answering any personal questions.</p>
            </div>
            <div class="well">
                <p class="btn2 btn-block boxtitle btn-info2">Can I be staff?</p>
                <p>We hire frequently, and when we do it will be posted on the news. Please do not spam staff with requests to be hired as this will result in you being blacklisted from future application periods.</p>
            </div>
        </div>
        <div class="span8">
<?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="well"><p class="btn2 btn-block boxtitle btn-info2">' . $Ranks['name'] . '</p>';
     
        $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="100%" style="padding: 5px; margin-left: -15px; background-color: ' . (($oe == 2) ? '#fff' : '#E6E6E6') . ';">
                        <tbody>
                                <tr>
                                        <td valign="middle" width="75">
                                                <img style="margin-top: -10px;" src="http://www.habbo.com/habbo-imaging/avatarimage?figure=' .$member['look'] . '&size=l">
                                        </td>
                                        <td valign="top">
                                                <p style="font-size: 90%;">Username: <strong>' .$member['username'] . '</strong><br>Motto: <strong>' . $member['motto'] . '</strong><br><i>Last Online: '. date("D, d F Y H:i (P)", $member['last_online']) .'</i></p>
                                                <br />';
                                             
                                        echo '</td>
                                        <td valign="top" style="float: right;">
                                                ' . (($member['online'] == "1") ? '<b>Online</b>': '<b>Offline</b>') . '
                                        </td>
                                </tr>
                        </tbody>
                        </table>';
                }
        }
        else
        {
                echo '<i>Were hiring!</i>';
        }
     
        echo '</div>
        </div>';
}
 
?>
        </div>
    </div>
 
<?php include('footer.php'); ?>
 

zMagenta

Posting Freak
Jul 15, 2011
1,414
682
Change
Code:
http://www.habbo.com/habbo-imaging/avatarimage?figure=

to

Code:
http://www.habbo.nl/habbo-imaging/avatarimage?figure=
 
Status
Not open for further replies.

Users who are viewing this thread

Top