<?php
/*===================================================+ 
|| # HoloCMS - Website and Content Management System
|+===================================================+ 
|| # Copyright © 2012 DnT [Tutti i diritti riservati]
|| # http://dnt.webnet32.com/
|+===================================================+ 
|| # DnT HoloCMS v2 - Created By Donatello (DnT)
|| # http://code.google.com/p/dnt-project/downloads/list
|+===================================================*/ 

include('core.php');
include('includes/session.php');




$pagename = "Room Shop";
$pageid = "shoproom";


include('templates/community/subheader.php');
include('templates/community/header.php');

include("locale/".$language."/login.php");
	
	
	
	$do = (Securise($_GET['do']));
		if($do == "buy1") {
			if($myrow['vip_points'] >= 2) {
			SendMUS(updateusersrooms, $my_id);
			SendMUS(updatepoints, $my_id);
			$sql = mysql_query("UPDATE users SET vip_points = vip_points - 2 WHERE id = '".$myrow['id']."'");
			mysql_query("INSERT INTO `rooms` (`id`, `roomtype`, `caption`, `owner`, `description`, `category`, `state`, `users_now`, `users_max`, `model_name`, `public_ccts`, `score`, `tags`, `icon_bg`, `icon_fg`, `icon_items`, `password`, `wallpaper`, `floor`, `landscape`, `allow_pets`, `allow_pets_eat`, `allow_walkthrough`, `allow_hidewall`) VALUES
                                   (0, 'private', 'Stanza Creata! :D', '".$myrow['username']."', '', 0, 'open', 0, 25, 'model_2', '', 0, '', 0, 0, '', '', '0.0', '0.0', '0.0', '1', '0', '0', '0');");
 $message = "<div id=\"purse-redeem-result\"> 
        <div class=\"redeem-error\"> 
            <div class=\"rounded rounded-green\"> 
              Grazie per aver acquistato questa room! :D
            </div> 
        </div> 
</div>";
			} else {
			$message = "<div id=\"purse-redeem-result\"> 
        <div class=\"redeem-error\"> 
            <div class=\"rounded rounded-red\"> 
               Non hai abbastanza Bolts per comprare questa room !
            </div> 
        </div> 
</div>";
			}
		}
	
		if($do == "buy2") {
			if($myrow['vip_points'] >= 4) {
			SendMUS(updateusersrooms, $my_id);
			SendMUS(updatepoints, $my_id);
			$sql = mysql_query("UPDATE users SET vip_points = vip_points - 4 WHERE id = '".$myrow['id']."'");
			mysql_query("INSERT INTO `rooms` (`id`, `roomtype`, `caption`, `owner`, `description`, `category`, `state`, `users_now`, `users_max`, `model_name`, `public_ccts`, `score`, `tags`, `icon_bg`, `icon_fg`, `icon_items`, `password`, `wallpaper`, `floor`, `landscape`, `allow_pets`, `allow_pets_eat`, `allow_walkthrough`, `allow_hidewall`) VALUES
                                   (0, 'private', 'Stanza Creata! :D', '".$myrow['username']."', '', 0, 'open', 0, 25, 'model_1', '', 0, '', 0, 0, '', '', '0.0', '0.0', '0.0', '1', '0', '0', '0');");
 $message = "<div id=\"purse-redeem-result\"> 
        <div class=\"redeem-error\"> 
            <div class=\"rounded rounded-green\"> 
              Grazie per aver acquistato questa room! :D
            </div> 
        </div> 
</div>";
			} else {
			$message = "<div id=\"purse-redeem-result\"> 
        <div class=\"redeem-error\"> 
            <div class=\"rounded rounded-red\"> 
               Non hai abbastanza Bolts per comprare la room !
            </div> 
        </div> 
</div>";
			}
		}
if($do == "buy3") {
			if($myrow['vip_points'] >= 6) {
			SendMUS(updateusersrooms, $my_id);
			SendMUS(updatepoints, $my_id);
			$sql = mysql_query("UPDATE users SET vip_points = vip_points - 6 WHERE id = '".$myrow['id']."'");
			mysql_query("INSERT INTO `rooms` (`id`, `roomtype`, `caption`, `owner`, `description`, `category`, `state`, `users_now`, `users_max`, `model_name`, `public_ccts`, `score`, `tags`, `icon_bg`, `icon_fg`, `icon_items`, `password`, `wallpaper`, `floor`, `landscape`, `allow_pets`, `allow_pets_eat`, `allow_walkthrough`, `allow_hidewall`) VALUES
                                   (0, 'private', 'Stanza Creata! :D', '".$myrow['username']."', '', 0, 'open', 0, 25, 'model_3', '', 0, '', 0, 0, '', '', '0.0', '0.0', '0.0', '1', '0', '0', '0');");
 $message = "<div id=\"purse-redeem-result\"> 
        <div class=\"redeem-error\"> 
            <div class=\"rounded rounded-green\"> 
              Grazie per aver acquistato questa room! :D
            </div> 
        </div> 
</div>";
			} else {
			$message = "<div id=\"purse-redeem-result\"> 
        <div class=\"redeem-error\"> 
            <div class=\"rounded rounded-red\"> 
               Non hai abbastanza Bolts per comprare la room !
            </div> 
        </div> 
</div>";
			}
		}
if($do == "buy4") {
			if($myrow['vip_points'] >= 8) {
			SendMUS(updateusersrooms, $my_id);
			SendMUS(updatepoints, $my_id);
			$sql = mysql_query("UPDATE users SET vip_points = vip_points - 8 WHERE id = '".$myrow['id']."'");
			mysql_query("INSERT INTO `rooms` (`id`, `roomtype`, `caption`, `owner`, `description`, `category`, `state`, `users_now`, `users_max`, `model_name`, `public_ccts`, `score`, `tags`, `icon_bg`, `icon_fg`, `icon_items`, `password`, `wallpaper`, `floor`, `landscape`, `allow_pets`, `allow_pets_eat`, `allow_walkthrough`, `allow_hidewall`) VALUES
                                   (0, 'private', 'Stanza Creata! :D', '".$myrow['username']."', '', 0, 'open', 0, 25, 'model_4', '', 0, '', 0, 0, '', '', '0.0', '0.0', '0.0', '1', '0', '0', '0');");
 $message = "<div id=\"purse-redeem-result\"> 
        <div class=\"redeem-error\"> 
            <div class=\"rounded rounded-green\"> 
              Grazie per aver acquistato questa room! :D
            </div> 
        </div> 
</div>";
			} else {
			$message = "<div id=\"purse-redeem-result\"> 
        <div class=\"redeem-error\"> 
            <div class=\"rounded rounded-red\"> 
               Non hai abbastanza Bolts per comprare la room !
            </div> 
        </div> 
</div>";
			}
		}
if($do == "buy5") {
			if($myrow['vip_points'] >= 10) {
			SendMUS(updateusersrooms, $my_id);
			SendMUS(updatepoints, $my_id);
			$sql = mysql_query("UPDATE users SET vip_points = vip_points - 10 WHERE id = '".$myrow['id']."'");
			mysql_query("INSERT INTO `rooms` (`id`, `roomtype`, `caption`, `owner`, `description`, `category`, `state`, `users_now`, `users_max`, `model_name`, `public_ccts`, `score`, `tags`, `icon_bg`, `icon_fg`, `icon_items`, `password`, `wallpaper`, `floor`, `landscape`, `allow_pets`, `allow_pets_eat`, `allow_walkthrough`, `allow_hidewall`) VALUES
                                   (0, 'private', 'Stanza Creata! :D', '".$myrow['username']."', '', 0, 'open', 0, 25, 'model_5', '', 0, '', 0, 0, '', '', '0.0', '0.0', '0.0', '1', '0', '0', '0');");
 $message = "<div id=\"purse-redeem-result\"> 
        <div class=\"redeem-error\"> 
            <div class=\"rounded rounded-green\"> 
              Grazie per aver acquistato questa room! :D
            </div> 
        </div> 
</div>";
			} else {
			$message = "<div id=\"purse-redeem-result\"> 
        <div class=\"redeem-error\"> 
            <div class=\"rounded rounded-red\"> 
               Non hai abbastanza Bolts per comprare la room !
            </div> 
        </div> 
</div>";
			}
		}
if($do == "buy6") {
			if($myrow['vip_points'] >= 12) {
			SendMUS(updateusersrooms, $my_id);
			SendMUS(updatepoints, $my_id);
			$sql = mysql_query("UPDATE users SET vip_points = vip_points - 12 WHERE id = '".$myrow['id']."'");
			mysql_query("INSERT INTO `rooms` (`id`, `roomtype`, `caption`, `owner`, `description`, `category`, `state`, `users_now`, `users_max`, `model_name`, `public_ccts`, `score`, `tags`, `icon_bg`, `icon_fg`, `icon_items`, `password`, `wallpaper`, `floor`, `landscape`, `allow_pets`, `allow_pets_eat`, `allow_walkthrough`, `allow_hidewall`) VALUES
                                   (0, 'private', 'Stanza Creata! :D', '".$myrow['username']."', '', 0, 'open', 0, 25, 'model_6', '', 0, '', 0, 0, '', '', '0.0', '0.0', '0.0', '1', '0', '0', '0');");
 $message = "<div id=\"purse-redeem-result\"> 
        <div class=\"redeem-error\"> 
            <div class=\"rounded rounded-green\"> 
              Grazie per aver acquistato questa room! :D
            </div> 
        </div> 
</div>";
			} else {
			$message = "<div id=\"purse-redeem-result\"> 
        <div class=\"redeem-error\"> 
            <div class=\"rounded rounded-red\"> 
               Non hai abbastanza Bolts per comprare la room !
            </div> 
        </div> 
</div>";
			}
		}
		if($do == "buy7") {
			if($myrow['vip_points'] >= 14) {
			SendMUS(updateusersrooms, $my_id);
			SendMUS(updatepoints, $my_id);
			$sql = mysql_query("UPDATE users SET vip_points = vip_points - 6 WHERE id = '".$myrow['id']."'");
			mysql_query("INSERT INTO `rooms` (`id`, `roomtype`, `caption`, `owner`, `description`, `category`, `state`, `users_now`, `users_max`, `model_name`, `public_ccts`, `score`, `tags`, `icon_bg`, `icon_fg`, `icon_items`, `password`, `wallpaper`, `floor`, `landscape`, `allow_pets`, `allow_pets_eat`, `allow_walkthrough`, `allow_hidewall`) VALUES
                                   (0, 'private', 'Stanza Creata! :D', '".$myrow['username']."', '', 0, 'open', 0, 25, 'model_7', '', 0, '', 0, 0, '', '', '0.0', '0.0', '0.0', '1', '0', '0', '0');");
 $message = "<div id=\"purse-redeem-result\"> 
        <div class=\"redeem-error\"> 
            <div class=\"rounded rounded-green\"> 
              Grazie per aver acquistato questa room! :D
            </div> 
        </div> 
</div>";
			} else {
			$message = "<div id=\"purse-redeem-result\"> 
        <div class=\"redeem-error\"> 
            <div class=\"rounded rounded-red\"> 
               Non hai abbastanza Bolts per comprare la room !
            </div> 
        </div> 
</div>";
			}
		}
		if($do == "buy8") {
			if($myrow['vip_points'] >= 30) {
			SendMUS(updateusersrooms, $my_id);
			SendMUS(updatepoints, $my_id);
			$sql = mysql_query("UPDATE users SET vip_points = vip_points - 30 WHERE id = '".$myrow['id']."'");
			mysql_query("INSERT INTO `rooms` (`id`, `roomtype`, `caption`, `owner`, `description`, `category`, `state`, `users_now`, `users_max`, `model_name`, `public_ccts`, `score`, `tags`, `icon_bg`, `icon_fg`, `icon_items`, `password`, `wallpaper`, `floor`, `landscape`, `allow_pets`, `allow_pets_eat`, `allow_walkthrough`, `allow_hidewall`) VALUES
                                   (0, 'private', 'Stanza Creata! :D', '".$myrow['username']."', '', 0, 'open', 0, 25, 'model_8', '', 0, '', 0, 0, '', '', '0.0', '0.0', '0.0', '1', '0', '0', '0');");
 $message = "<div id=\"purse-redeem-result\"> 
        <div class=\"redeem-error\"> 
            <div class=\"rounded rounded-green\"> 
              Grazie per aver acquistato questa room! :D
            </div> 
        </div> 
</div>";
			} else {
			$message = "<div id=\"purse-redeem-result\"> 
        <div class=\"redeem-error\"> 
            <div class=\"rounded rounded-red\"> 
               Non hai abbastanza Bolts per comprare la room !
            </div> 
        </div> 
</div>";
			}
		}
		if($do == "buy9") {
			if($myrow['vip_points'] >= 30) {
			SendMUS(updateusersrooms, $my_id);
			SendMUS(updatepoints, $my_id);
			$sql = mysql_query("UPDATE users SET vip_points = vip_points - 30 WHERE id = '".$myrow['id']."'");
			mysql_query("INSERT INTO `rooms` (`id`, `roomtype`, `caption`, `owner`, `description`, `category`, `state`, `users_now`, `users_max`, `model_name`, `public_ccts`, `score`, `tags`, `icon_bg`, `icon_fg`, `icon_items`, `password`, `wallpaper`, `floor`, `landscape`, `allow_pets`, `allow_pets_eat`, `allow_walkthrough`, `allow_hidewall`) VALUES
                                   (0, 'private', 'Stanza Creata! :D', '".$myrow['username']."', '', 0, 'open', 0, 25, 'model_9', '', 0, '', 0, 0, '', '', '0.0', '0.0', '0.0', '1', '0', '0', '0');");
 $message = "<div id=\"purse-redeem-result\"> 
        <div class=\"redeem-error\"> 
            <div class=\"rounded rounded-green\"> 
              Grazie per aver acquistato questa room! :D
            </div> 
        </div> 
</div>";
			} else {
			$message = "<div id=\"purse-redeem-result\"> 
        <div class=\"redeem-error\"> 
            <div class=\"rounded rounded-red\"> 
               Non hai abbastanza Bolts per comprare la room !
            </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> 
 

 

<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 -->

<!-- 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">Visualizza la stanza
							</h2>
							
						<script src="<?PHP echo $imagepath; ?>static/js/credits.js" type="text/javascript"></script><br>
					
<p class='credits-countries-select'>
	<div id="tableau_simple" style="display:none">
	<center>		
	<b><font color="red">/!\ Se selezioni un altra stanza ricordati di chiudere questa ^^ /!\</b></font>
	<div><font color="red"><u><b>Potrebbe buggarsi e perderete le vostre monete ! ^^ </u></b></font></div>
</br>
<a href="images/appart1.png"><img src="images/appart1.png"></a>
</br></br>
<b>La stanza numero 1 costa: <font color="red">(2 Bolts)</font> In caso di problemi contattare un Amministratore.</b>
</br></br>
	<a class="new-button fill red-button" style="width: 240px;" href="?do=buy1"><b>Compra la 1 stanza</b>/b><i></i>/b></a>
<a class="new-button fill green-button" style="width: 240px;" href="javascript:visibilite('tableau_simple')"><b>Chiudi</b>/b><i></i>/b></a>
</div>
	<div id="tableau_simple2" style="display:none">
	
	<center>		
<b><font color="red">/!\ Se selezioni un altra stanza ricordati di chiudere questa ^^ /!\</b></font>
<div><font color="red"><u><b>Potrebbe buggarsi e perderete le vostre monete ! ^^ </u></b></font></div>
</br>
<a href="images/appart2.png"><img src="images/appart2.png"></a>
</br></br>
<b>La stanza numero 2 costa: <font color="red">(4 Bolts)</font> In caso di problemi contattare un Amministratore.</b>
</br></br>
<a class="new-button fill red-button" style="width: 240px;" href="?do=buy2"><b>Compra la 2 stanza</b>/b><i></i>/b></a>
<a class="new-button fill green-button" style="width: 240px;" href="javascript:visibilite('tableau_simple2')"><b>Chiudi</b>/b><i></i>/b></a>
</div>
	<div id="tableau_simple3" style="display:none">
	
	<center>		
<b><font color="red">/!\ Se selezioni un altra stanza ricordati di chiudere questa ^^ /!\</b></font>
<div><font color="red"><u><b>Potrebbe buggarsi e perderete le vostre monete ! ^^ </u></b></font></div>
</br>
<a href="images/appart3.png"><img src="images/appart3.png"></a>
</br></br>
<b>La stanza numero 3 costa: <font color="red">(6 Bolts)</font> In caso di problemi contattare un Amministratore.</b>
</br>
</br>
	<a class="new-button fill red-button" style="width: 240px;" href="?do=buy3"><b>Compra la 3 stanza</b>/b><i></i>/b></a>
<a class="new-button fill green-button" style="width: 240px;" href="javascript:visibilite('tableau_simple3')"><b>Chiudi</b>/b><i></i>/b></a>
</div>
	<div id="tableau_simple4" style="display:none">
	
	<center>		
<b><font color="red">/!\ Se selezioni un altra stanza ricordati di chiudere questa ^^ /!\</b></font>
<div><font color="red"><u><b>Potrebbe buggarsi e perderete le vostre monete ! ^^ </u></b></font></div>
</br>
<a href="images/appart4.png"><img src="images/appart4.png"></a>
</br></br>
<b>La stanza numero 4 costa: <font color="red">(8 Bolts)</font> In caso di problemi contattare un Amministratore.</b>
</br>
</br>
	<a class="new-button fill red-button" style="width: 240px;" href="?do=buy4"><b>Compra la 4 stanza</b>/b><i></i>/b></a>
<a class="new-button fill green-button" style="width: 240px;" href="javascript:visibilite('tableau_simple4')"><b>Chiudi</b>/b><i></i>/b></a>
</div>
	<div id="tableau_simple5" style="display:none">
	
	<center>		
<b><font color="red">/!\ Se selezioni un altra stanza ricordati di chiudere questa ^^ /!\</b></font>
<div><font color="red"><u><b>Potrebbe buggarsi e perderete le vostre monete ! ^^ </u></b></font></div>
</br>
<a href="images/appart5.png"><img src="images/appart5.png"></a>
</br></br>
<b>La stanza numero 5 costa: <font color="red">(10 Bolts)</font> In caso di problemi contattare un Amministratore.</b>
</br>
</br>
	<a class="new-button fill red-button" style="width: 240px;" href="?do=buy5"><b>Compra la 5 stanza</b>/b><i></i>/b></a>
<a class="new-button fill green-button" style="width: 240px;" href="javascript:visibilite('tableau_simple5')"><b>Chiudi</b>/b><i></i>/b></a>
</div>
	<div id="tableau_simple6" style="display:none">
	
	<center>		
<b><font color="red">/!\ Se selezioni un altra stanza ricordati di chiudere questa ^^ /!\</b></font>
<div><font color="red"><u><b>Potrebbe buggarsi e perderete le vostre monete ! ^^ </u></b></font></div>
</br>
<a href="images/appart6.png"><img src="images/appart6.png"></a>
</br></br>
<b>La stanza numero 6 costa: <font color="red">(12 Bolts)</font> In caso di problemi contattare un Amministratore.</b>
</br>
</br>
	<a class="new-button fill red-button" style="width: 240px;" href="?do=buy6"><b>Compra la 6 stanza</b>/b><i></i>/b></a>
<a class="new-button fill green-button" style="width: 240px;" href="javascript:visibilite('tableau_simple6')"><b>Chiudi</b>/b><i></i>/b></a>
</div>
	<div id="tableau_simple7" style="display:none">
	
	<center>		
<b><font color="red">/!\ Se selezioni un altra stanza ricordati di chiudere questa ^^ /!\</b></font>
<div><font color="red"><u><b>Potrebbe buggarsi e perderete le vostre monete ! ^^ </u></b></font></div>
</br>
<a href="images/appart7.png"><img src="images/appart7.png"></a>
</br></br>
<b>La stanza numero 7 costa: <font color="red">(7 Bolts)</font> In caso di problemi contattare un Amministratore.</b>
</br>
</br>
	<a class="new-button fill red-button" style="width: 240px;" href="?do=buy7"><b>Compra la 7 stanza</b>/b><i></i>/b></a>
<a class="new-button fill green-button" style="width: 240px;" href="javascript:visibilite('tableau_simple7')"><b>Chiudi</b>/b><i></i>/b></a>
</div>
	<div id="tableau_simple8" style="display:none">
	
	<center>		
<b><font color="red">/!\ Se selezioni un altra stanza ricordati di chiudere questa ^^ /!\</b></font>
<div><font color="red"><u><b>Potrebbe buggarsi e perderete le vostre monete ! ^^ </u></b></font></div>
</br>
<a href="images/appart8.png"><img src="images/appart8.png"></a>
</br></br>
<b>La stanza numero 8 costa: <font color="red">(15 Bolts)</font> In caso di problemi contattare un Amministratore.</b>
</br>
</br>
	<a class="new-button fill red-button" style="width: 240px;" href="?do=buy8"><b>Compra la 8 stanza</b>/b><i></i>/b></a>
<a class="new-button fill green-button" style="width: 240px;" href="javascript:visibilite('tableau_simple8')"><b>Chiudi</b>/b><i></i>/b></a>
</div>
	<div id="tableau_simple9" style="display:none">
	
	<center>		
<b><font color="red">/!\ Se selezioni un altra stanza ricordati di chiudere questa ^^ /!\</b></font>
<div><font color="red"><u><b>Potrebbe buggarsi e perderete le vostre monete ! ^^ </u></b></font></div>
</br>
<a href="images/appart9.png"><img src="images/appart9.png"></a>
</br></br>
<b>La stanza numero 9 costa: <font color="red">(30 Bolts)</font> In caso di problemi contattare un Amministratore.</b>
</br>
</br>
	<a class="new-button fill red-button" style="width: 240px;" href="?do=buy9"><b>Compra la 9 stanza</b>/b><i></i>/b></a>
<a class="new-button fill green-button" style="width: 240px;" href="javascript:visibilite('tableau_simple9')"><b>Chiudi</b>/b><i></i>/b></a>
</div>
	<div id="tableau_simple10" style="display:none">
	
	<center>		
<b><font color="red">/!\ Se selezioni un altra stanza ricordati di chiudere questa ^^ /!\</b></font>
<div><font color="red"><u><b>Potrebbe buggarsi e perderete le vostre monete ! ^^ </u></b></font></div>
</br>
<a href="images/appart10.png"><img src="images/appart10.png"></a>
</br></br>
<b>La stanza numero 10 costa: <font color="red">(4 Bolts)</font> In caso di problemi contattare un Amministratore.</b>
</br>
</br>
	<a class="new-button fill red-button" style="width: 240px;" href="?do=buy10"><b>Compra la 10 stanza</b>/b><i></i>/b></a>
<a class="new-button fill green-button" style="width: 240px;" href="javascript:visibilite('tableau_simple10')"><b>Chiudi</b>/b><i></i>/b></a>
</div>
</div></div></div>  

			     	

		


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

                <div class="habblet-container ">        

                        <div class="cbb clearfix brown ">

    

                            <h2 class="title">Borsellino

                            </h2>

                        <div id="purse-habblet">

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

<ul>

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

        <div>Voi avete attualmente:</div>

        <span class="purse-balance-amount"><?PHP echo $myrow['vip_points']; ?> Bolts</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 "".$message."<br>"; } ?>
            <div><b><font color="blue"><center><u>Clicca per visualizzare le stanze !</center></u></font></b></div>
<p><br>
	<script type="text/javascript">
			function visibilite(thingId) {
				var targetElement;
				targetElement = document.getElementById(thingId) ;
				if (targetElement.style.display == "none") {
					targetElement.style.display = "" ;
				}
				else {
					targetElement.style.display = "none" ;
				}
			}
		</script>
    </head>
    <body>
			____________________________________
</br>
</br>

	<a class="new-button fill gray-button" style="width: 240px;" href="javascript:visibilite('tableau_simple')"><b>Guarda la stanza numero 1</b>/b><i></i>/b></a>
	<a class="new-button fill red-button" style="width: 240px;" href="?do=buy1"><b>Compra la stanza numero 1</b>/b><i></i>/b></a>
	____________________________________
</br>
</br>
	

 <a class="new-button fill gray-button" style="width: 240px;" href="javascript:visibilite('tableau_simple2')"><b>Guarda la stanza numero 2</b>/b><i></i>/b></a>
	<a class="new-button fill red-button" style="width: 240px;" href="?do=buy2"><b>Compra la stanza numero 2</b>/b><i></i>/b></a>
	____________________________________
</br>
</br>
	 <a class="new-button fill gray-button" style="width: 240px;" href="javascript:visibilite('tableau_simple3')"><b>Guarda la stanza numero 3</b>/b><i></i>/b></a>
	<a class="new-button fill red-button" style="width: 240px;" href="?do=buy3"><b>Compra la stanza numero 3</b>/b><i></i>/b></a>
		____________________________________
</br>
</br>
	 <a class="new-button fill gray-button" style="width: 240px;" href="javascript:visibilite('tableau_simple4')"><b>Guarda la stanza numero 4</b>/b><i></i>/b></a>
	<a class="new-button fill red-button" style="width: 240px;" href="?do=buy4"><b>Compra la stanza numero 4</b>/b><i></i>/b></a>
	____________________________________
	</br>
	</br>
		 <a class="new-button fill gray-button" style="width: 240px;" href="javascript:visibilite('tableau_simple5')"><b>Guarda la stanza numero 5</b>/b><i></i>/b></a>
	<a class="new-button fill red-button" style="width: 240px;" href="?do=buy5"><b>Compra la stanza numero 5</b>/b><i></i>/b></a>
		____________________________________
</br>
</br>
	 <a class="new-button fill gray-button" style="width: 240px;" href="javascript:visibilite('tableau_simple6')"><b>Guarda la stanza numero 6</b>/b><i></i>/b></a>
	<a class="new-button fill red-button" style="width: 240px;" href="?do=buy6"><b>Compra la stanza numero 6</b>/b><i></i>/b></a>
		____________________________________
</br>
</br>
 <a class="new-button fill gray-button" style="width: 240px;" href="javascript:visibilite('tableau_simple7')"><b>Guarda la stanza numero 7</b>/b><i></i>/b></a>
	<a class="new-button fill red-button" style="width: 240px;" href="?do=buy7"><b>Compra la stanza numero 7</b>/b><i></i>/b></a>
	
</script> 


            

        </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>
               


    

<footer>

			 			</footer>
    

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


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


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

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

</script>


</body> 
</html> 



