RevCMS Client

DarrellDD

Member
Jul 10, 2011
37
0
Best People of DevBest,

I'm using RevCMS but my client.php doen't work, all I see is this:
WgD3TTO.png


How do I fix that?
 

DarrellDD

Member
Jul 10, 2011
37
0
Don't double post, and also talk English.
BcStorm link:

Here is my client.php

PHP:
<?php
$rand1 = rand(100000, 999999);
$rand2 = rand(10000, 99999);
$rand3 = rand(10000, 99999);
$rand4 = rand(10000, 99999);
$rand5 = rand(10000, 99999);
$rand6 = rand(1, 9);
$ticket = "ST-".$rand1."-".$rand2.$rand3."-".$rand4.$rand5."-otaku-".$rand6;
$username = $_SESSION['username'];
if(@$_GET['ticket'] && @$_GET['username'] && $users->UserPermission('hk_ext_login', $_SESSION['username']))
{
    $username = $_GET['username'];
    $ticket = $_GET['ticket'];
}
$query = mysql_query("UPDATE users SET auth_ticket = '$ticket' WHERE username = '$username'");
$query = mysql_query("UPDATE users SET ip_last = '".$_SERVER['REMOTE_ADDR']."' WHERE username = '$username'");
?>
 
    <script type="text/javascript">
var habboName = "{username}";
var habboReqPath = "{url}";
var habboStaticFilePath = "http://images.habbo.com/habboweb/{web_build}/web-gallery";
var habboImagerUrl = "http://www.habbo.com/habbo-imaging/";
var habboPartner = "";
var habboDefaultClientPopupUrl = "{url}/client";
window.name = "ClientWndw";
if (typeof HabboClient != "undefined") { HabboClient.windowName = "ClientWndw"; }
</script>
 
<link rel="alternate" type="application/rss+xml" title="Habbo Hotel - RSS" href="http://www.habbo.com/articles/rss.xml" />
<script src="{url}/RevCMS/libs2.js" type="text/javascript"></script>
<script src="{url}/RevCMS/visual.js" type="text/javascript"></script>
<script src="{url}/RevCMS/libs.js" type="text/javascript"></script>
<script src="{url}/RevCMS/js/common.js" type="text/javascript"></script>
<link type="text/css" rel="stylesheet" href="../Public/Styles/Default/CSS/client.css" />
 
<link rel="stylesheet" href="http://images.habbo.com/habboweb/{web_build}/web-gallery/v2/styles/habboclient.css" type="text/css" />
<link rel="stylesheet" href="/Public/Styles/Default/CSS/client.css" type="text/css" />
<script src="{url}/RevCMS/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" : "{server_ip}",
            "connection.info.port" : "30000",
            "site.url" : "{url}/",
            "url.prefix" : "{url}/",
            "client.reload.url" : "{url}/client",
            "client.fatal.error.url" : "{url}/me/disconnected.php",
            "client.connection.failed.url" : "{url}/me",
            "external.variables.txt" : "{external_vars}",
            "external.texts.txt" : "{external_texts}",
            "productdata.load.url" : "{product_data}",
            "furnidata.load.url" : "{furni_data}",
            "use.sso.ticket" : "1",
            "sso.ticket" : "{sso}",
            "processlog.enabled" : "0",
            "account_id" : "1",
            "client.starting" : "Please wait! {hotelName} is starting up",
            "flash.client.url" : "{url}/{swf_folder}/",
            "user.hash" : "31385693ae558a03d28fc720be6b41cb1ccfec02",
            "has.identity" : "0",
            "flash.client.origin" : "popup",
            "token" : "{sso}"
    };
    var params = {
        "base" : "{url}/{swf_folder}/",
        "allowScriptAccess" : "always",
        "menu" : "false"
    };
 
    if (!(HabbletLoader.needsFlashKbWorkaround())) {
    params["wmode"] = "opaque";
    }
 
    var clientUrl = "{url}/{swf_folder}/Habbo.swf";
 
    swfobject.embedSWF({url}/{swf_folder} + "/Habbo.swf", "client", "100%", "100%", "10.0.0", "{swf_folder}/expressInstall.swf", flashvars, params, null);
 
    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>
 
<body id="client" class="flash client">
        <script type="text/javascript">
            $('content').show();
        </script>
    </div>
 
    </div>
<div id="content" class="client-content"></div>
</div>
 

Users who are viewing this thread

Top