Go into staff.php and replace the whole thing with this. (You might want to modify it to your own style).
Now open /Public/Styles/(FILE)/CSS/main.cssCode:<?php define('USERNAME_REQUIRED', TRUE); define('ACCOUNT_REQUIRED', TRUE); include('global.php'); define("THIS_SCRIPT", 'staff'); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <meta content="text/html; charset=utf-8" http-equiv="Content-Type" /> <head> <title><?php echo $sitename." - ".$lang['staff']; ?></title> <script type="text/javascript" src="http://code.jquery.com/jquery-latest.min.js"></script> <script type="text/javascript" src="Public/JS/jquery.history.js"></script> <link type="text/css" rel="stylesheet" href="Public/Styles/<?php echo $currentstyle ?>/CSS/main.css" /> </head> <body> <?php include("header.php"); ?> <div class="mid" id="midcontent"> <?php $rankq = mysql_query("SELECT * FROM `ranks` WHERE id = 7 ORDER BY id DESC"); while($rank = mysql_fetch_array($rankq)) { ?> <div class="contentBox"> <div class="boxHeaderGreen"><h1>Office Staff</h1></div> <div class="boxContent"> <?php $staffq = mysql_query("SELECT * FROM users WHERE rank = ".$rank['id']." ORDER BY rank DESC"); while($staff = mysql_fetch_array($staffq)) { ?> <div class="StaffBio"><?php echo $staff['bio']; ?></div><div class="StaffBox"><img src="http://www.habbo.com/habbo-imaging/avatarimage?figure=<?php echo $staff['look']; ?>" alt="<?php echo $staff['username']; ?>" style="margin: -10px -2px -2px -10px; float: left;" /><div class="Usersname"><a href="home.php?u=<?php echo $staff['username']; ?>"><?php echo $staff['username']; ?></a></div><div class="Usersmotto"><?php echo $staff['motto']; ?></div><img src="./Public/Images/badges/<?php echo $rank['badgeid']; ?>.gif" /></div><?php } echo('</div></div>'); } ?> <?php include("footer.php"); ?> </div> </body> </html>
Add this snippet of code to your cascaded style sheet.
Add this SQL table to your 'users' table.Code:div.StaffBio { float: right; margin-top: 15px; background:#EEE; border: 1px solid #EEE; border-radius: 3px; -moz-border-radius: 3px; -o-border-radius: 3px; -webkit-border-radius: 3px; padding: 5px; height: 70px; width: 369px; }
You will have to edit your "bio table" in PHPMYADMIN, until I decide to create a form for it.Code:`bio` varchar(200) NOT NULL DEFAULT 'This user hasn't edited their page',
![]()





