Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Server Development
Habbo Retros
Habbo Q&A
Help
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Sujoyy" data-source="post: 24443" data-attributes="member: 2267"><p>Hello guys, I've been trying to edit the normal VIP Page for rps and this is how it turned.</p><p></p><p>[PHP]<?php</p><p>/*================================================================+\</p><p>|| # PHPRetro - An extendable virtual hotel site and management</p><p>|+==================================================================</p><p>|| # Copyright (C) 2009 Yifan Lu. All rights reserved.</p><p>|| # http://www.yifanlu.com</p><p>|| # Parts Copyright (C) 2009 Meth0d. All rights reserved.</p><p>|| # http://www.meth0d.org</p><p>|| # All images, scripts, and layouts</p><p>|| # Copyright (C) 2009 Sulake Ltd. All rights reserved.</p><p>|+==================================================================</p><p>|| # PHPRetro is provided "as is" and comes without</p><p>|| # warrenty of any kind. PHPRetro is free software!</p><p>|| # License: GNU Public License 3.0</p><p>|| # http://opensource.org/licenses/gpl-license.php</p><p>\+================================================================*/</p><p></p><p>$page['allow_guests'] = true;</p><p>require_once('./includes/core.php');</p><p>require_once('./includes/session.php');</p><p>$lang->addLocale("credits.credits");</p><p></p><p>$page['id'] = "vip";</p><p>$page['name'] = "Very Important Pixels";</p><p>$page['bodyid'] = "home";</p><p>$page['cat'] = "home";</p><p>require_once('./templates/community_header.php');</p><p></p><p>//mysql_query("UPDATE rooms SET landscape = '1.1'");</p><p>//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';");</p><p>?></p><p><div id="container"></p><p> <div id="content" style="position: relative" class="clearfix"></p><p> <div id="column1" class="column"></p><p></p><p> <div class="habblet-container "></p><p> <div class="cbb clearfix green "></p><p></p><p> <h2 class="title">NAME VIP</p><p> </h2></p><p></p><p> <script src="<?php echo PATH; ?>/web-gallery/static/js/credits.js" type="text/javascript"></script></p><p><p class="credits-countries-select"></p><p></p></p><p><ul id="credits-methods"></p><p></p><p> <li id="credits-type-quick_and_easy"></p><p> <h4 class="credits-category-quick_and_easy">Exclusive Membership</h4></p><p> <ul></p><p></p><p> <li class="clearfix odd"><div id="method-1" class="credits-method-container"></p><p> <div id="method-full-1" class="credits-method-full"></p><p> <p></p><p> You will recieve the following features as a VIP member:<br /><br></p><p> <b>1.</b> Free access to the Gym<br /></p><p> <b>2.</b> credit taxi fees<br /></p><p> <b>3.</b> Access to the exclusive VIP Gym<br /></p><p> <b>4.</b> Ability to train to strength 13<br /></p><p> <b>5.</b> Ability to train faster<br /></p><p> <b>6.</b> VIP badge<br /></p><p> <b>7.</b> More benefits being developed daily<br /></p><p> <br /><br /></p><p> <b> NAME 1 month: howmuchmoneygoeshere </b></p><p> PayPal code here..</p><p> <br /></p><p> <i>* VIP is NOT automaticly put on to your account, and can take up to 24 hours to recieve.</i></p><p> <br /><br /></p><p> <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></p><p> </center></p><p> </p></p><p> </div></li></p><p> </ul></p><p> </li></p><p></ul></p><p></p><p><script type="text/javascript"></p><p>L10N.put("credits.navi.read_more", "Read more");</p><p>L10N.put("credits.navi.close_fulltext", "Close instructions");</p><p>PaymentMethodHabblet.init();</p><p></script></p><p> </p><p> </p><p> </div></p><p></p><p> </div></p><p> <script type="text/javascript">if (!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script></p><p> </p><p></p><p></div></p><p><div id="column2" class="column"></p><p> <left> </p><p><div></p><p><p class="credits-countries-select"></p><p><?php</p><p> $sql = "SELECT name,mission,rank,lastvisit,figure,sex,id,hbirth,birth,private FROM users WHERE rank = 2 ORDER BY rank DESC";</p><p> $result = mysql_query($sql) OR die(mysql_error());</p><p> if(mysql_num_rows($result)) {</p><p> while($row = mysql_fetch_assoc($result)) {</p><p></p><p> $userid = $row['id'];</p><p> if($row['rank'] == "2")</p><p> {</p><p> $rank="<b/>VIP Members</b>";</p><p> }</p><p></p><p>if($row['private'] == 1)</p><p>{</p><p> $s_username = 'Anonymous';</p><p> $s_mission = 'This member of staff would prefer to remain anonymous.';</p><p> $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';</p><p>}</p><p>else</p><p>{</p><p> $s_username = $row['name'];</p><p> $s_mission = $row['mission'];</p><p> $s_figure = 'http://www.habbo.com/habbo-imaging/avatarimage?figure='.$row['figure'].'&size=b&direction=2&head_direction=3&gesture=sml&size=m';</p><p>}</p><p>echo "<p><img src='".$s_figure."' alt='".$s_username."' align='left' /></p><p><b><a href='home/".$s_username."'>".$s_username."</a></b>&nbsp;<br /></p><p>".$s_mission."<br/></p><p><br /></p><p>Rank: ".$rank."<br /></p><p>Last Visit: ".$row['lastvisit']."<br /></p><p><img src=\"http://images.habbo.com/c_images/album1584/VIP.gif\" /><br /><br /><br /></p>";</p><p> }</p><p>}</p><p>?></p><p> </div></p><p> </p><p> </div></p><p></div></p><p><div id="column2" class="column"></p><p> <div class="habblet-container "></p><p> <div class="cbb clearfix blue "></p><p></p><p> <h2 class="title">Thank You</p><p> </h2></p><p> <div id="purse-habblet"></p><p></p><p><div class="box-content"></p><p><img src="http://images.habbo.com/c_images/album1584/VIP.gif"" align="right"></p><p>These are members of the community who have bought VIP services, and helped keep NAME alive. We truely thank these members.</div></p><p></div></p><p></left></p><p></p><p></p><p> </div></p><p> </div</p><p></p><p></p><p></p><p></p><p> </div></p><p> </div></p><p> <script type="text/javascript">if (!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script></p><p> </div></p><p></div></p><p> </div></p><p> </div></p><p> <script type="text/javascript">if (!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script></p><p> </div></p><p><div></p><p></p><p></p><p></p><p><script type="text/javascript"></p><p>HabboView.run();</p><p></script></p><p><?php require_once('./templates/community_footer.php'); ?>[/PHP]</p><p></p><p></p><p>Can somebody help me with my errors? ;D</p></blockquote><p></p>
[QUOTE="Sujoyy, post: 24443, member: 2267"] 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> <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'); ?>[/PHP] Can somebody help me with my errors? ;D [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
Help
Top