FrostCms Client Help :)

Tommi

New Member
Jul 31, 2012
3
0
Hello!
When i go to Client.php -> Loads the bar to 50% and, reload the Client.php
I used tutorial.

Im using Phoenix Emulator 3.7.1 Cracked
And Frostcms

This is my Client.php code

Code:
<?php if(!isset($_SESSION['username'])){ header("Location: ../"); exit; }
setcookie("last_online", $user->me('last_online'), time() + 604800, "/"); //To make sure you can still logout because the emulator updated the last_online
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" xmlns:og="http://opengraphprotocol.org/schema/" xmlns:fb="http://www.facebook.com/2008/fbml">
<head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
    <title>{sitename} Hotel: Client</title>
 
<script type="text/javascript">
var andSoItBegins = (new Date()).getTime();
</script>
<link rel="stylesheet" href="{site}/web-gallery/static/styles/common.css" type="text/css" />
 
<script src="{site}/web-gallery/static/js/libs2.js" type="text/javascript"></script>
<script src="{site}/web-gallery/static/js/visual.js" type="text/javascript"></script>
<script src="{site}/web-gallery/static/js/libs.js" type="text/javascript"></script>
<script src="{site}/web-gallery/static/js/common.js" type="text/javascript"></script>
 
    <script type="text/javascript">
        document.habboLoggedIn = true;
        var habboName = "{username}";
        var habboReqPath = "{site}";
        var habboStaticFilePath = "{site}/web-gallery";
        var habboImagerUrl = "http://www.habbo.com/habbo-imaging/";
        var habboPartner = "";
        var habboDefaultClientPopupUrl = "{site}/client";
        window.name = "ClientWndw";
        if (typeof HabboClient != "undefined") { HabboClient.windowName = "ClientWndw"; }
    </script>
 
<link rel="stylesheet" href="{site}/web-gallery/static/styles/habboflashclient.css" type="text/css" />
<script src="{site}/web-gallery/static/js/habboflashclient.js" type="text/javascript"></script>
 
<script type="text/javascript">
    FlashExternalInterface.loginLogEnabled = false;
    FlashExternalInterface.logLoginStep("web.view.start");
 
    if (top == self) {
        FlashHabboClient.cacheCheck();
    }
    var flashvars = {
            "client.allow.cross.domain" : "1",
            "client.notify.cross.domain" : "1",
            "connection.info.host" : "<?php echo $_SERVER['SERVER_NAME']; ?>",
            "connection.info.port" : "{gameport}",
            "site.url" : "{swfsite}",
            "url.prefix" : "{swfsite}",
            "client.reload.url" : "{site}/client",
            "client.fatal.error.url" : "{site}/client",
            "client.connection.failed.url" : "{site}/client",
            "external.variables.txt" : "{swfvars}",
            "use.sso.ticket" : "1",
            "sso.ticket" : "<?php echo $user->sso(); ?><?php #echo md5($ticket); ?>",
            "processlog.enabled" : "0",
            "account_id" : "{id}",
            "client.starting" : "{sitename} is loading, please wait.",
            "flash.client.url" : "{swfbase}/",
            "user.hash" : "31385693ae558a03d28fc720be6b41cb1ccfec02",
            "has.identity" : "0",
            "flash.client.origin" : "popup",
            "logout.disconnect.url" : "{site}/client",
            "logout.url" : "{site}/account/logout?token={token}"
    };
    var params = {
        "base" : "{swfbase}/",
        "allowScriptAccess" : "always",
        "menu" : "false"
    };
 
    if (!(HabbletLoader.needsFlashKbWorkaround())) {
        params["wmode"] = "opaque";
    }
 
    FlashExternalInterface.signoutUrl = "{site}/account/logout?token={token}";
 
    var clientUrl = "{swfbase}/habbo.swf";
 
    swfobject.embedSWF(clientUrl, "flash-container", "100%", "100%", "10.0.0", "{site}/web-gallery/flash/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) {}
    }
</script>
 
<!--[if IE 8]>
<link rel="stylesheet" href="{site}/web-gallery/static/styles/ie8.css" type="text/css" />
<![endif]-->
 
<!--[if lt IE 8]>
<link rel="stylesheet" href="{site}/web-gallery/static/styles/ie.css" type="text/css" />
<![endif]-->
<!--[if lt IE 7]>
<link rel="stylesheet" href="{site}/web-gallery/static/styles/ie6.css" type="text/css" />
<script src="{site}/web-gallery/static/js/pngfix.js" type="text/javascript"></script>
<script type="text/javascript">
try { document.execCommand('BackgroundImageCache', false, true); } catch(e) {}
</script>
 
<style type="text/css">
body { behavior: url(/js/csshover.htc); }
</style>
<![endif]-->
 
</head>
 
<body id="client" class="flashclient">
 
<div id="overlay"></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">Please install Adobe Flash Player.</h2>
                <div class="box-content">
                        <p>You can install and download Adobe Flash Player here: <a href="http://get.adobe.com/flashplayer/">
                        Install flash player</a>. More instructions for installation can be
                        found here: <a href="http://www.adobe.com/products/flashplayer/productinfo/instructions/">
                        More information</a></p>
                        <p><a href="http://www.adobe.com/go/getflashplayer"><img src="{site}/web-gallery/images/client/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>
                </div>
            </div>
        </div>
        <script type="text/javascript">
            $('content').show();
        </script>
        <noscript>
            <div style="width: 400px; margin: 20px auto 0 auto; text-align: center">
                <p>If you are not automatically redirected, please <a href="/client/nojs">click here</a></p>
            </div>
        </noscript>
    </div>
 
    </div>
    <div id="content" class="client-content"></div>
</div>
 
</body>
</html>
 

Flint

http://Dusk-Hotel.com
Jul 10, 2012
464
48
Either get a license (Currently you cant as os is down)
Or Fix It Yourself
Or Fix it & Then Your Hotel Will Go Down by aaron i guess...
 

Users who are viewing this thread

Top