Beiträge von Indepently

    Spoiler anzeigen

    Client:

    <?php
    require("./inc/core.php");
    require("./inc/session.php");
    require_once('./templ/cheader.php');

    if($myrow['rank'] > 5) { mysql_query("UPDATE users SET vip = '1' WHERE username = '".$username."'"); } else { mysql_query("UPDATE users SET vip = '0' WHERE username = '".$username."'"); }
    $mybadge = mysql_fetch_assoc(mysql_query("SELECT * FROM user_badges WHERE user_id = '".$myrow['id']."' AND badge_id = 'WELC' LIMIT 1"));
    if($mybadge['badge_id'] !== 'WELC') { mysql_query("INSERT INTO user_badges SET user_id = '".$myrow['id']."', badge_id = 'WELC', badge_slot = '1'"); }
    if($mybadge['badge_id'] !== 'VIP') { mysql_query("INSERT INTO user_badges SET user_id = '".$myrow['id']."', badge_id = 'VIP', badge_slot = '2'"); }

    ?>
    <title>Kabboz: Hotel</title>
    <script type="text/javascript">
    function DoResizex() {
    var nHeight;
    if (typeof window.innerHeight == 'undefined')
    { nHeight = document.body.clientHeight -40; }
    else { nHeight = window.innerHeight -40; }
    document.getElementById('flash').style.height = nHeight+'px';}
    FlashExternalInterface.loginLogEnabled = true;
    FlashExternalInterface.logLoginStep("web.view.start");
    if (top == self) { FlashHabboClient.cacheCheck(); }
    var flashvars = {
    "client.allow.cross.domain" : "1",
    "client.notify.cross.domain" : "0",
    "connection.info.host" : "MEINE IP STEHT HIER DRINNE",
    "connection.info.port" : "30000",
    "site.url" : "<?php echo $path; ?>",
    "url.prefix" : "<?php echo $path; ?>",
    "client.reload.url" : "<?php echo $path; ?>/client",
    "client.fatal.error.url" : "<?php echo $path; ?>/clientutils",
    "client.connection.failed.url" : "<?php echo $path; ?>/clientutils",
    "external.variables.txt" : "<?php echo $path; ?>/client/external_variables.txt?d",
    "external.texts.txt" : "<?php echo $path; ?>/client/external_flash_texts.txt?ssdss",
    "productdata.load.url" : "<?php echo $path; ?>/client/productdata.txt?s",
    "furnidata.load.url" : "<?php echo $path; ?>/client/furnidata.txt?ssss",
    "use.sso.ticket" : "1",
    "sso.ticket" : "<?php echo $ticketrow['auth_ticket']; ?>",
    "processlog.enabled" : "1",
    "account_id" : "1",
    "client.starting" : "Hallo <?php echo $name?>, der Client wird geladen.",
    "flash.client.url" : "<?php echo $path; ?>/client/",
    "user.hash" : "31385693ae558a03d28fc720be6b41cb1ccfec02",
    "has.identity" : "1",
    "flash.client.origin" : "popup"
    };
    var params = { "base" : "<?php echo $path; ?>/client/", "allowScriptAccess" : "always", "menu" : "false" };
    if (!(HabbletLoader.needsFlashKbWorkaround())) {params["wmode"] = "opaque";}
    FlashExternalInterface.signoutUrl = "<?php echo $path; ?>/account/logout?token=<?php echo sha1($myrow['password']); ?>";
    var clientUrl = "<?php echo $path; ?>/client/habbo2.swf?sbss";
    swfobject.embedSWF(clientUrl, "flash-container", "100%", "100%", "10.0.0", null, flashvars, params, null, FlashExternalInterface.embedSwfCallback);
    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 = function() {
    HabboClient.storeWindowSize();
    }.debounce(0.5);
    new Ajax.Request(habboReqPath + "/crossdomain.xml", {
    method: 'get',
    requestHeaders: {'Cache-Control': 'no-cache'}});
    window.onload = DoResizex;
    </script>
    </head>

    <body onload="init();" id="client" class="flashclient">
    <div id="overlay"></div>
    <div id="overlay"></div>
    <div id="client-ui" >
    <div id="flash-wrapper">
    <div id="flash-container">
    <script type="text/javascript">
    $('content').show();
    </script>
    </div>
    </div>
    <div id="content" class="client-content"></div>
    </div>

    <div id="onlinewrapper">
    <?php echo "".$onlinecount." Kabbozs online"; ?>
    </div>
    <?php include('./templ/clientmenu.php'); ?>

    <div id="cwerbung">
    <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
    <!-- Habbo - Leaderbord -->
    <ins class="adsbygoogle"
    style="display:inline-block;width:728px;height:90px"
    data-ad-client="ca-pub-6237495552788969"
    data-ad-slot="8518360730"></ins>
    <script>
    (adsbygoogle = window.adsbygoogle || []).push({});
    </script>
    </div>

    <script>

    var auto_refresh = setInterval(
    function ()
    {
    $('#onlinewrapper').load('./templ/counter.php').fadeIn("slow");
    }, 2000); // refresh every 10000 milliseconds


    setInterval(function () {
    $("#cwerbung").hide(5000);
    }, 150000);
    </script>

    </div>
    </body>
    </html>