Help

Sujoyy

Member
Jan 21, 2011
147
1
Hello guys, I've been trying to edit the normal VIP Page for rps and this is how it turned.

PHP:
<?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'] = "Very Important Pixels";
$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">NAME 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> NAME 1 month: howmuchmoneygoeshere </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 to make your life better and to teach you what you should do and shouldn't do.</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">
	<left>		     		
<div>
<p class="credits-countries-select">
<?php
    $sql = "SELECT name,mission,rank,lastvisit,figure,sex,id,hbirth,birth,private FROM users WHERE rank = 2 ORDER BY rank DESC";
    $result = mysql_query($sql) OR die(mysql_error());
    if(mysql_num_rows($result)) {
        while($row = mysql_fetch_assoc($result)) {

		$userid = $row['id'];
                if($row['rank'] == "2")
		{
		$rank="<b/>VIP Members</b>";
		}

if($row['private'] == 1)
{
  $s_username = 'Anonymous';
  $s_mission = 'This member of staff would prefer to remain anonymous.';
  $s_figure = 'http://www.habbo.com/habbo-imaging/avatarimage?figure=ha-1015-.hd-180-1.ch-210-66.lg-270-81.sh-290-80.hr-100-&size=b&direction=2&head_direction=3&gesture=sml&size=m';
}
else
{
  $s_username = $row['name'];
  $s_mission = $row['mission'];
  $s_figure = 'http://www.habbo.com/habbo-imaging/avatarimage?figure='.$row['figure'].'&size=b&direction=2&head_direction=3&gesture=sml&size=m';
}
echo "<p><img src='".$s_figure."' alt='".$s_username."' align='left' />
<b><a href='home/".$s_username."'>".$s_username."</a></b>&nbsp;<br />
".$s_mission."<br/>
<br />
Rank: ".$rank."<br />
Last Visit: ".$row['lastvisit']."<br />
<img src=\"http://images.habbo.com/c_images/album1584/VIP.gif\" /><br /><br /><br /></p>";
        }
}
?>
					</div>
						
				</div>
</div>
<div id="column2" class="column">
				<div class="habblet-container ">
						<div class="cbb clearfix blue ">

							<h2 class="title">Thank You
							</h2>
						<div id="purse-habblet">

<div class="box-content">
<img src="http://images.habbo.com/c_images/album1584/VIP.gif"" align="right">
These are members of the community who have bought VIP services, and helped keep NAME alive. We truely thank these members.</div>
</div>
</left>


					</div>
				</div




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



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


Can somebody help me with my errors? ;D
 

Users who are viewing this thread

Top