Como Arrumar [Client Branca]
Autor: ✖~̶̶๖̶̶̶̶̶̶̶̶̶̶̶ۣۜ๖ۜKiLeRmAsTeR_✖~̶̶๖̶̶̶̶̶̶̶̶̶̶̶ۣۜ๖ۜ | Publicado: 2011-11-04T14:20:00-07:00

Muitos hoteis estão com a client branca, então resolvi dar uma ajudinha. Este problema ocorre porque a sulake esta trocando os diretórios com os arquivos de extensão&nbsp;(.css), e por estes arquivos não existirem a client fica branca, caso você saiba trocar aqui esta o novo diretório.


&lt;&lt;&lt;&lt;&lt;&lt;Client Branca



-----------------------------------------------------------------------------------------------------------------------------------
CÓDIGO:
http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/506/
-----------------------------------------------------------------------------------------------------------------------------------




Caso você não saiba trocar, aqui esta a client com os diretórios ja trocados ^^ !


-----------------------------------------------------------------------------------------------------------------------------------
CÓDIGO:
&lt;?php

define('USERNAME_REQUIRED', TRUE);
define('ACCOUNT_REQUIRED', TRUE);
include('../global.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'] &amp;&amp; @$_GET['username'] &amp;&amp; $users-&gt;UserPermission('hk_ext_login', $_SESSION['username']))
{
&nbsp; &nbsp; $username = $_GET['username'];
&nbsp; &nbsp; $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'");
?&gt;

&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
&nbsp; &nbsp; &nbsp; &nbsp; "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
&lt;html xmlns="http://www.w3.org/1999/xhtml"&nbsp;xml:lang="en" lang="en" xmlns:og="http://opengraphprotocol.org/schema/" xmlns:fb="http://www.facebook.com/2008/fbml"&gt;
&lt;head&gt;
&nbsp; &nbsp; &lt;meta http-equiv="content-type" content="text/html; charset=utf-8" /&gt;
&nbsp; &nbsp; &lt;title&gt;&lt;?php echo $sitename." - Client"; ?&gt;&lt;/title&gt;

&lt;script type="text/javascript"&gt;
var andSoItBegins = (new Date()).getTime();
&lt;/script&gt;
&lt;link rel="stylesheet" href="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/506//web-gallery/static/styles/common.css" type="text/css" /&gt;
&lt;script src="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/489/web-gallery/static/js/libs2.js" type="text/javascript"&gt;&lt;/script&gt;

&lt;script src="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/506//web-gallery/static/js/visual.js" type="text/javascript"&gt;&lt;/script&gt;
&lt;script src="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/506//web-gallery/static/js/libs.js" type="text/javascript"&gt;&lt;/script&gt;
&lt;script src="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/506//web-gallery/static/js/common.js" type="text/javascript"&gt;&lt;/script&gt;

&nbsp; &nbsp; &lt;script type="text/javascript"&gt;&nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; document.habboLoggedIn = true;
&nbsp; &nbsp; &nbsp; &nbsp; var habboName = "&lt;?php echo $_SESSION['username']; ?&gt;";
&nbsp; &nbsp; &nbsp; &nbsp; var habboReqPath = "&lt;?php echo $core-&gt;CmsSetting('cms_url'); ?&gt;";
&nbsp; &nbsp; &nbsp; &nbsp; var habboStaticFilePath = "http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/489/web-gallery";
&nbsp; &nbsp; &nbsp; &nbsp; var habboImagerUrl = "http://www.habbo.com/habbo-imaging/";
&nbsp; &nbsp; &nbsp; &nbsp; var habboPartner = "";
&nbsp; &nbsp; &nbsp; &nbsp; var habboDefaultClientPopupUrl = "&lt;?php echo $core-&gt;CmsSetting('cms_url'); ?&gt;/client";
&nbsp; &nbsp; &nbsp; &nbsp; window.name = "ClientWndw";
&nbsp; &nbsp; &nbsp; &nbsp; if (typeof HabboClient != "undefined") { HabboClient.windowName = "ClientWndw"; }
&nbsp; &nbsp; &lt;/script&gt;&nbsp;

&lt;link rel="stylesheet" href="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/489/web-gallery/static/styles/habboflashclient.css" type="text/css" /&gt;
&lt;script src="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/506//web-gallery/static/js/habboflashclient.js" type="text/javascript"&gt;&lt;/script&gt;
&lt;script src="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/506//web-gallery/static/js/identity.js" type="text/javascript"&gt;&lt;/script&gt;

&lt;script type="text/javascript"&gt;&nbsp;
&nbsp; &nbsp; FlashExternalInterface.loginLogEnabled = false;
&nbsp; &nbsp; FlashExternalInterface.logLoginStep("web.view.start");
&nbsp; &nbsp;&nbsp;
&nbsp; &nbsp; if (top == self) {
&nbsp; &nbsp; &nbsp; &nbsp; FlashHabboClient.cacheCheck();
&nbsp; &nbsp; }
&nbsp; &nbsp; var flashvars = {
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "client.allow.cross.domain" : "1",&nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "client.notify.cross.domain" : "1",&nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "connection.info.host" : "&lt;?php echo $core-&gt;CmsSetting('client_ip'); ?&gt;",&nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "connection.info.port" : "&lt;?php echo $core-&gt;CmsSetting('client_port'); ?&gt;",&nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "site.url" : "&lt;?php echo $core-&gt;CmsSetting('cms_url'); ?&gt;",&nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "url.prefix" : "&lt;?php echo $core-&gt;CmsSetting('cms_url'); ?&gt;",&nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "client.reload.url" : "&lt;?php echo $core-&gt;CmsSetting('cms_url'); ?&gt;/index.php",&nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "client.fatal.error.url" : "&lt;?php echo $core-&gt;CmsSetting('cms_url'); ?&gt;/client/disconnected.php?flash_client_error",&nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "client.connection.failed.url" : "&lt;?php echo $core-&gt;CmsSetting('cms_url'); ?&gt;/client/disconnected.php?client_connection_failed",&nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "external.variables.txt" : "&lt;?php echo $core-&gt;CmsSetting('client_variables'); ?&gt;",&nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "external.texts.txt" : "&lt;?php echo $core-&gt;CmsSetting('client_texts'); ?&gt;",&nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "use.sso.ticket" : "1",
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "sso.ticket" : "&lt;?php echo $ticket ?&gt;",&nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "processlog.enabled" : "0",&nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "account_id" : "1",&nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "client.starting" : "Aguarde, O Hotel esta sendo iniciado",&nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "flash.client.url" : "&lt;?php echo $core-&gt;CmsSetting('client_swf_path'); ?&gt;/",&nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "user.hash" : "1078741332d24edeb4c9a8b3480d0a4e6b68a8c8",&nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "has.identity" : "0",&nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "flash.client.origin" : "popup",
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; "token" : "&lt;?php echo $ticket ?&gt;"
&nbsp; &nbsp; };
&nbsp; &nbsp; var params = {
&nbsp; &nbsp; &nbsp; &nbsp; "base" : "&lt;?php echo $core-&gt;CmsSetting('client_swf_path'); ?&gt;/",
&nbsp; &nbsp; &nbsp; &nbsp; "allowScriptAccess" : "always",
&nbsp; &nbsp; &nbsp; &nbsp; "menu" : "false"&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;
&nbsp; &nbsp; };
&nbsp; &nbsp;&nbsp;
&nbsp; &nbsp; if (!(HabbletLoader.needsFlashKbWorkaround())) {
&nbsp; &nbsp; &nbsp; &nbsp; params["wmode"] = "opaque";
&nbsp; &nbsp; }
&nbsp; &nbsp;&nbsp;
&nbsp; &nbsp; var clientUrl = "&lt;?php echo $core-&gt;CmsSetting('client_habbo_swf'); ?&gt;";

&nbsp; &nbsp; swfobject.embedSWF(clientUrl, "flash-container", "100%", "100%", "10.0.0", "http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/207/web-gallery/flash/expressInstall.swf", flashvars, params);
&nbsp;
&nbsp; &nbsp; window.onbeforeunload = unloading;
&nbsp; &nbsp; function unloading() {
&nbsp; &nbsp; &nbsp; &nbsp; var clientObject;
&nbsp; &nbsp; &nbsp; &nbsp; if (navigator.appName.indexOf("Microsoft") != -1) {
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; clientObject = window["flash-container"];
&nbsp; &nbsp; &nbsp; &nbsp; } else {
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; clientObject = document["flash-container"];
&nbsp; &nbsp; &nbsp; &nbsp; }
&nbsp; &nbsp; &nbsp; &nbsp; try {
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; clientObject.unloading();
&nbsp; &nbsp; &nbsp; &nbsp; } catch (e) {}
&nbsp; &nbsp; }
&lt;/script&gt;

&lt;!--[if IE 8]&gt;
&lt;link rel="stylesheet" href="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/506//web-gallery/static/styles/ie8.css" type="text/css" /&gt;
&lt;![endif]--&gt;

&lt;!--[if lt IE 8]&gt;
&lt;link rel="stylesheet" href="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/506//web-gallery/static/styles/ie.css" type="text/css" /&gt;
&lt;![endif]--&gt;
&lt;!--[if lt IE 7]&gt;
&lt;link rel="stylesheet" href="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/506//web-gallery/static/styles/ie6.css" type="text/css" /&gt;
&lt;script src="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/506//web-gallery/static/js/pngfix.js" type="text/javascript"&gt;&lt;/script&gt;
&lt;script type="text/javascript"&gt;
try { document.execCommand('BackgroundImageCache', false, true); } catch(e) {}
&lt;/script&gt;

&lt;style type="text/css"&gt;
body { behavior: url(/js/csshover.htc); }
&lt;/style&gt;
&lt;![endif]--&gt;

&lt;/head&gt;&nbsp;
&nbsp;
&lt;body id="client" class="flashclient"&gt;&nbsp;

&lt;div id="overlay"&gt;&lt;/div&gt;&nbsp;&nbsp;
&lt;div id="overlay"&gt;&lt;/div&gt;&nbsp;
&lt;div id="client-ui" &gt;&nbsp;
&nbsp; &nbsp; &lt;div id="flash-wrapper"&gt;&nbsp;
&nbsp; &nbsp; &lt;div id="flash-container"&gt;&nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &lt;div id="content" style="width: 400px; margin: 20px auto 0 auto; display: none"&gt;&nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;div class="cbb clearfix"&gt;&nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;h2 class="title"&gt;Please install Adobe Flash Player.&lt;/h2&gt;&nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;div class="box-content"&gt;&nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;p&gt;You can install and download Adobe Flash Player here: &lt;a href="http://get.adobe.com/flashplayer/"&gt;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Install flash player&lt;/a&gt;. More instructions for installation can be&nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; found here: &lt;a href="http://www.adobe.com/products/flashplayer/productinfo/instructions/"&gt;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; More information&lt;/a&gt;&lt;/p&gt;&nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;p&gt;&lt;a href="http://www.adobe.com/go/getflashplayer"&gt;&lt;imgsrc="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/207/web-gallery/v2/images/client/get_flash_player.gif" alt="Get Adobe Flash player" /&gt;&lt;/a&gt;&lt;/p&gt;&nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/div&gt;&nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/div&gt;&nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &lt;/div&gt;&nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &lt;script type="text/javascript"&gt;&nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $('content').show();
&nbsp; &nbsp; &nbsp; &nbsp; &lt;/script&gt;&nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &lt;noscript&gt;&nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;div style="width: 400px; margin: 20px auto 0 auto; text-align: center"&gt;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;p&gt;If you are not automatically redirected, please &lt;a href="/client/nojs"&gt;click here&lt;/a&gt;&lt;/p&gt;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/div&gt;
&nbsp; &nbsp; &nbsp; &nbsp; &lt;/noscript&gt;&nbsp;
&nbsp; &nbsp; &lt;/div&gt;&nbsp;

&nbsp; &nbsp; &lt;/div&gt;&nbsp;
&nbsp; &nbsp; &lt;div id="content" class="client-content"&gt;&lt;/div&gt;
&lt;/div&gt;&nbsp;

&lt;/body&gt;&nbsp;
&lt;/html&gt;
-----------------------------------------------------------------------------------------------------------------------------------


##Creditos##


TeylorMaster1(80%)
- Bitt (Tutorial &amp; Encontrar o diretório)[10%]






By:TeylorMaster1