Client Problem

  • Hey ich hab ein Problem wenn ich in den client will bleibt die seite einfach weiß.


    Alles ist eingestellt Emu läuft auch usw...

    Hier ist der Code:

    <?php

    require_once("habbo_config/user_factory.php");

    if(!$_SESSION["username"]){

    header("location:./index.php");

    }

    function GenerateTicket(){

    $data = "ST-";

    for ($i=1; $i<=6; $i++){ $data = $data . rand(0,9); }

    $data = $data . "-";

    for ($i=1; $i<=20; $i++){ $data = $data . rand(0,9); }

    $data = $data . "-EXIBIT-fe";

    $data = $data . rand(0,5);

    return $data;

    }

    $_SESSION['ticket'] = GenerateTicket();

    mysql_query("UPDATE users SET auth_ticket = '".$_SESSION['ticket']."' WHERE id = '".$user->id."'");

    ?>

    <!doctype html>

    <html>

    <head>

    <head>

    <param name="hasPriority" value="true" />

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />

    <title>Habbo: BETA </title>

    <script src="http://127.0.0.1/web/js/client/libs2.js" type="text/javascript"></script>

    <script src="http://127.0.0.1/web/js/client/visual.js" type="text/javascript"></script>

    <script src="http://127.0.0.1/web/js/client/common.js" type="text/javascript"></script>

    <script src="http://127.0.0.1/web/js/client/script.js" type="text/javascript"></script>

    <script src="http://127.0.0.1/web/js/client/habboflashclient.js" type="text/javascript"></script>

    <script src="https://ajax.googleapis.com/ajax/libs/jque…1/jquery.min.js"></script>

    <link rel="stylesheet" href="http://127.0.0.1/web/js/client/habboflashclient.css" type="text/css"/>

    <link rel="stylesheet" href="http://127.0.0.1/web/js/client/habboflashclient_extra.css" type="text/css"/>

    <script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.js"></script>


    <script type="text/javascript">

    var flashvars = {

    "client.allow.cross.domain" : "1",

    "client.notify.cross.domain" : "0",

    "connection.info.port" : "{port}",

    "site.url" : "{url}/",

    "url.prefix" : "{url}/",

    "client.reload.url" : "{url}/client",

    "client.fatal.error.url" : "{url}/client/error",

    "client.connection.failed.url" : "{url}/client/error",

    "external.variables.txt" : "{url}/{base}/{external_vars}",

    "external.texts.txt" : "{url}/{base}/{external_flash}",

    "productdata.load.url" : "{url}/{base}/{productdata}",

    "furnidata.load.url" : "{url}/{base}/{furnidata}",

    "use.sso.ticket" : "1",

    "new.identity" : "0",

    "sso.ticket" : "{USERAUTH}",

    "processlog.enabled" : "0",

    "account_id" : "{USERID}",

    "client.starting" : "",

    "client.hotel_view.image.url" : "{url}/{base}/c_images/hotel_view_images_hq/beta_hotelview.png",

    "flash.client.url" : "{url}/{base}/gordon/",

    "user.hash" : "{clienthash}",

    "has.identity" : "1",

    "connection.info.host" : "%68%6F%62%62%61%2E%62%7A%2F%73%77%66%2F%67%6F%72%64%6F%6E%2F%74%65%73%74%32%39%32%2E%73%77%66",

    "flash.client.origin" : "popup"

    };

    var params = {

    "base" : "{url}/{base}/gordon/",

    "allowScriptAccess" : "always",

    "menu" : "false",

    "bgcolor" : "#000",

    "wmode" : "opaque"

    };


    FlashExternalInterface.signoutUrl = "{url}/logout";

    var clientUrl = "{url}/{base}/gordon/{habbo_swf}";

    swfobject.embedSWF(clientUrl, "flash-container", "100%", "100%", "10.0.0", "hhnewloader/expressInstall.swf", flashvars, params);

    window.onbeforeunload = unloading;

    function unloading() {

    var clientObject;

    if (navigator.appName.indexOf("Microsoft") != -1) {

    clientObject = window["flash-container"];

    } else {

    clientObject = document["flash-container"];

    }

    try {

    clientObject.unloading();

    } catch (e) {}

    }

    //window.onresize = DoResize;

    window.onload = DoResize;

    </script>

    </head>

    <body id="client" class="flashclient">


    <div style="position: absolute;top: 0px;right: 40%;padding: 8px 25px;border-radius: 0px 0px 3px 3px;border-top: none;background-color: rgb(50, 49, 46);border: 2px solid rgb(84, 82, 77);color: rgb(255, 255, 255);border-top: none;font-family: ubuntu;text-shadow: 0px 0px 1px rgb(113, 113, 113);font-size: 14px;z-index: 99999;">

    <center><b id="useronline">{ONLINE}</b> Pandas online</center>

    </div>

    <div id="onlineradio" style="position: absolute;top: 0px;right: 20%;padding: 6px 6px;border-radius: 0px 0px 3px 3px;border-top: none;background-color: rgb(50, 49, 46);border: 2px solid rgb(84, 82, 77);color: rgb(255, 255, 255);border-top: none;font-family: ubuntu;text-shadow: 0px 0px 1px rgb(113, 113, 113);font-size: 14px;z-index: 99999;">

    <center>

    <script type='text/javascript' src='http://www.surfmusik.de/radio/player/jwplayer.js'></script><div id='mediaplayer'></div>

    <script type="text/javascript" src="http://player.wavestreamer.com/cgi-bin/swf.js?id=854XG5LIR6AIV8YM"></script>

    <object type="application/x-shockwave-flash" id="scplayer" name="scplayer" data="/player2.swf" width="190" height="21"><param name="allowfullscreen" value="true"><param name="allowscriptaccess" value="always"><param name="bgcolor" value="#000000"><param name="wmode" value="transparent"><param name="flashvars" value="skin=http://player.wavestreamer.com/cgi-bin/nacht/…&amp;title=Live Stream&amp;type=sound&amp;file=http://85.25.120.59:11502/;stream.mp3&am…;autostart=true"></object>

    </center> </span>

    </div>

    </div>

    </div>

    <center>

    <script type="text/javascript">

    jjLoader.init('client', 6, 'http://i.imgur.com/jh4yHN3.png', '{themeurl}/img/habbo_load.png ');

    </script></center>


    <div style="position:absolute;left: 50%;">

    <div style="position: relative; left: -50%;z-index:5;"> <?php ?>

    </div>

    </div>

    <div id="overlay"></div>

    <div id="client-ui" >

    <div id="flash-wrapper">

    <div id="flash-container">

    <div id="content" style="width: 400px; margin: 20px auto 0 auto; display: none">

    <div class="cbb clearfix">

    <h2 class="title">Bitte Adobe Flash Player auf die neueste Version upgraden</h2>

    </div>

    </div>

    <script type="text/javascript">

    $('content').show();

    </script>

    <noscript>

    <div style="width: 400px; margin: 20px auto 0 auto; text-align: center">

    <p>Wenn Sie nicht automatisch weitergeleitet werden, bitte <a href="/client/nojs">hier klicken</a></p>

    </div>

    </noscript>

    </div>

    </div>

    <div id="content" class="client-content"></div>

    </div>

    </body>

    Wär korrekt wenn jemand sagen würde wo der Fehler liegt

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!