<?PHP
#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|
#|                                                                        #|
#|         JabboCMS - Website and Content Management System               #|
#|         Copyright © 2011 Jor.dan. All rights reserved.                 #|
#|																		  #|
#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|

	include("./global.php");
	$pagename = "BadgeShop";
	$pageid = "badgeshop";
	
if(!session_is_registered(username))
	{
		Redirect("".$url."/index.php");
	}
	
	$do = Securise($_GET['do']);
	
		if($do == "buy") {
			if(isset($_POST['badge'])) {
			if($user['jetons'] >= 5) {
			
			$code = Securise($_POST['badge']);
			if($code == "ADM" || $code == "HBA" || $code == "EXH" || $code == "NWB" || $code == "HS1" || $code == "XXX" || $code == "Z0") {
			$message = "<div id=\"purse-redeem-result\"> 
        <div class=\"redeem-error\"> 
            <div class=\"rounded rounded-red\"> 
              Une erreur c'est produite lors de l'achat du Badge.
            </div> 
        </div> 
</div>"; } else {
			mysql_query("UPDATE users SET jetons = jetons - 5 WHERE username = '".$user['username']."'");
			mysql_query("INSERT INTO user_badges (user_id,badge_id,badge_slot) VALUES ('".$user['id']."','".$code."','0')");
			$message = "<div id=\"purse-redeem-result\"> 
        <div class=\"redeem-error\"> 
            <div class=\"rounded rounded-green\"> 
              Bravo! Tu viens d'acheter le Badge pour seulement <b>5</b> Jetons!
            </div> 
        </div> 
</div>";
}
				} else {
				$message = "<div id=\"purse-redeem-result\"> 
        <div class=\"redeem-error\"> 
            <div class=\"rounded rounded-red\"> 
               Tu n'as pas assez de jetons pour acheter ce Badge!
            </div> 
        </div> 
</div>";
				}
			} else { 
			$message = "<div id=\"purse-redeem-result\"> 
        <div class=\"redeem-error\"> 
            <div class=\"rounded rounded-red\"> 
              Le badge n'existe pas!
            </div> 
        </div> 
</div>";
	}
}
	
?>
<!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" xml:lang="fr" lang="fr">
<head> 
<meta http-equiv="content-type" content="text/html; charset=ISO 5589-1" /> 
<title><?PHP echo $sitename; ?>: <?PHP echo $pagename; ?></title> 
 
<script type="text/javascript"> 
var andSoItBegins = (new Date()).getTime();
var ad_keywords = "";
document.habboLoggedIn = true;
var habboName = "<?PHP echo $user['username']; ?>";
var habboReqPath = "<?PHP echo $url; ?>";
var habboStaticFilePath = "<?PHP echo $imagepath; ?>";
var habboImagerUrl = "http://www.habbo.com/habbo-imaging/";
var habboPartner = "";
var habboDefaultClientPopupUrl = "<?PHP echo $url; ?>/client";
window.name = "habboMain";
if (typeof HabboClient == "undefined") { HabboClient.windowName = "uberClientWnd"; }
</script> 



<link rel="shortcut icon" href="<?PHP echo $imagepath; ?>favicon.ico" type="image/vnd.microsoft.icon" /> 
<script src="<?PHP echo $imagepath; ?>static/js/libs2.js" type="text/javascript"></script>
<script src="<?PHP echo $imagepath; ?>static/js/visual.js" type="text/javascript"></script>
<script src="<?PHP echo $imagepath; ?>static/js/libs.js" type="text/javascript"></script>
<script src="<?PHP echo $imagepath; ?>static/js/common.js" type="text/javascript"></script>

<script src="<?PHP echo $imagepath; ?>static/js/fullcontent.js" type="text/javascript"></script>
<link rel="stylesheet" href="<?PHP echo $imagepath; ?>v2/styles/style.css" type="text/css" />
<link rel="stylesheet" href="<?PHP echo $imagepath; ?>v2/styles/buttons.css" type="text/css" />
<link rel="stylesheet" href="<?PHP echo $imagepath; ?>v2/styles/boxes.css" type="text/css" />
<link rel="stylesheet" href="<?PHP echo $imagepath; ?>v2/styles/tooltips.css" type="text/css" />
<link rel="stylesheet" href="<?PHP echo $imagepath; ?>v2/styles/personal.css" type="text/css" />
<script src="<?PHP echo $imagepath; ?>static/js/habboclub.js" type="text/javascript"></script>
<link rel="stylesheet" href="<?PHP echo $imagepath; ?>v2/styles/minimail.css" type="text/css" />
<link rel="stylesheet" href="<?PHP echo $imagepath; ?>v2/styles/myhabbo/control.textarea.css" type="text/css" />
<script src="<?PHP echo $imagepath; ?>static/js/minimail.js" type="text/javascript"></script>

 

