<?php
define('USERNAME_REQUIRED', TRUE);
define('ACCOUNT_REQUIRED', TRUE);
include('global.php');
define("THIS_SCRIPT", 'experts');
?>
<!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['experts']; ?></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> 
 
<div class="mainBox"> 
	<?php include("header.php"); ?>
	<?php include("system/communitynav.php"); ?>

	<div class="mid" id="midcontent"> 

<div class="column" id="column1">

	<div class="contentBox">
		<div class="boxHeader">Hotel eXperts</div>
		<div class="boxContent">
			<?php
			$expertsq = mysql_query("SELECT * FROM user_achievements WHERE achievement_id = 32 ORDER BY user_id ASC");
			while($experts = mysql_fetch_array($expertsq))
			{
				?>
				<div class="StaffBox">
					<img src="http://www.habbo.com/habbo-imaging/avatarimage?figure=<?php echo $users->UserInfoByID($experts['user_id'], 'look'); ?>" alt="<?php echo $users->UserInfoByID($experts['user_id'], 'username'); ?>" style="float:left" />
					<div class="OnlineStatus">
						<?php
						if($users->UserInfoByID($experts['user_id'], 'online') == 1)
						{
						?>
							<div class="Online"><?php echo $lang['online']; ?></div>
						<?php
						}
						else
						{
						?>
							<div class="Offline"><?php echo $lang['offline']; ?></div>
						<?php
						}
						?>
					</div>
					<div class="Usersname"><a href="home.php?u=<?php echo $users->UserInfoByID($experts['user_id'], 'username'); ?>"><?php echo $users->UserInfoByID($experts['user_id'], 'username'); ?></a></div>
					<div class="Usersmotto"><?php echo $users->UserInfoByID($experts['user_id'], 'motto'); ?></div>
						<img src="./Public/Images/badges/XXX.gif" alt="Habboon Staff" />
				</div>
            <?php
			}
			?>
		</div>
	</div>
</div>
		
<div class="column" id="column2">
	<div class="contentBox">
		<div class="boxHeader">We're Hiring!</div>
		<div class="boxContent">Habboon is a brand new hotel and our staff team is still pretty small, we're looking out for active users to hire as new moderators over the next few weeks. So keep active and get noticed for your chance at moderator!</div>
	</div>
</div>
		
<?php include("system/sideads.php"); ?>

	</div> 

	<?php include("system/footer.php"); ?>
</div> 

</body> 
</html>