Cliente phoenix Atualizado fucionando
Autor: PORTAL DE JOGO METIN2 | Publicado: 2012-02-10T07:23:00-08:00

Bom Algumas Pessoas Estão Com Dificuldades de Resolverem a client branca do Phoenix
então decidi postar a client que eu uso no meu hotel



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']))
{
$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'");
?&gt;
&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
&lt;html
&nbsp;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"&gt;
&lt;head&gt;
&lt;meta http-equiv="content-type" content="text/html; charset=utf-8" /&gt;
&lt;title&gt;Habbo - Client&lt;/title&gt;

&lt;script type="text/javascript"&gt;
var andSoItBegins = (new Date()).getTime();
&lt;/script&gt;
&lt;link
&nbsp;rel="shortcut icon"
href="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/769/web-gallery/v2/favicon.ico"
&nbsp;type="image/vnd.microsoft.icon" /&gt;
&lt;link rel="alternate" type="application/rss+xml" title="Habbo RSS" href="http://www.habbo.com.br/articles/rss.xml" /&gt;
&lt;meta name="csrf-token" content="cd2bd2ca75"/&gt;
&lt;link
&nbsp;rel="stylesheet"
href="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/769/web-gallery/static/styles/common.css"
&nbsp;type="text/css" /&gt;
&lt;script
src="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/769/web-gallery/static/js/libs2.js"
&nbsp;type="text/javascript"&gt;&lt;/script&gt;

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


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

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

&lt;script type="text/javascript"&gt;
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" : "&lt;?php echo $core-&gt;CmsSetting('client_ip'); ?&gt;",
"connection.info.port" : "30000",
"site.url" : "%www%",
"url.prefix" : "%www%",
"client.reload.url" : "%www%/index.php",
"client.fatal.error.url" : "%www%/client/disconnected.php?flash_client_error",
"client.connection.failed.url" : "%www%/client/disconnected.php?client_connection_failed",
"external.variables.txt" : "http://swf.hatop.tophabbo.com.br/gamedata3/variables.txt",
"external.texts.txt" : "http://swf.hatop.tophabbo.com.br/gamedata3/texts.txt",
"use.sso.ticket" : "1",
"sso.ticket" : "&lt;?php echo $ticket ?&gt;",
"processlog.enabled" : "0",
"account_id" : "1",
"client.starting" : "Aguarde o Sexy Hotel está carregando!",
"flash.client.url"
&nbsp;:
"http://www.habbogold.host.org/gordon/RELEASE64/",
&nbsp;
"user.hash" : "31385693ae558a03d28fc720be6b41cb1ccfec02",
"has.identity" : "0",
"flash.client.origin" : "popup",
"token" : "&lt;?php echo $ticket ?&gt;"
};
var params = {
"base" : "http://swf.hatop.tophabbo.com.br/gordon/RELEASE63-201111301255-246708295/",
"allowScriptAccess" : "always",
"menu" : "false"
};
var params = {
"base" : "http://swf.hatop.tophabbo.com.br/gordon/RELEASE63-201111301255-246708295/",
"allowScriptAccess" : "always",
"menu" : "false"
};

if (!(HabbletLoader.needsFlashKbWorkaround())) {
params["wmode"] = "opaque";
}

var clientUrl = "http://swf.hatop.tophabbo.com.br/gordon/RELEASE63-201111301255-246708295/Habbo.swf";

swfobject.embedSWF(clientUrl,
&nbsp;"flash-container", "100%", "100%", "10.0.0",
"http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/769/web-gallery/flash/expressInstall.swf",
&nbsp;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) {}
}
&lt;/script&gt;

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

&lt;!--[if lt IE 8]&gt;
&lt;link
&nbsp;rel="stylesheet"
href="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/769/web-gallery/static/styles/ie.css"
&nbsp;type="text/css" /&gt;
&lt;![endif]--&gt;
&lt;!--[if lt IE 7]&gt;
&lt;link
&nbsp;rel="stylesheet"
href="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/769/web-gallery/static/styles/ie6.css"
&nbsp;type="text/css" /&gt;
&lt;script
src="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/769/web-gallery/static/js/pngfix.js"
&nbsp;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;**** type="text/css"&gt;
body { behavior: url(/js/csshover.htc); }
&lt;/****&gt;
&lt;![endif]--&gt;

&lt;/head&gt;

&lt;body id="client" class="flashclient"&gt;

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

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

&lt;/body&gt;
&lt;/html&gt;