Minha client n entra vai direto para a me 26.02.13 15:06
eu uso new mega bobba pack so troquei cms mais o resto swf,client db tudo dele so que a client quando entra cai na me e nao na client.
Minha client
Minha client
- Código:
<?php
//Page settings
$page = array(
"id" => 6,
"view_offline" => false,
"view_maintenance" => false
);
//Includes
require_once("./inc/global.php");
//Procedures
system::init();
?>
<html>
<head>
<link rel="stylesheet" href="<?php echo $configuration['url']; ?>/css/clientcommon.css" type="text/css" />
<script src="<?php echo $configuration['url']; ?>/js/visual.js" type="text/javascript"></script>
<script src="<?php echo $configuration['url']; ?>/js/common.js" type="text/javascript"></script>
<title>Habbo</title>
<script type="text/javascript">
var ad_keywords = "gender%3Am,age%3A21";
var ad_key_value = "kvage=21;kvgender=m;kvtags=";
</script>
<script type="text/javascript">
document.habboLoggedIn = true;
var habboName = "<?php echo system::get_user_info("username", $_SESSION['id']); ?>";
var habboId = <?php echo $_SESSION['id']; ?>;
var facebookUser = false;
var habboReqPath = "";
var habboStaticFilePath = "";
var habboImagerUrl = "http://www.habbo.es/habbo-imaging/";
var habboPartner = "";
var habboDefaultClientPopupUrl = "<?php echo $configuration['url']; ?>/client";
window.name = "client";
if (typeof HabboClient != "undefined") {
HabboClient.windowName = "client";
HabboClient.maximizeWindow = true;
}
</script>
<meta http-equiv="Expires" content="-1" />
<link rel="stylesheet" href="<?php echo $configuration['url']; ?>/css/habboflashclient.css" type="text/css" />
<script src="<?php echo $configuration['url']; ?>/js/habboflashclient.js" type="text/javascript"></script>
<script type="text/javascript">
FlashExternalInterface.loginLogEnabled = true;
FlashExternalInterface.logLoginStep("web.view.start");
if (top == self) {
FlashHabboClient.cacheCheck();
}
var flashvars = {
"client.allow.cross.domain" : "0",
"client.notify.cross.domain" : "1",
"connection.info.host" : "<?php echo system::get_settings("host"); ?>",
"connection.info.port" : "<?php echo system::get_settings("port"); ?>",
"site.url" : "<?php echo $configuration['url']; ?>",
"url.prefix" : "<?php echo $configuration['url']; ?>",
"client.reload.url" : "<?php echo $configuration['url']; ?>/client",
"client.fatal.error.url" : "<?php echo $configuration['url']; ?>/client",
"client.connection.failed.url" : "<?php echo $configuration['url']; ?>/client",
"external.variables.txt" : "<?php echo system::get_settings("external_variables"); ?>",
"external.texts.txt" : "<?php echo system::get_settings("external_texts"); ?>",
"safechat.list.txt" : "<?php echo system::get_settings("safechat.list"); ?>",
"productdata.load.url" : "<?php echo system::get_settings("productdata"); ?>",
"furnidata.load.url" : "<?php echo system::get_settings("furnidata"); ?>",
"sso.ticket" : "<?php echo user::get_ticket(); ?>",
"processlog.enabled" : "1",
"account_id" : "55462391",
"client.starting" : "¡Por favor, espera! <?php echo $configuration['name']; ?> se está cargando",
"flash.client.url" : "<?php echo system::get_settings("base"); ?>",
"user.hash" : "55462391b2bd04bdac8f3ced941907b6233e0d6e",
"has.identity" : "1",
"flash.client.origin" : "popup"
};
var params = {
"base" : "<?php echo system::get_settings("base"); ?>",
"allowScriptAccess" : "always",
"menu" : "false"
};
if (!(HabbletLoader.needsFlashKbWorkaround())) {
params["wmode"] = "opaque";
}
FlashExternalInterface.signoutUrl = "https://www.habbo.es/account/logout?token=8cdbcbe1ff";
var clientUrl = "<?php echo system::get_settings("swf"); ?>";
swfobject.embedSWF(clientUrl, "flash-container", "100%", "100%", "10.1.0", "http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/1377/web-gallery/flash/expressInstall.swf", 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);
</script>
</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>
</div>
<script type="text/javascript">
$('content').show();
HabboView.run();
</script>
</body>
</html>
<?php
system::stop();
?>