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 Habbo Index/Me/All pages problem
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="Caraghhh" data-source="post: 172665" data-attributes="member: 20471"><p>okay so, When I go onto my retro I get this thing that comes on the screen saying I haven't voted for the hotel, I click vote and it just comes up again and wont go away, I managed to register by changing the url to /register and I registered and its on the 'me' page and all other pages</p><p> </p><p>its not the habbos.api</p><p>its retro-topsites/retro-source, anyone know how to get it away?</p><p> </p><p>index.php</p><p>[PHP]<!DOCTYPE html></p><p><html></p><p> <head></p><p> <script src="../cdn.optimizely.com/js/63781736.js"></script></p><p> <title>{hotelname} - Login</title> <title>{hotelname} - Login</title></p><p> <link rel="stylesheet" type="text/css" href="login/index.css"/></p><p> <link rel="stylesheet" type="text/css" href="login/fuente/index.css"/></p><p> <link href="favicon.ico" rel="icon" type="image/x-icon" /></p><p> <link rel="stylesheet" type="text/css" href="fancybox/jquery.fancybox-1.3.4.css" media="screen" /></p><p> </p><p> <!-- Index coded for Habulo.us & hNetwork --></p><p> <!-- Designed by inHabbo & Coded by Kris (KrisSales.Com)--></p><p> <!-- All Rights Reserved --></p><p> </p><p> <!-- favicon apple touch icon --></p><p> <link rel="shortcut icon" href="app/tpl/skins/Habbo/static/images/favicon.gif" /></p><p> <link rel="apple-touch-icon" href="app/tpl/skins/Habbo/static/images/logo-small-white.png" /></p><p> </p><p><!-- javascript --></p><p> <script type="text/javascript" src="../svn/trunk/html5.js"></script></p><p> <script type="text/javascript" src="../ajax/libs/jquery/1/jquery.min.js"></script></p><p> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script></p><p> <script>!window.jQuery && document.write('<script src="fancybox/jquery-1.4.3.min.js"><\/script>');</script></p><p> <script type="text/javascript" src="http://pcapr.googlecode.com/svn-history/r75/trunk/script/fancybox/jquery.fancybox-1.3.4.pack.js"></script></p><p> </p><p><script type="text/javascript"></p><p> document.habboLoggedIn = true;</p><p> var habboName = null;</p><p> var habboId = null;</p><p> var habboReqPath = "";</p><p> var habboStaticFilePath = "{url}/app/tpl/skins/Habbo";</p><p> var habboImagerUrl = "http://www.habbo.com/habbo-imaging/";</p><p> var habboPartner = "";</p><p> var habboDefaultClientPopupUrl = "{url}/vote.php";</p><p> window.name = "habboMain";</p><p> if (typeof HabboClient != "undefined") {</p><p> HabboClient.windowName = "client";</p><p> HabboClient.maximizeWindow = true;</p><p> }</p><p> </script></p><p> <script type="text/javascript"></p><p> jQuery(document).ajaxSend(function(event, xhr, settings) {</p><p> function getCookie(name) {</p><p> var cookieValue = null;</p><p> if (document.cookie && document.cookie != '') {</p><p> var cookies = document.cookie.split(';');</p><p> for (var i = 0; i < cookies.length; i++) {</p><p> var cookie = jQuery.trim(cookies[i]);</p><p> // Does this cookie string begin with the name we want?</p><p> if (cookie.substring(0, name.length + 1) == (name + '=')) {</p><p> cookieValue = decodeURIComponent(cookie.substring(name.length + 1));</p><p> break;</p><p> }</p><p> }</p><p> }</p><p> return cookieValue;</p><p> }</p><p> function sameOrigin(url) {</p><p> // url could be relative or scheme relative or absolute</p><p> var host = document.location.host; // host + port</p><p> var protocol = document.location.protocol;</p><p> var sr_origin = '//' + host;</p><p> var origin = protocol + sr_origin;</p><p> // Allow absolute or scheme relative URLs to same origin</p><p> return (url == origin || url.slice(0, origin.length + 1) == origin + '/') ||</p><p> (url == sr_origin || url.slice(0, sr_origin.length + 1) == sr_origin + '/') ||</p><p> // or any other URL that isn't scheme relative or absolute i.e relative.</p><p> !(/^(\/\/|http:|https:).*/.test(url));</p><p> }</p><p> function safeMethod(method) {</p><p> return (/^(GET|HEAD|OPTIONS|TRACE)$/.test(method));</p><p> }</p><p> </p><p> if (!safeMethod(settings.type) && sameOrigin(settings.url)) {</p><p> xhr.setRequestHeader("X-CSRFToken", getCookie('csrftoken'));</p><p> }</p><p> });</p><p> </script></p><p> </p><p><script type="text/javascript"></p><p> $(document).ready(function() {</p><p> </p><p> $("#tos").fancybox({</p><p> 'width' : '75%',</p><p> 'height' : '75%',</p><p> 'autoScale' : false,</p><p> 'transitionIn' : 'none',</p><p> 'transitionOut' : 'none',</p><p> 'type' : 'iframe'</p><p> });</p><p> $("#refund").fancybox({</p><p> 'width' : '75%',</p><p> 'height' : '75%',</p><p> 'autoScale' : false,</p><p> 'transitionIn' : 'none',</p><p> 'transitionOut' : 'none',</p><p> 'type' : 'iframe'</p><p> });</p><p> $("#dis").fancybox({</p><p> 'width' : '75%',</p><p> 'height' : '75%',</p><p> 'autoScale' : false,</p><p> 'transitionIn' : 'none',</p><p> 'transitionOut' : 'none',</p><p> 'type' : 'iframe'</p><p> });</p><p> </p><p> });</p><p> </script></p><p> </p><p><script type="text/javascript" src="app/tpl/skins/Habbo/static/js/jquery-ui-1.8.20.custom.min.js"></script></p><p> <script type="text/javascript" src="app/tpl/skins/Habbo/static/js/jquery.countdown.pack.js"></script></p><p> <script type="text/javascript" src="app/tpl/skins/Habbo/static/js/habbo.js"></script></p><p> </p><p><script type="text/javascript" src="app/tpl/skins/Habbo/static/js/jquery.countdown.pack.js"></script></p><p><script type="text/javascript"></p><p>$(document).ready(function(){</p><p> </p><p> </p><p> // Terms Dialog</p><p> $('#terms-dialog').dialog({</p><p> autoOpen: false,</p><p> width: 420,</p><p> modal: true,</p><p> dialogClass: 'terms-dialog',</p><p> open: function(event, ui) {</p><p> _gaq.push(['_trackEvent', 'Dialog', 'Terms']);</p><p> }</p><p> });</p><p> </p><p> // terms Link</p><p> $('.terms_link').click(function(){</p><p> $('#terms-dialog').dialog('open');</p><p> return false;</p><p> });</p><p> </p><p> // Privacy Dialog</p><p> $('#privacy-dialog').dialog({</p><p> autoOpen: false,</p><p> width: 420,</p><p> modal: true,</p><p> dialogClass: 'terms-dialog',</p><p> open: function(event, ui) {</p><p> _gaq.push(['_trackEvent', 'Dialog', 'Privacy policy']);</p><p> }</p><p> });</p><p> </p><p> // privacy Link</p><p> $('.privacy_link').click(function(){</p><p> $('#privacy-dialog').dialog('open');</p><p> return false;</p><p> });</p><p> </p><p> // Underage Dialog</p><p> $('#underage-dialog').dialog({</p><p> autoOpen: false,</p><p> width: 329,</p><p> modal: true,</p><p> dialogClass: 'terms-dialog underage-dialog'</p><p> });</p><p> </p><p> $('#close-underage-dialog').click(function(event){</p><p> event.preventDefault();</p><p> $('#underage-dialog').dialog('close');</p><p> });</p><p> </p><p> </p><p> /* default register */</p><p> $('#submit_signup').click(function(event) {</p><p> event.preventDefault();</p><p> </p><p> regManager.register('default');</p><p> });</p><p> </p><p> /* hande agree checkbox */</p><p> var checkboxes = $('.checkbox');</p><p> </p><p> for(var i=0;i<checkboxes.length;i++){</p><p> if ($(checkboxes[i]).children("input").is(':checked')){</p><p> $(checkboxes[i]).addClass("checked");</p><p> }</p><p> }</p><p> </p><p> $(".checkbox").click(function(){</p><p> if($(this).children("input").is(':checked')){</p><p> // uncheck</p><p> $(this).children("input").removeAttr('checked');</p><p> $(this).removeClass("checked");</p><p> }else{</p><p> // check</p><p> $(this).children("input").attr('checked','checked');</p><p> $(this).addClass("checked");</p><p> }</p><p> });</p><p> </p><p> /* initial input texts */</p><p> emailInitialTxt = '';</p><p> birthdayInitialDay = 'Gün';</p><p> birthdayInitialMonth = 'Ay';</p><p> birthdayInitialYear = 'Yil';</p><p> </p><p> /* input texts */</p><p> $("#bday_day").click(function() {</p><p> if($(this).val() == birthdayInitialDay) {</p><p> $(this).val('');</p><p> }</p><p> $(this).removeClass('input-error');</p><p> });</p><p> $('#bday_day').blur(function() {</p><p> if($(this).val() == ''){</p><p> $(this).val(birthdayInitialDay);</p><p> }</p><p> });</p><p> </p><p> $("#bday_month").click(function() {</p><p> if($(this).val() == birthdayInitialMonth) {</p><p> $(this).val('');</p><p> }</p><p> $(this).removeClass('input-error');</p><p> });</p><p> $('#bday_month').blur(function() {</p><p> if($(this).val() == ''){</p><p> $(this).val(birthdayInitialMonth);</p><p> }</p><p> });</p><p> </p><p> $("#bday_year").click(function() {</p><p> if($(this).val() == birthdayInitialYear) {</p><p> $(this).val('');</p><p> }</p><p> $(this).removeClass('input-error');</p><p> });</p><p> $('#bday_year').blur(function() {</p><p> if($(this).val() == ''){</p><p> $(this).val(birthdayInitialYear);</p><p> }</p><p> });</p><p>});</p><p></script></p><p> </p><p> </p><p><script type="text/javascript" ></p><p> ASSET_URL = '/static/assets';</p><p> staticUrl = '/static/';</p><p> </p><p> defaultError = 'Please use the correct login.';</p><p> </p><p> $(document).ready(function() {</p><p> /* input info texts */</p><p> </p><p> $("#id_email, .email_invitation").click(function() {</p><p> if($(this).val() == emailInitialTxt) {</p><p> $(this).val('');</p><p> }</p><p> $(this).removeClass('input-error');</p><p> });</p><p> $('#id_email, .email_invitation').blur(function() {</p><p> if($(this).val() == ''){</p><p> $(this).val(emailInitialTxt);</p><p> }</p><p> });</p><p> </p><p> /* fade errors */</p><p> $('.error-container').live("hover", function(){</p><p> $(this).fadeOut();</p><p> });</p><p> </p><p> });</p><p> </script></p><p> </p><p> </p><p> <!-- GOOGLE ANALYTCS --></p><p> <script type="text/javascript"></p><p> </p><p> var _gaq = _gaq || [];</p><p> _gaq.push(['_setAccount', 'UA-448325-50']);</p><p> _gaq.push(['_trackPageview']);</p><p> </p><p> (function() {</p><p> var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;</p><p> ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';</p><p> var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);</p><p> })();</p><p> </p><p> </script></p><p> </p><p></head></p><p> </p><p> <body></p><p> </p><p> <script src=""></script></p><p> </p><p> <?php if(isset($template->form->error)) { echo '<div id="mal">'.$template->form->error.'</div>'; } ?></p><p> </p><p> <div id="header"></p><p> </p><p> </p><p> <form id="loginformitem" name="loginformitem" method="post"></p><p><?php if(isset($template->form->error)) { ?></p><p> <?php } ?></p><p> <img src="login/img/usuario.gif" alt=""> <input type="text" class="area" name="log_username" id="username" placeholder="Username" required autofocus></p><p> </p><p> <img src="login/img/clave.gif" alt=""> <input type="password" class="area" name="log_password" id="password" placeholder="Password" required></p><p> </p><p> <?php echo $template->form->error; ?></p><p> </p><p> <input type="submit" class="boton" value="Login" name="login"></p><p> </p><p> <span class="usuario"><strong>{online}</strong> Users Online l <strong><?php $users = mysql_query("SELECT * FROM users "); $teller = mysql_num_rows($users); ?></p><p><?php echo $teller; ?></strong> Registered Users</span></p><p> </p><p> </form></p><p> </p><p> <script type="text/javascript"></p><p> HabboView.add(function() {</p><p> LandingPage.init();</p><p> if (!LandingPage.focusForced) {</p><p> LandingPage.fieldFocus('login-username');</p><p> }</p><p> });</p><p> </script></p><p> </div></p><p> </p><p> <div class="logo"></div></p><p> </p><p> <div id="general"></p><p> <a href="/register"></p><p> <div id="registro"></p><p> <h1>Join Now</h1></p><p> <h2>to begin your fun!</h2></p><p> </div></p><p> </a></p><p> </div></p><p> </p><p></div></p><p> <!--[if lt IE 7]></p><p><script type="text/javascript"></p><p>Pngfix.doPngImageFix();</p><p></script></p><p><![endif]--></p><p></div></p><p> <?php include_once('footer.php'); ?> </p><p> <?php include_once('checktheban.php'); ?></p><p> </body>[/PHP]</p><p> </p><p>is there a line or something I should take out?? I tried looking for a line with the work retro etc but couldn't find any with ctrl+f etc</p></blockquote><p></p>
[QUOTE="Caraghhh, post: 172665, member: 20471"] okay so, When I go onto my retro I get this thing that comes on the screen saying I haven't voted for the hotel, I click vote and it just comes up again and wont go away, I managed to register by changing the url to /register and I registered and its on the 'me' page and all other pages its not the habbos.api its retro-topsites/retro-source, anyone know how to get it away? index.php [PHP]<!DOCTYPE html> <html> <head> <script src="../cdn.optimizely.com/js/63781736.js"></script> <title>{hotelname} - Login</title> <title>{hotelname} - Login</title> <link rel="stylesheet" type="text/css" href="login/index.css"/> <link rel="stylesheet" type="text/css" href="login/fuente/index.css"/> <link href="favicon.ico" rel="icon" type="image/x-icon" /> <link rel="stylesheet" type="text/css" href="fancybox/jquery.fancybox-1.3.4.css" media="screen" /> <!-- Index coded for Habulo.us & hNetwork --> <!-- Designed by inHabbo & Coded by Kris (KrisSales.Com)--> <!-- All Rights Reserved --> <!-- favicon apple touch icon --> <link rel="shortcut icon" href="app/tpl/skins/Habbo/static/images/favicon.gif" /> <link rel="apple-touch-icon" href="app/tpl/skins/Habbo/static/images/logo-small-white.png" /> <!-- javascript --> <script type="text/javascript" src="../svn/trunk/html5.js"></script> <script type="text/javascript" src="../ajax/libs/jquery/1/jquery.min.js"></script> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script> <script>!window.jQuery && document.write('<script src="fancybox/jquery-1.4.3.min.js"><\/script>');</script> <script type="text/javascript" src="http://pcapr.googlecode.com/svn-history/r75/trunk/script/fancybox/jquery.fancybox-1.3.4.pack.js"></script> <script type="text/javascript"> document.habboLoggedIn = true; var habboName = null; var habboId = null; var habboReqPath = ""; var habboStaticFilePath = "{url}/app/tpl/skins/Habbo"; var habboImagerUrl = "http://www.habbo.com/habbo-imaging/"; var habboPartner = ""; var habboDefaultClientPopupUrl = "{url}/vote.php"; window.name = "habboMain"; if (typeof HabboClient != "undefined") { HabboClient.windowName = "client"; HabboClient.maximizeWindow = true; } </script> <script type="text/javascript"> jQuery(document).ajaxSend(function(event, xhr, settings) { function getCookie(name) { var cookieValue = null; if (document.cookie && document.cookie != '') { var cookies = document.cookie.split(';'); for (var i = 0; i < cookies.length; i++) { var cookie = jQuery.trim(cookies[i]); // Does this cookie string begin with the name we want? if (cookie.substring(0, name.length + 1) == (name + '=')) { cookieValue = decodeURIComponent(cookie.substring(name.length + 1)); break; } } } return cookieValue; } function sameOrigin(url) { // url could be relative or scheme relative or absolute var host = document.location.host; // host + port var protocol = document.location.protocol; var sr_origin = '//' + host; var origin = protocol + sr_origin; // Allow absolute or scheme relative URLs to same origin return (url == origin || url.slice(0, origin.length + 1) == origin + '/') || (url == sr_origin || url.slice(0, sr_origin.length + 1) == sr_origin + '/') || // or any other URL that isn't scheme relative or absolute i.e relative. !(/^(\/\/|http:|https:).*/.test(url)); } function safeMethod(method) { return (/^(GET|HEAD|OPTIONS|TRACE)$/.test(method)); } if (!safeMethod(settings.type) && sameOrigin(settings.url)) { xhr.setRequestHeader("X-CSRFToken", getCookie('csrftoken')); } }); </script> <script type="text/javascript"> $(document).ready(function() { $("#tos").fancybox({ 'width' : '75%', 'height' : '75%', 'autoScale' : false, 'transitionIn' : 'none', 'transitionOut' : 'none', 'type' : 'iframe' }); $("#refund").fancybox({ 'width' : '75%', 'height' : '75%', 'autoScale' : false, 'transitionIn' : 'none', 'transitionOut' : 'none', 'type' : 'iframe' }); $("#dis").fancybox({ 'width' : '75%', 'height' : '75%', 'autoScale' : false, 'transitionIn' : 'none', 'transitionOut' : 'none', 'type' : 'iframe' }); }); </script> <script type="text/javascript" src="app/tpl/skins/Habbo/static/js/jquery-ui-1.8.20.custom.min.js"></script> <script type="text/javascript" src="app/tpl/skins/Habbo/static/js/jquery.countdown.pack.js"></script> <script type="text/javascript" src="app/tpl/skins/Habbo/static/js/habbo.js"></script> <script type="text/javascript" src="app/tpl/skins/Habbo/static/js/jquery.countdown.pack.js"></script> <script type="text/javascript"> $(document).ready(function(){ // Terms Dialog $('#terms-dialog').dialog({ autoOpen: false, width: 420, modal: true, dialogClass: 'terms-dialog', open: function(event, ui) { _gaq.push(['_trackEvent', 'Dialog', 'Terms']); } }); // terms Link $('.terms_link').click(function(){ $('#terms-dialog').dialog('open'); return false; }); // Privacy Dialog $('#privacy-dialog').dialog({ autoOpen: false, width: 420, modal: true, dialogClass: 'terms-dialog', open: function(event, ui) { _gaq.push(['_trackEvent', 'Dialog', 'Privacy policy']); } }); // privacy Link $('.privacy_link').click(function(){ $('#privacy-dialog').dialog('open'); return false; }); // Underage Dialog $('#underage-dialog').dialog({ autoOpen: false, width: 329, modal: true, dialogClass: 'terms-dialog underage-dialog' }); $('#close-underage-dialog').click(function(event){ event.preventDefault(); $('#underage-dialog').dialog('close'); }); /* default register */ $('#submit_signup').click(function(event) { event.preventDefault(); regManager.register('default'); }); /* hande agree checkbox */ var checkboxes = $('.checkbox'); for(var i=0;i<checkboxes.length;i++){ if ($(checkboxes[i]).children("input").is(':checked')){ $(checkboxes[i]).addClass("checked"); } } $(".checkbox").click(function(){ if($(this).children("input").is(':checked')){ // uncheck $(this).children("input").removeAttr('checked'); $(this).removeClass("checked"); }else{ // check $(this).children("input").attr('checked','checked'); $(this).addClass("checked"); } }); /* initial input texts */ emailInitialTxt = ''; birthdayInitialDay = 'Gün'; birthdayInitialMonth = 'Ay'; birthdayInitialYear = 'Yil'; /* input texts */ $("#bday_day").click(function() { if($(this).val() == birthdayInitialDay) { $(this).val(''); } $(this).removeClass('input-error'); }); $('#bday_day').blur(function() { if($(this).val() == ''){ $(this).val(birthdayInitialDay); } }); $("#bday_month").click(function() { if($(this).val() == birthdayInitialMonth) { $(this).val(''); } $(this).removeClass('input-error'); }); $('#bday_month').blur(function() { if($(this).val() == ''){ $(this).val(birthdayInitialMonth); } }); $("#bday_year").click(function() { if($(this).val() == birthdayInitialYear) { $(this).val(''); } $(this).removeClass('input-error'); }); $('#bday_year').blur(function() { if($(this).val() == ''){ $(this).val(birthdayInitialYear); } }); }); </script> <script type="text/javascript" > ASSET_URL = '/static/assets'; staticUrl = '/static/'; defaultError = 'Please use the correct login.'; $(document).ready(function() { /* input info texts */ $("#id_email, .email_invitation").click(function() { if($(this).val() == emailInitialTxt) { $(this).val(''); } $(this).removeClass('input-error'); }); $('#id_email, .email_invitation').blur(function() { if($(this).val() == ''){ $(this).val(emailInitialTxt); } }); /* fade errors */ $('.error-container').live("hover", function(){ $(this).fadeOut(); }); }); </script> <!-- GOOGLE ANALYTCS --> <script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-448325-50']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); </script> </head> <body> <script src=""></script> <?php if(isset($template->form->error)) { echo '<div id="mal">'.$template->form->error.'</div>'; } ?> <div id="header"> <form id="loginformitem" name="loginformitem" method="post"> <?php if(isset($template->form->error)) { ?> <?php } ?> <img src="login/img/usuario.gif" alt=""> <input type="text" class="area" name="log_username" id="username" placeholder="Username" required autofocus> <img src="login/img/clave.gif" alt=""> <input type="password" class="area" name="log_password" id="password" placeholder="Password" required> <?php echo $template->form->error; ?> <input type="submit" class="boton" value="Login" name="login"> <span class="usuario"><strong>{online}</strong> Users Online l <strong><?php $users = mysql_query("SELECT * FROM users "); $teller = mysql_num_rows($users); ?> <?php echo $teller; ?></strong> Registered Users</span> </form> <script type="text/javascript"> HabboView.add(function() { LandingPage.init(); if (!LandingPage.focusForced) { LandingPage.fieldFocus('login-username'); } }); </script> </div> <div class="logo"></div> <div id="general"> <a href="/register"> <div id="registro"> <h1>Join Now</h1> <h2>to begin your fun!</h2> </div> </a> </div> </div> <!--[if lt IE 7]> <script type="text/javascript"> Pngfix.doPngImageFix(); </script> <![endif]--> </div> <?php include_once('footer.php'); ?> <?php include_once('checktheban.php'); ?> </body>[/PHP] is there a line or something I should take out?? I tried looking for a line with the work retro etc but couldn't find any with ctrl+f etc [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
HELP Habbo Index/Me/All pages problem
Top