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 ASAP] Points Shop redirects to /me page [Please!]
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="TinyBuilder" data-source="post: 170924" data-attributes="member: 14249"><p>Index.php:</p><p> </p><p>[PHP]<?php</p><p>define('IN_INDEX', 1);</p><p>require_once 'global.php';</p><p>?></p><p><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"></p><p><html xmlns="http://www.w3.org/1999/xhtml"></p><p><head></p><p><script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.0/jquery.js"></script></p><p><script type="text/javascript" src="js/default.js"></script></p><p><script type="text/javascript" src="js/tipTip.js"></script></p><p><script></p><p>$(function(){</p><p> $(".hover").tipTip();</p><p>});</p><p></script></p><p><link rel="stylesheet" type="text/css" media="screen" href="css/reset.css" /></p><p><link rel="stylesheet" type="text/css" media="screen" href="css/style.css" /></p><p><link href="css/tiptip.css" rel="stylesheet" type="text/css" /></p><p><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /></p><p><title><?php echo $_CONFIG['cms']['name']; ?>: Points Shop</title></p><p></head></p><p><div id="headbox"></p><p><?php if($_SESSION['points']['rank'] >= $_CONFIG['admin']['add']) { echo ' <img src="images/tools.gif" class="hover" title="Tools!" id="tools-button" />'; } ?></p><p><img src="images/coins.png" class="hover" title="You have <b id='amount_points'><?php echo $points->getPoints($_SESSION['points']['id']); ?></b> Points!" /><b id="buymore" class="paypal_button">Buy Points</b></p><p><?php</p><p>if($_CONFIG['daily']['rewards'])</p><p>{</p><p>if(!in_array($_SESSION['points']['id'], $points->getDailyids())) echo '<b id="buymore" class="daily">Daily Reward</b>';</p><p>unset($ids);</p><p>}</p><p>?></p><p><img src="images/exit.png" class="hover" title="Exit the Shop" style="position:absolute; cursor:pointer; right:50px;" onclick="window.location.href='<?php echo $_CONFIG['cms']['url']; ?>'" /></p><p><div id="button"><img id="button_image" src="images/up.png" title="Close" /></div></p><p></div></p><p><div id="headwrap"><img src="images/banner.png" onclick="window.location.href='index.php'" /></div></p><p><div id="content"></p><p> <div class="container"></p><p> <div class="wrapper"></p><p> <div class="grid_24"></p><p> <div id="tools"></p><p> <div id="tools_msg" style="width:125px; display:none;"></div></p><p> <?php if($_SESSION['points']['rank'] >= $_CONFIG['admin']['add']) include 'pages/tools.php'; ?></p><p> </div></p><p> <div id="tools_add"></p><p> Add what ever >.></p><p> </div></p><p> </div></p><p> </div></p><p> </div></p><p></div></p><p><div class="overlay hidden"></p><p> <div class="page hidden"></p><p> <div class="exitbutton"></div></p><p> <div class="loadPage"></p><p> </div></p><p> </div></p><p> </div></p><p><div id="content"></p><p> <div class="container"></p><p> <div class="wrapper"></p><p> <div class="grid_9"></p><p> <div class="indent"></p><p> <?php if($_CONFIG['sell']['vip']){ ?></p><p> <div class="box1"></p><p> <h3>VIP</h3></p><p> <?php include 'pages/vip.php'; ?></p><p> <div style="display:none;" id="msg_vip"></div></p><p> </div></p><p> <?php }</p><p> if($_CONFIG['sell']['credits']){?></p><p> <div class="box1"></p><p> <h3>Credits</h3></p><p> <?php include 'pages/credits.php'; ?></p><p> <div style="display:none;" id="msg_credits"></div></p><p> </div></p><p> <?php }</p><p> if($_CONFIG['sell']['pixels']) { ?></p><p> <div class="box1"></p><p> <h3>Pixels</h3></p><p> <?php include 'pages/pixels.php'; ?></p><p> <div style="display:none;" id="msg_pixels"></div></p><p> </div></p><p> <?php } ?></p><p> </div></p><p> </div></p><p> <div class="grid_8"></p><p> <?php if($_CONFIG['sell']['furni']){ ?></p><p> <div class="box1"></p><p> <h3>Rares</h3></p><p> <?php include 'pages/furni.php'; ?></p><p> <div style="display:none;" id="msg_furni"></div></p><p> </div></p><p> <?php }</p><p> if($_CONFIG['sell']['badges']){ ?></p><p> <div class="box1"></p><p> <h3>Badges</h3></p><p> <?php include 'pages/badges.php'; ?></p><p> <div style="display:none;" id="msg_badge"></div></p><p> </div></p><p> <?php } ?></p><p> </div></p><p> <?php</p><p> if($_CONFIG['sell']['commands']){?></p><p> <div class="grid_7"></p><p> <div class="box1"></p><p> <h3>Commands</h3></p><p> <?php include 'pages/commands.php'; ?></p><p> <div style="display:none;" id="msg_commands"></div></p><p> </div></p><p> </div></p><p> <?php }?></p><p> </div></p><p> </div></p><p></div></p><p> <div class="footer-wrap"></p><p> <footer class="container"></p><p> Points shop by <b><a href="http://www.otaku-studios.com/members/1664831.html">x9751</a></b> @ Otaku-Studios.com &copy; <?php echo $_CONFIG['cms']['name']; ?> Hotel</p><p> </footer></p><p> </div></p><p><body></p><p></body></p><p><script type="text/javascript"></p><p> </p><p></script></p><p></html>[/PHP]</p><p> </p><p></p><p> </p><p> </p><p>A) Yup</p><p>B) Idk about the coding, i didn't code it!</p><p>C) Live Demo: <a href="http://swift-hotel.zapto.org" target="_blank">http://swift-hotel.zapto.org</a>[DOUBLEPOST=1357734949,1357734891][/DOUBLEPOST]</p><p> </p><p>Yeah my hotel's URL is in the config.</p></blockquote><p></p>
[QUOTE="TinyBuilder, post: 170924, member: 14249"] Index.php: [PHP]<?php define('IN_INDEX', 1); require_once 'global.php'; ?> <!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"> <head> <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.0/jquery.js"></script> <script type="text/javascript" src="js/default.js"></script> <script type="text/javascript" src="js/tipTip.js"></script> <script> $(function(){ $(".hover").tipTip(); }); </script> <link rel="stylesheet" type="text/css" media="screen" href="css/reset.css" /> <link rel="stylesheet" type="text/css" media="screen" href="css/style.css" /> <link href="css/tiptip.css" rel="stylesheet" type="text/css" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title><?php echo $_CONFIG['cms']['name']; ?>: Points Shop</title> </head> <div id="headbox"> <?php if($_SESSION['points']['rank'] >= $_CONFIG['admin']['add']) { echo ' <img src="images/tools.gif" class="hover" title="Tools!" id="tools-button" />'; } ?> <img src="images/coins.png" class="hover" title="You have <b id='amount_points'><?php echo $points->getPoints($_SESSION['points']['id']); ?></b> Points!" /><b id="buymore" class="paypal_button">Buy Points</b> <?php if($_CONFIG['daily']['rewards']) { if(!in_array($_SESSION['points']['id'], $points->getDailyids())) echo '<b id="buymore" class="daily">Daily Reward</b>'; unset($ids); } ?> <img src="images/exit.png" class="hover" title="Exit the Shop" style="position:absolute; cursor:pointer; right:50px;" onclick="window.location.href='<?php echo $_CONFIG['cms']['url']; ?>'" /> <div id="button"><img id="button_image" src="images/up.png" title="Close" /></div> </div> <div id="headwrap"><img src="images/banner.png" onclick="window.location.href='index.php'" /></div> <div id="content"> <div class="container"> <div class="wrapper"> <div class="grid_24"> <div id="tools"> <div id="tools_msg" style="width:125px; display:none;"></div> <?php if($_SESSION['points']['rank'] >= $_CONFIG['admin']['add']) include 'pages/tools.php'; ?> </div> <div id="tools_add"> Add what ever >.> </div> </div> </div> </div> </div> <div class="overlay hidden"> <div class="page hidden"> <div class="exitbutton"></div> <div class="loadPage"> </div> </div> </div> <div id="content"> <div class="container"> <div class="wrapper"> <div class="grid_9"> <div class="indent"> <?php if($_CONFIG['sell']['vip']){ ?> <div class="box1"> <h3>VIP</h3> <?php include 'pages/vip.php'; ?> <div style="display:none;" id="msg_vip"></div> </div> <?php } if($_CONFIG['sell']['credits']){?> <div class="box1"> <h3>Credits</h3> <?php include 'pages/credits.php'; ?> <div style="display:none;" id="msg_credits"></div> </div> <?php } if($_CONFIG['sell']['pixels']) { ?> <div class="box1"> <h3>Pixels</h3> <?php include 'pages/pixels.php'; ?> <div style="display:none;" id="msg_pixels"></div> </div> <?php } ?> </div> </div> <div class="grid_8"> <?php if($_CONFIG['sell']['furni']){ ?> <div class="box1"> <h3>Rares</h3> <?php include 'pages/furni.php'; ?> <div style="display:none;" id="msg_furni"></div> </div> <?php } if($_CONFIG['sell']['badges']){ ?> <div class="box1"> <h3>Badges</h3> <?php include 'pages/badges.php'; ?> <div style="display:none;" id="msg_badge"></div> </div> <?php } ?> </div> <?php if($_CONFIG['sell']['commands']){?> <div class="grid_7"> <div class="box1"> <h3>Commands</h3> <?php include 'pages/commands.php'; ?> <div style="display:none;" id="msg_commands"></div> </div> </div> <?php }?> </div> </div> </div> <div class="footer-wrap"> <footer class="container"> Points shop by <b><a href="http://www.otaku-studios.com/members/1664831.html">x9751</a></b> @ Otaku-Studios.com © <?php echo $_CONFIG['cms']['name']; ?> Hotel </footer> </div> <body> </body> <script type="text/javascript"> </script> </html>[/PHP] A) Yup B) Idk about the coding, i didn't code it! C) Live Demo: [url]http://swift-hotel.zapto.org[/url][DOUBLEPOST=1357734949,1357734891][/DOUBLEPOST] Yeah my hotel's URL is in the config. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
[Help ASAP] Points Shop redirects to /me page [Please!]
Top