<meta name="description" content="<?PHP echo $description; ?>" /> 
<meta name="keywords" content="<?PHP echo $keyword; ?>" />  
<!--[if IE 8]>
<link rel="stylesheet" href="<?PHP echo $imagepath; ?>v2/styles/ie8.css" type="text/css" />
<![endif]--> 
<!--[if lt IE 8]>
<link rel="stylesheet" href="<?PHP echo $imagepath; ?>v2/styles/ie.css" type="text/css" />
<![endif]--> 
<!--[if lt IE 7]>
<link rel="stylesheet" href="<?PHP echo $imagepath; ?>v2/styles/ie6.css" type="text/css" />
<script src="<?PHP echo $imagepath; ?>static/js/pngfix.js" type="text/javascript"></script>
<script type="text/javascript">
try { document.execCommand('BackgroundImageCache', false, true); } catch(e) {}
</script>
 
<style type="text/css">
body { behavior: url(http://www.habbo.com/js/csshover.htc); }
</style>
<![endif]--> 
<meta name="build" content="<?PHP echo $build; ?> >> <?PHP echo $version; ?>" /> 
</head>


	 
<body id="home" class=" "> 
<div id="overlay"></div> 
<!-- MENU -->
<?PHP include("./template/header.php"); ?>
<!-- FIN MENU -->

<div id='container'>
<div id='content'>
<div id='column1' class='column'>
           
<div class="habblet-container ">		
						<div class="cbb clearfix brown">
	
							<h2 class="title">Badge en vente
							</h2>
							
						<script src="<?PHP echo $imagepath; ?>static/js/credits.js" type="text/javascript"></script>
<p class='credits-countries-select'><form name="achat_badge" action="?do=buy" method="post"><center><input type="image" src="<?PHP echo $imagepath; ?>v2/images/valider.png"></center></p>
<ul id="credits-methods">
	<li id="credits-type-promo">
		<h4 class="credits-category-promo">Badge Rare</h4>
		<ul>
				<li class="clearfix even"><div id="method-44" class="credits-method-container">

					<div class="credits-summary" >
						<h3>Badge Rare</h3>
						<p>Cliqué sur le lien "Voir les Badges &raquo;" pour voir les Badges Rare en vente.</p>

						
						<p class="credits-read-more" id="method-show-44" style="display: none">Voir les Badges &raquo;</p>
					</div>
					<div id="method-full-44" class="credits-method-full">
						<center>	<br><table border="2" cellpadding="10">

  <tbody>

    <tr>

      <td style="text-align: center;"><b>Badges</b></td>

      <td style="text-align: center;"><b>Prix</b></td>

	

    </tr>

		<tr>

      <td style="text-align: center;"><img src="http://www.jabbo.eu/r64/c_images/album1584/PX05.gif"></td>

      <td style="text-align: center;"><b> 5 Jetons</b></td>


      <td style="text-align: center;"><input name="badge" value="PX05" type="radio" ></td>

	</tr>

		<tr>

      <td style="text-align: center;"><img src="http://www.jabbo.eu/r64/c_images/album1584/PX06.gif"></td>

      <td style="text-align: center;"><b> 5 Jetons</b></td>

      

      <td style="text-align: center;"><input name="badge" value="PX06" type="radio" ></td>

	</tr>

		<tr>

      <td style="text-align: center;"><img src="http://www.jabbo.eu/r64/c_images/album1584/XAO.gif"></td>

      <td style="text-align: center;"><b> 5 Jetons</b></td>

      

      <td style="text-align: center;"><input name="badge" value="XAO" type="radio" ></td>

	</tr>

			<tr>

      <td style="text-align: center;"><img src="http://www.jabbo.eu/r64/c_images/album1584/BOT.gif"></td>

      <td style="text-align: center;"> <b>5 Jetons</b></td>

    

      <td style="text-align: center;"><input name="badge" value="BOT" type="radio" ></td>

	</tr>

	  </tbody>

</table></center>

					</div>
					<script type="text/javascript">
					$("method-show-44").show();
					$("method-full-44").hide();
					</script>

				</div></li>
		</ul>
	</li>
	
	<li id="credits-type-promo">
		<h4 class="credits-category-promo">Badge Stylés</h4>
		<ul>
				<li class="clearfix even"><div id="method-55" class="credits-method-container">

					<div class="credits-summary" >
						<h3>Badge Stylé</h3>
						<p>Cliqué sur le lien "Voir les Badges &raquo;" pour voir les Badges Stylé en vente.</p>

						
						<p class="credits-read-more" id="method-show-55" style="display: none">Voir les Badges &raquo;</p>
					</div>
					<div id="method-full-55" class="credits-method-full">
						<center>	<br><table border="2" cellpadding="10">

  <tbody>

    <tr>

      <td style="text-align: center;"><b>Badges</b></td>

      <td style="text-align: center;"><b>Prix</b></td>

	

    </tr>

		<tr>

      <td style="text-align: center;"><img src="http://www.jabbo.eu/r64/c_images/album1584/E12.gif"></td>

      <td style="text-align: center;"><b> 5 Jetons</b></td>

     

      <td style="text-align: center;"><input name="badge" value="E12" type="radio" ></td>

	</tr>

		<tr>

      <td style="text-align: center;"><img src="http://www.jabbo.eu/r64/c_images/album1584/ES029.gif"></td>

      <td style="text-align: center;"><b> 5 Jetons</b></td>

     

      <td style="text-align: center;"><input name="badge" value="ES029" type="radio" ></td>

	</tr>

		<tr>

      <td style="text-align: center;"><img src="http://www.jabbo.eu/r64/c_images/album1584/ES094.gif"></td>

      <td style="text-align: center;"><b> 5 Jetons</b></td>

     

      <td style="text-align: center;"><input name="badge" value="ES094" type="radio" ></td>

	</tr>

		<tr>

      <td style="text-align: center;"><img src="http://www.jabbo.eu/r64/c_images/album1584/GM1.gif"></td>

      <td style="text-align: center;"><b> 5 Jetons</b></td>

     

      <td style="text-align: center;"><input name="badge" value="GM1" type="radio" ></td>

	</tr>

		<tr>

      <td style="text-align: center;"><img src="http://www.jabbo.eu/r64/c_images/album1584/GM2.gif"></td>

      <td style="text-align: center;"><b> 5 Jetons</b></td>

     

      <td style="text-align: center;"><input name="badge" value="GM2" type="radio" ></td>

	</tr>

		<tr>

      <td style="text-align: center;"><img src="http://www.jabbo.eu/r64/c_images/album1584/GM3.gif"></td>

      <td style="text-align: center;"><b> 5 Jetons</b></td>

     

      <td style="text-align: center;"><input name="badge" value="GM3" type="radio" ></td>

	</tr>

		<tr>

      <td style="text-align: center;"><img src="http://www.jabbo.eu/r64/c_images/album1584/GM4.gif"></td>

      <td style="text-align: center;"><b> 5 Jetons</b></td>

     

      <td style="text-align: center;"><input name="badge" value="GM4" type="radio" ></td>

	</tr>

		<tr>

      <td style="text-align: center;"><img src="http://www.jabbo.eu/r64/c_images/album1584/NEC.gif"></td>

      <td style="text-align: center;"><b> 5 Jetons</b></td>

     

      <td style="text-align: center;"><input name="badge" value="NEC" type="radio" ></td>

	</tr>

		<tr>

      <td style="text-align: center;"><img src="http://www.jabbo.eu/r64/c_images/album1584/NEF.gif"></td>

      <td style="text-align: center;"><b> 5 Jetons</b></td>

     

      <td style="text-align: center;"><input name="badge" value="NEF" type="radio" ></td>

	</tr>

		<tr>

      <td style="text-align: center;"><img src="http://www.jabbo.eu/r64/c_images/album1584/NI1.gif"></td>

      <td style="text-align: center;"><b> 5 Jetons</b></td>

     

      <td style="text-align: center;"><input name="badge" value="NI1" type="radio" ></td>

	</tr>

		<tr>

      <td style="text-align: center;"><img src="http://www.jabbo.eu/r64/c_images/album1584/NI2.gif"></td>

      <td style="text-align: center;"><b> 5 Jetons</b></td>

     

      <td style="text-align: center;"><input name="badge" value="NI2" type="radio" ></td>

	</tr>

		<tr>

      <td style="text-align: center;"><img src="http://www.jabbo.eu/r64/c_images/album1584/NI3.gif"></td>

      <td style="text-align: center;"><b> 5 Jetons</b></td>

     

      <td style="text-align: center;"><input name="badge" value="NI3" type="radio" ></td>

	</tr>

		<tr>

      <td style="text-align: center;"><img src="http://www.jabbo.eu/r64/c_images/album1584/NI4.gif"></td>

      <td style="text-align: center;"><b> 5 Jetons</b></td>

     

      <td style="text-align: center;"><input name="badge" value="NI4" type="radio" ></td>

	</tr>

		<tr>

      <td style="text-align: center;"><img src="http://www.jabbo.eu/r64/c_images/album1584/NI5.gif"></td>

      <td style="text-align: center;"><b> 5 Jetons</b></td>

     

      <td style="text-align: center;"><input name="badge" value="NI5" type="radio" ></td>

	</tr>

		<tr>

      <td style="text-align: center;"><img src="http://www.jabbo.eu/r64/c_images/album1584/NI5.gif"></td>

      <td style="text-align: center;"><b> 5 Jetons</b></td>

     

      <td style="text-align: center;"><input name="badge" value="NI6" type="radio" ></td>

	</tr>

		<tr>

      <td style="text-align: center;"><img src="http://www.jabbo.eu/r64/c_images/album1584/US0W.gif"></td>

      <td style="text-align: center;"><b> 5 Jetons</b></td>

     

      <td style="text-align: center;"><input name="badge" value="US0W" type="radio" ></td>

	</tr>

		<tr>

      <td style="text-align: center;"><img src="http://www.jabbo.eu/r64/c_images/album1584/US8.gif"></td>

      <td style="text-align: center;"><b> 5 Jetons</b></td>

     

      <td style="text-align: center;"><input name="badge" value="US8" type="radio" ></td>

	</tr>

		<tr>

      <td style="text-align: center;"><img src="http://www.jabbo.eu/r64/c_images/album1584/WD0.gif"></td>

      <td style="text-align: center;"><b> 5 Jetons</b></td>

     

      <td style="text-align: center;"><input name="badge" value="WD0" type="radio" ></td>

	</tr>

		<tr>

      <td style="text-align: center;"><img src="http://www.jabbo.eu/r64/c_images/album1584/WD1.gif"></td>

      <td style="text-align: center;"><b> 5 Jetons</b></td>

      

      <td style="text-align: center;"><input name="badge" value="WD1" type="radio" ></td>

	</tr>

		<tr>

      <td style="text-align: center;"><img src="http://www.jabbo.eu/r64/c_images/album1584/WD4.gif"></td>

      <td style="text-align: center;"><b> 5 Jetons</b></td>

      

      <td style="text-align: center;"><input name="badge" value="WD4" type="radio" ></td>

	</tr>

		  </tbody>

</table></center>

					</div>
					<script type="text/javascript">
					$("method-show-55").show();
					$("method-full-55").hide();
					</script>
				</div></li>
				
				
				
				
		</ul>
	</li>
	
	<li id="credits-type-promo">
		<h4 class="credits-category-promo">Badge Love</h4>
		<ul>
				<li class="clearfix even"><div id="method-66" class="credits-method-container">

					<div class="credits-summary" >
						<h3>Badge Love</h3>
						<p>Cliqué sur le lien "Voir les Badges &raquo;" pour voir les Badges Love en vente.</p>

						
						<p class="credits-read-more" id="method-show-66" style="display: none">Voir les Badges &raquo;</p>
					</div>
					<div id="method-full-66" class="credits-method-full">
						<center>	<br><table border="2" cellpadding="10">

  <tbody>

    <tr>

      <td style="text-align: center;"><b>Badges</b></td>

      <td style="text-align: center;"><b>Prix</b></td>

	 

    </tr>

		<tr>

      <td style="text-align: center;"><img src="http://www.jabbo.eu/r64/c_images/album1584/BR7.gif"></td>

      <td style="text-align: center;"><b> 5 Jetons</b></td>

      

      <td style="text-align: center;"><input name="badge" value="BR7" type="radio"></td>

	</tr>

		<tr>

      <td style="text-align: center;"><img src="http://www.jabbo.eu/r64/c_images/album1584/SE008.gif"></td>

      <td style="text-align: center;"><b> 5 Jetons</b></td>

      

      <td style="text-align: center;"><input name="badge" value="SE008" type="radio"></td>

	</tr>

		<tr>

      <td style="text-align: center;"><img src="http://www.jabbo.eu/r64/c_images/album1584/SFK.gif"></td>

      <td style="text-align: center;"><b> 5 Jetons</b></td>

      

      <td style="text-align: center;"><input name="badge" value="SFK" type="radio"></td>

	</tr>

		<tr>

      <td style="text-align: center;"><img src="http://www.jabbo.eu/r64/c_images/album1584/SGR.gif"></td>

      <td style="text-align: center;"><b> 5 Jetons</b></td>

      

      <td style="text-align: center;"><input name="badge" value="SGR" type="radio"></td>

	</tr>

		<tr>

      <td style="text-align: center;"><img src="http://www.jabbo.eu/r64/c_images/album1584/VA011.gif"></td>

      <td style="text-align: center;"><b> 5 Jetons</b></td>

      

      <td style="text-align: center;"><input name="badge" value="VA011" type="radio"></td>

	</tr>

		<tr>

      <td style="text-align: center;"><img src="http://www.jabbo.eu/r64/c_images/album1584/VA012.gif"></td>

      <td style="text-align: center;"><b> 5 Jetons</b></td>

      

      <td style="text-align: center;"><input name="badge" value="VA012" type="radio"></td>

	</tr>

		

		<tr>

      <td style="text-align: center;"><img src="http://www.jabbo.eu/r64/c_images/album1584/VA1.gif"></td>

      <td style="text-align: center;"><b> 5 Jetons</b></td>

      

      <td style="text-align: center;"><input name="badge" value="VA1" type="radio"></td>

	</tr>

		<tr>

      <td style="text-align: center;"><img src="http://www.jabbo.eu/r64/c_images/album1584/VA2.gif"></td>

      <td style="text-align: center;"><b> 5 Jetons</b></td>

      

      <td style="text-align: center;"><input name="badge" value="VA2" type="radio"></td>

	</tr>

		<tr>

      <td style="text-align: center;"><img src="http://www.jabbo.eu/r64/c_images/album1584/VA8.gif"></td>

      <td style="text-align: center;"><b> 5 Jetons</b></td>

      

      <td style="text-align: center;"><input name="badge" value="VA8" type="radio"></td>

	</tr>

		  </tbody>

</table></center>

					</div>
					<script type="text/javascript">
					$("method-show-66").show();
					$("method-full-66").hide();
					</script>				</div></li>
					
					
		</ul>
		
		<li id="credits-type-promo">
		<h4 class="credits-category-promo">Badge VIP</h4>
		<ul>
				<li class="clearfix even"><div id="method-77" class="credits-method-container">

					<div class="credits-summary" >
						<h3>Badge VIP</h3>
						<p>Cliqué sur le lien "Voir les Badges &raquo;" pour voir les Badges VIP en vente.</p>

						
						<p class="credits-read-more" id="method-show-77" style="display: none">Voir les Badges &raquo;</p>
					</div>
					<div id="method-full-77" class="credits-method-full">
						<center>	<br>
						
						<?PHP if($user['rank'] > 1) { ?><table border="2" cellpadding="10">

  <tbody>

    <tr>

      <td style="text-align: center;"><b>Badges</b></td>

      <td style="text-align: center;"><b>Prix</b></td>

	 

    </tr>

		<tr>

      <td style="text-align: center;"><img src="http://www.jabbo.eu/r64/c_images/album1584/AM5.gif"></td>

      <td style="text-align: center;"><b> 5 Jetons</b></td>

      

      <td style="text-align: center;"><input name="badge" value="AM5" type="radio"></td>

	</tr>

		<tr>

      <td style="text-align: center;"><img src="http://www.jabbo.eu/r64/c_images/album1584/CY3.gif"></td>

      <td style="text-align: center;"><b> 5 Jetons</b></td>

      

      <td style="text-align: center;"><input name="badge" value="CY3" type="radio"></td>

	</tr>

		<tr>

      <td style="text-align: center;"><img src="http://www.jabbo.eu/r64/c_images/album1584/DE019.gif"></td>

      <td style="text-align: center;"><b> 5 Jetons</b></td>

      

      <td style="text-align: center;"><input name="badge" value="DE019" type="radio"></td>

	</tr>

		<tr>

      <td style="text-align: center;"><img src="http://www.jabbo.eu/r64/c_images/album1584/DK8.gif"></td>

      <td style="text-align: center;"><b> 5 Jetons</b></td>

      

      <td style="text-align: center;"><input name="badge" value="DK8" type="radio"></td>

	</tr>

		

		<tr>

      <td style="text-align: center;"><img src="http://www.jabbo.eu/r64/c_images/album1584/JF3.gif"></td>

      <td style="text-align: center;"><b> 5 Jetons</b></td>

      

      <td style="text-align: center;"><input name="badge" value="JF3" type="radio"></td>

	</tr>

		<tr>

      <td style="text-align: center;"><img src="http://www.jabbo.eu/r64/c_images/album1584/MS3.gif"></td>

      <td style="text-align: center;"><b> 5 Jetons</b></td>

      

      <td style="text-align: center;"><input name="badge" value="MS3" type="radio"></td>

	</tr>

		<tr>

      <td style="text-align: center;"><img src="http://www.jabbo.eu/r64/c_images/album1584/NO032.gif"></td>

      <td style="text-align: center;"><b> 5 Jetons</b></td>

      

      <td style="text-align: center;"><input name="badge" value="NO032" type="radio"></td>

	</tr>

		<tr>

      <td style="text-align: center;"><img src="http://www.jabbo.eu/r64/c_images/album1584/NO033.gif"></td>

      <td style="text-align: center;"><b> 5 Jetons</b></td>

      

      <td style="text-align: center;"><input name="badge" value="NO033" type="radio"></td>

	</tr>

		<tr>

      <td style="text-align: center;"><img src="http://www.jabbo.eu/r64/c_images/album1584/SGA.gif"></td>

      <td style="text-align: center;"><b> 5 Jetons</b></td>

      

      <td style="text-align: center;"><input name="badge" value="SGA" type="radio"></td>

	</tr>

		  </tbody>

</table></center>

					</div>
				<?PHP } else { echo "<b>Tu n'es pas VIP</b>"; } ?>
					<script type="text/javascript">
					$("method-show-77").show();
					$("method-full-77").hide();
					</script>	</div></li>
					
					
		</ul>
		</form>
	</li>
	
</ul>

<script type="text/javascript">
L10N.put("credits.navi.read_more", "Voir les Badges &raquo;");
L10N.put("credits.navi.close_fulltext", "Fermer la liste des Badges &raquo;");
PaymentMethodHabblet.init();
</script>
	
						
					</div>

				</div>
				
</div>



  

			     	

		


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

                <div class="habblet-container ">        

                        <div class="cbb clearfix brown ">

    

                            <h2 class="title">Votre porte monnaie

                            </h2>

                        <div id="purse-habblet">

                                                        <form method="post" action="?do=code" id="vxoucher-form">

<ul>

    <li class="even icon-purse-jetons">

        <div>Vous avez actuellement:</div>

        <span class="purse-balance-amount"><?PHP echo $user['jetons']; ?> Jetons</span>

        <!--<div class="purse-tx"><a href="transactions.php">Account transactions</a></div>-->

    </li>



    <li class="odd">

        <div class="box-content">

<?PHP if(isset($message)) { echo "<br>".$message.""; } ?>
        </div>

    </li>

</ul>

<div id="purse-redeem-result">

</div>    </form>

        </div>



<script type="text/javascript">

    new PurseHabblet();

</script>

    

                        

                    </div>

                </div>

                <script type="text/javascript">if (!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script>
             
                <div class="habblet-container ">        
    
                        
                        
                    
                </div>

                <script type="text/javascript">if (!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script>             

               


                <script type='text/javascript'>if (!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script>
             
                             
</div>

<script type="text/javascript">
HabboView.run();
</script>    
                </div>
               


    

	<!--[if lt IE 7]>
<script type="text/javascript">
Pngfix.doPngImageFix();
</script>
<![endif]--> 
<!-- FOOTER -->
<?PHP include("./template/footer.php"); ?>
<!-- FIN FOOTER -->


<div style="clear: both;"></div>


</div></div></div></div>

 
<script type="text/javascript"> 
HabboView.run();

</script>


</body> 
</html> 



