                       <?php
/*================================================================+\
|| # PHPRetro - An extendable virtual hotel site and management
|+==================================================================
|| # Copyright (C) 2009 Yifan Lu. All rights reserved.
|| # http://www.yifanlu.com
|| # Parts Copyright (C) 2009 Meth0d. All rights reserved.
|| # http://www.meth0d.org
|| # All images, scripts, and layouts
|| # Copyright (C) 2009 Sulake Ltd. All rights reserved.
|+==================================================================
|| # PHPRetro is provided "as is" and comes without
|| # warrenty of any kind. PHPRetro is free software!
|| # License: GNU Public License 3.0
|| # http://opensource.org/licenses/gpl-license.php
\+================================================================*/

$page['allow_guests'] = true;
require_once('./includes/core.php');
require_once('./includes/session.php');
$lang->addLocale("credits.credits");

$page['id'] = "games_cwar";
$page['name'] = "Colour Wars";
$page['bodyid'] = "home";
$page['cat'] = "games";

require_once('./templates/community_header.php');
?>
<div id="container">
	<div id="content" style="position: relative" class="clearfix">
    <div id="column1" class="column">

				<div class="habblet-container ">
						<div class="cbb clearfix red ">

							<h2 class="title">Colour Wars
							</h2>
<p class="credits-countries-select">
<img src="http://www.habbolot.net/goodies/miscellaneous/bb-team.gif" align="right">
Colour Wars is a new and exciting game that has just arrived ! The objective of the game is to be the last standing team, while fighting off members of the opposing team
<br /><br />
The course consists of five rooms in total, and is based off a ghost town on the outskirts of a forest.
</p>
					</div>

						<div class="cbb clearfix blue ">

							<h2 class="title">Scoring
							</h2>
<p class="credits-countries-select">
<table width="400px">
<tr>
<td width="70px" align="center">
<img src="web-gallery/images/10_b.png">
</td>
<td width="330px">
Kill Another Player
</td>
</tr>
</table>
</p>
					</div>
						
				</div>
</div>
<div id="column2" class="column">
				<div class="habblet-container ">
						<div class="cbb clearfix green ">

							<h2 class="title">Leader Board
							</h2>
						<div id="purse-habblet">

<div class="box-content">
<?php
$getTopStats = mysql_query("SELECT * FROM users ORDER BY game_cwar DESC LIMIT 10");
while($topSpats = mysql_fetch_array($getTopStats)){
  echo '<img src="http://www.habbo.co.uk/habbo-imaging/avatarimage?figure='.$topSpats['figure'].'&size=s&direction=2&head_direction=3&gesture=sml&size=m" align="left"><a href="#">'.$topSpats['name'].'</a><br />Points: '.$topSpats['game_cwar'].'<br /><br /><br /><br />';
}
?>
</div>


					</div>
				</div
</div>


<?php require_once('./templates/community_footer.php'); ?>