<?php
define('USERNAME_REQUIRED', TRUE);
define('ACCOUNT_REQUIRED', TRUE);
include('global.php');
define("THIS_SCRIPT", 'vip');
?>
<!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['vip']; ?></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 VIPs</div>
		<div class="boxContent">
			<?php
			$staffq = mysql_query("SELECT * FROM users WHERE vip = '1' ORDER BY id ASC");
			while($staff = mysql_fetch_array($staffq))
			{
				?>
				<div class="StaffBox">
					<img src="http://www.habbo.com/habbo-imaging/avatarimage?figure=<?php echo $staff['look']; ?>" alt="<?php echo $staff['username']; ?>" style="float:left" />
					<div class="OnlineStatus">
						<?php
						if($staff['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 $staff['username']; ?>"><?php echo $staff['username']; ?></a></div>
					<div class="Usersmotto"><?php echo $staff['motto']; ?></div>
					<img src="./Public/Images/badges/VIP.gif" alt="Vip" />
				</div>
            <?php
			}
			?>
		</div>
	</div>
</div>
		
<div class="column" id="column2">
	<div class="contentBox">
		<div class="boxHeader"><?php echo $lang['vip_benefits_title']; ?></div>
		<div class="boxContent">
<?php echo $lang['vip_benefits_text']; ?>
</div>
	</div>
    <div class="contentBox">
		<div class="boxHeader"><?php echo $lang['buy_vip']; ?></div>
		<div class="boxContent">
        <center>
    <form action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="796V3ELEBCBZ2">
<input type="image" src="https://www.sandbox.paypal.com/it_IT/IT/i/btn/btn_buynowCC_LG.gif" border="0" name="submit" alt="PayPal - Il sistema di pagamento online più facile e sicuro!">
<img alt="" border="0" src="https://www.sandbox.paypal.com/it_IT/i/scr/pixel.gif" width="1" height="1">
</form>
		</center>
		</div>
	</div>
</div>
		
<?php include("system/sideads.php"); ?>

	</div> 

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

</body> 
</html>