Index Page - Messed Up

Flint

http://Dusk-Hotel.com
Jul 10, 2012
464
48
Hey Guys!
Well my brother was logging into my hotel and the index apge was fucked...
So please help!!!!
what it looks like

Thanks

My Index Page:

Code:
<!DOCTYPE html>
<html lang="en">
    <head>
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
    <?require_once "sql_inject.php";
$bDestroy_session = TRUE;
$url_redirect = 'index.php';
$sqlinject = new sql_inject('./log_file_sql.log',$bDestroy_session,$url_redirect); ?>
 
 
<script type="text/javascript">
           
    var id = 25;
           
    $(document).ready(function(){
          $.getJSON("http://*****.com/index.php?page=vote", { id: id, hasVoted: 'unknown' }, function(data) {
              if(data == 2) {
                    window.location.replace("http://*****.com/index.php?page=vote&id=" + id);
              }
          });
    });
           
</script>
                   
        <meta http-equiv="content-type" content="text/html; charset=utf-8">
        <title>{hotelName} - Your Own Little World!</title>
       
       
        <link rel="stylesheet" href="{url}/app/tpl/skins/Habbo/styles/frontpage.css" type="text/css">
        <script type="text/javascript" src="{url}/app/tpl/skins/Habbo/js/libs2.js"></script>
        <script type="text/javascript" src="{url}/app/tpl/skins/Habbo/js/landing.js"></script>
        <link rel="shortcut icon" href="{url}/favicon.ico" type="image/vnd.microsoft.icon" /><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.fr/habbo-imaging/";
            var habboPartner = "";
            var habboDefaultClientPopupUrl = "{url}/client";
            window.name = "habboMain";
            if (typeof HabboClient != "undefined") {
                HabboClient.windowName = "client";
                HabboClient.maximizeWindow = true;
            }
        </script>
       
        <style type="text/css">
            body {
                background-color: #000000;
            }
            #footer .footer-links  { color: #666666; }
            #footer .footer-links a { color: #ffffff; }
            #footer .copyright      { color: #666666; }
            #footer #compact-tags-container span, #footer #compact-tags-container a { color: #333333; }
           
            input[type="submit"] {
                background: url('{url}/app/tpl/skins/Habbo/images/lgn_btn.png') top;
                font: bold 13px arial,sans-serif;
                line-height: 33px;
                color: white;
                height: 33px;
                width: 96px;
                border: 0;
            }
            input[type="submit"]:hover {
                background-position: bottom;
                cursor: pointer;
            }
        </style>
       
        <!--[if IE 8]>
            <link rel="stylesheet" href="{url}/app/tpl/skins/Habbo/styles/ie8.css" type="text/css">
        <![endif]-->
        <!--[if lt IE 8]>
            <link rel="stylesheet" href="{url}/app/tpl/skins/Habbo/styles/ie.css" type="text/css" />
        <![endif]-->
        <!--[if lt IE 7]>
            <link rel="stylesheet" href="{url}/app/tpl/skins/Habbo/styles/ie6.css" type="text/css" />
            <script type="text/javascript" src="{url}/app/tpl/skins/Habbo/js/pngfix.js"></script>
            <script type="text/javascript">
                try { document.execCommand('BackgroundImageCache', false, true); } catch(e) {}
            </script>
            <style type="text/css">
                body { behavior: url({url}/app/tpl/skins/Habbo/js/csshover.htc); }
            </style>
        <![endif]-->
    </head>
   
    <body id="frontpage">
   
        <div id="overlay"></div>
        <div id="site-header">
            <form id="loginformitem" name="loginformitem" method="post">
                <?php if(isset($template->form->error)) { ?>
                    <div id="loginerrorfieldwrapper">
                        <div id="loginerrorfield">
                            <div><?php echo $template->form->error; ?></div>
                        </div>
                    </div>
                <?php } ?>
                <div style="clear: both;"></div>
                <div id="site-header-content">
                    <div id="habbo-logo"></div>
                    <div id="login-form">
                        <div id="login-form-email">
                            <label for="login-username" class="login-text">Username :</label>
                            <input tabindex="3" type="text" class="login-field" name="log_username" id="login-username" value="" maxlength="48">
                        </div>
                        <div id="login-form-password">
                            <label for="login-password" class="login-text">Password :</label>
                            <input tabindex="4" type="password" class="login-field" name="log_password" id="login-password" maxlength="32">
                        </div>
                        <div id="login-form-submit">
                            <input type="submit" value="Login" name="login">
                        </div>
                    </div>
                    <script type="text/javascript">
                        HabboView.add(function() {
                            LandingPage.init();
                            if (!LandingPage.focusForced) {
                                LandingPage.fieldFocus('login-username');
                            }
                        });
                    </script>
                </div>
            </form>
        </div>
        <div id="fp-container">
            <div id="content">
                <div id="column1" class="column">
                    <div class="habblet-container ">       
                        <div style="width: 890px; margin: 0 auto">
                            <div id="tagline">Bubble Hotel - Your Own Little World!</div>
                        </div>
                        <div id="frontpage-image-container">
                            <div id="join-now-button-container">
                                <div id="join-now-button-wrapper-fb">
                                    <div class="join-now-alternative">&nbsp;</div>
                                    <div class="join-now-button">
                                        <a class="join-now-link" href="http://facebook.com/TheConverseHotel" onclick="assistedLogin(FB); return false;">
                                            <span class="join-now-text-big">Follow Converse</span>
                                            <span class="join-now-text-small">on<span class="fbword">Facebook</span></span>
                                        </a>
                                        <span class="close"></span>
                                    </div>
                                </div>
                                <div id="join-now-button-wrapper">
                                    <div class="join-now-alternative">
                                        <a href="{url}/register" class="newusers" onclick="startRegistration(this); return false;"><b>Your First Time?</b><span style="color: #8f8f8f;">Click Below To:</span></a>
                                    </div>
                                    <div class="join-now-button">
                                        <a class="join-now-link" id="register-link" href="{url}/register" onclick="startRegistration(this); return false;">
                                            <span class="join-now-text-big">Join Us</span>
                                            <span class="join-now-text-small">For Free</span>
                                        </a>
                                        <span class="close"></span>
                                    </div>
                                </div>
                            </div>
                            <script type="text/javascript">
                                function startRegistration(elem) {
                                    targetUrl = elem.href;
                                    if (typeof targetUrl == "undefined") {
                                        targetUrl = "{url}/register";
                                    }
                                    window.location.href = targetUrl;
                                }
                            </script>
                            <div id="people-inside">
                                <b><span><span class="stats-fig">{online}</span> {hotelName}s Online!</span></b>
                                <i></i>
                            </div>
                            <a href="{url}/register" id="frontpage-image" style="background-image: url('{url}/app/tpl/skins/Habbo/images/loginbackdrop.png')" onclick="startRegistration(this); return false;"></a>
                        </div>
                        <script type="text/javascript">
                            document.observe("dom:loaded", function() {
                                LandingPage.checkLoginButtonSetTimer();
                            });
                        </script>
                    </div>
                    <script type="text/javascript">if (!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script>
                </div>
                <!--[if lt IE 7]>
                    <script type="text/javascript">
                        Pngfix.doPngImageFix();
                    </script>
                <![endif]-->
            </div>
            <div id="footer" class="new_and_improved">
 
            <p class="footer-links">Bubble Hotel Is NOT Habbo And NOT A Part Of Sulake , Please Do NOT Enter Your Habbo Details Here!</p>
 
 
 
           
           
 
 
<p class="copyright">&copy; Copyright 2012 {hotelName} Hotel. All rights reserved.</p>
 
 
        </div>
 
        </div>
        <script type="text/javascript">
            if (typeof HabboView != "undefined") {
                HabboView.run();
            }
        </script>
   
    </body>
 
 
 
</html>
 
<?php include_once('checktheban.php'); ?>

Sorry if im double posting -

But whhen i go on google chrome
the parts thats suppose to have my url it stays as {url}

Sorry if im double posting -

But whhen i go on google chrome
the parts thats suppose to have my url it stays as {url}

In my last post it may have not been clear

the parts like {url} Dont work it just shows up as {url}
same with online
i only added a sql injection Thing today it worked after
i really dont know wats going on
 

Users who are viewing this thread

Top