HELP Habbo Index/Me/All pages problem

Caraghhh

Member
Aug 11, 2012
54
1
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>

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
 

Users who are viewing this thread

Top