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
*PLEASE* Rev CMS *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="JabHotel" data-source="post: 260265" data-attributes="member: 3090"><p>to be honest with you im not sure what you mean by that, but i checked my CLIENT.PHP and this is the CODE.. Ideas?</p><p></p><p><?php</p><p>////////////////////////////////////////////////////////</p><p>// # TheHabbos Topsites API Script - Release 1.0.3 //</p><p>// # © Copyright TheHabbos 2011. All rights reserved. //</p><p>////////////////////////////////////////////////////////</p><p></p><p>if(!defined('IN_THEHABBOS_API')) {</p><p> die('Sorry, but you can not access this file directly. <img src="/styles/default/xenforo/smilies/emojione/frown.png" class="smilie" loading="lazy" alt=":(" title="Frown :(" data-shortname=":(" />');</p><p>}</p><p></p><p>switch($lookingFor) {</p><p> case 1:</p><p> {</p><p> //what happens if someone does successfully vote</p><p> header("Location: client.php");</p><p> break;</p><p> }</p><p> case 2:</p><p> {</p><p> //what happens if someone has already voted</p><p> header("Location: client.php");</p><p> break;</p><p> }</p><p> case 3:</p><p> {</p><p> //what happens if someone hasn't voted yet</p><p> echo '<div class="contentTitle">Please Vote</div></p><p> It appears that you have not voted yet today! Please click the button below.<br /></p><p> <br /></p><p> <form action="<a href="http://votingapi.com/vote/'.$CONFIG['Username']" target="_blank">http://votingapi.com/vote/'.$CONFIG['Username']</a>.'" method="post"></p><p> <input type="hidden" name="api_url" value="'.$CONFIG['URL'].'" /></p><p> <input class="button" type="submit" name="votingAPI" value="" /></p><p> </form>';</p><p> break;</p><p> }</p><p> case 4:</p><p> case 5:</p><p> {</p><p> //what happens if someone sends an invalid request</p><p> echo $LANG['content'][4].'<br /><br />Click <a href="client.php" style="color: #000000;">here</a> to proceed to the client.';</p><p> break;</p><p> }</p><p> case 6:</p><p> {</p><p> //what happens if thehabbos is down or having connection issues</p><p> header("Location: client.php");</p><p> break;</p><p> }</p><p>}</p></blockquote><p></p>
[QUOTE="JabHotel, post: 260265, member: 3090"] to be honest with you im not sure what you mean by that, but i checked my CLIENT.PHP and this is the CODE.. Ideas? <?php //////////////////////////////////////////////////////// // # TheHabbos Topsites API Script - Release 1.0.3 // // # © Copyright TheHabbos 2011. All rights reserved. // //////////////////////////////////////////////////////// if(!defined('IN_THEHABBOS_API')) { die('Sorry, but you can not access this file directly. :('); } switch($lookingFor) { case 1: { //what happens if someone does successfully vote header("Location: client.php"); break; } case 2: { //what happens if someone has already voted header("Location: client.php"); break; } case 3: { //what happens if someone hasn't voted yet echo '<div class="contentTitle">Please Vote</div> It appears that you have not voted yet today! Please click the button below.<br /> <br /> <form action="[url]http://votingapi.com/vote/'.$CONFIG['Username'][/url].'" method="post"> <input type="hidden" name="api_url" value="'.$CONFIG['URL'].'" /> <input class="button" type="submit" name="votingAPI" value="" /> </form>'; break; } case 4: case 5: { //what happens if someone sends an invalid request echo $LANG['content'][4].'<br /><br />Click <a href="client.php" style="color: #000000;">here</a> to proceed to the client.'; break; } case 6: { //what happens if thehabbos is down or having connection issues header("Location: client.php"); break; } } [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
*PLEASE* Rev CMS *HELP*
Top