<?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'] = "vip";
$page['name'] = "VIP";
$page['bodyid'] = "home";
$page['cat'] = "home";
require_once('./templates/community_header.php');

//mysql_query("UPDATE rooms SET landscape = '1.1'");
//mysql_query("DELETE FROM furniture WHERE tid = '282' || tid = '281' || tid = '280' || tid = '279' || tid = '278' || tid = '277' || tid = '276' || tid = '275' || tid = '274' || tid = '273';");
?>
<div id="container">
	<div id="content" style="position: relative" class="clearfix">
    <div id="column1" class="column">

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

							<h2 class="title">HabboSL VIP
							</h2>

						<script src="<?php echo PATH; ?>/web-gallery/static/js/credits.js" type="text/javascript"></script>
<p class="credits-countries-select">
</p>
<ul id="credits-methods">

	<li id="credits-type-quick_and_easy">
		<h4 class="credits-category-quick_and_easy">Exclusive Membership</h4>
		<ul>

				<li class="clearfix odd"><div id="method-1" class="credits-method-container">
				<div id="method-full-1" class="credits-method-full">
						<p>
                                                You will recieve the following features as a VIP member:<br /><br>
						<b>1.</b> Free access to the Gym<br />
						<b>2.</b> credit taxi fees<br />
						<b>3.</b> Access to the exclusive VIP Gym<br />
						<b>4.</b> Ability to train to strength 13<br />
						<b>5.</b> Ability to train faster<br />
						<b>6.</b> VIP badge<br />
						<b>7.</b> More benefits being developed daily<br />
						<br /><br />
							<b>HabboSL VIP 1 month: 3$ </b>
                                                        PayPal code here..
                                                        <br />
                                                        <i>* VIP is not automaticly put on to your account, and can take up to 24 hours to recieve.</i>
							<br /><br />
							<strong>When you send money to us via PayPal, it is strictly a donation, and ALL funds go towards the server.<br /><br />We are NOT here for the profit - we are here for the education.</strong>
                                                        </center>
                                                        </p>
				</div></li>
		</ul>
	</li>
</ul>

<script type="text/javascript">
L10N.put("credits.navi.read_more", "Read more");
L10N.put("credits.navi.close_fulltext", "Close instructions");
PaymentMethodHabblet.init();
</script>
	
						
					</div>

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

</div>
<div id="column2" class="column">
			     		
<?php $lang->addLocale("redeem.voucher"); ?>
				<div class="habblet-container ">
						<div class="cbb clearfix blue ">

							<h2 class="title"><?php echo $lang->loc['your.purse']; ?>
							</h2>
						<div id="purse-habblet">
<?php if($user->id > 0){ ?>
	<form method="post" action="<?php echo PATH; ?>/credits" id="voucher-form">

<ul>
    <li class="even icon-purse">
        <div><?php echo $lang->loc['you.have']; ?>:</div>
        <span class="purse-balance-amount"><?php echo $user->user("credits")." ".$lang->loc['coins'];?></span>
        <div class="purse-tx"><a href="<?php echo PATH; ?>/credits/history"><?php echo $lang->loc['transactions']; ?></a></div>
    </li>

    <li class="odd">

        <div class="box-content">
            <div><?php echo $lang->loc['enter.voucher']; ?>:</div>
            <input type="text" name="voucherCode" value="" id="purse-habblet-redeemcode-string" class="redeemcode" />
            <a href="#" id="purse-redeemcode-button" class="new-button purse-icon" style="float:left"><b><span></span><?php echo $lang->loc['redeem']; ?></b><i></i></a>
        </div>
    </li>
</ul>
<div id="purse-redeem-result">
</div>	</form>
<?php }else{ ?>
<div class="box-content"><?php echo $lang->loc['need.logon.purse']; ?></div>
<?php } ?>
</div>

<script type="text/javascript">
	new PurseHabblet();
</script>


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




<script type="text/javascript">
HabboView.run();
</script>
<?php require_once('./templates/community_footer.php'); ?>
