<?php
/*
*
* TotixCMS v2.0
* Todos los derechos reservados a su respectivo dueño
*
* @Author: Francisco Olivera <Totix>
*
*/
require_once("nucleo/core.php");
if(User == false) {
header("Location: index.php");
}
if(mysql_num_rows($chb) > 0) {
header("Location: banned.php");
}
if(MANTENIMIENTO == '1') {
header("Location: mantenimiento.php");
}
## Configuración del cliente
$_config['client'] = array(
'host' => 'IL MIO IP',
'port' => '9797',
'ip' => 'IL MIO IP',
'external_variables' => 'http://IL MIO IP/game/gamedata/external_variables/1.xml',
'external_flash_texts' => 'http://IL MIO IP/game/gamedata/external_flash_texts/1.xml',
'productdata' => 'http://IL MIO IP/game/gamedata/productdata/1.xml',
'furnidata' => 'http://IL MIO IP/game/gamedata/furnidata_xml/1.xml',
'flash_client_url' => 'http://IL MIO IP/game/',
'habbo_swf' => 'Habbo2.swf'
);
mysql_query("UPDATE users SET auth_ticket = '', auth_ticket = '".GenerateTicket()."', ip_last = '', ip_last = '".$ip."' WHERE id = '".$myrow['id']."'") or die(mysql_error());
$ticketsql = mysql_query("SELECT * FROM users WHERE id = '".$myrow['id']."'") or die(mysql_error());
$ticketrow = mysql_fetch_assoc($ticketsql);
?>
<!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>
<title><?php echo $web['nombre']; ?> - Client</title>
<script type="text/javascript">
var andSoItBegins = (new Date()).getTime();
var ad_keywords = "";
document.habboLoggedIn = true;
var habboName = "<?php echo $myrow['username']; ?>";
var habboReqPath = "<?php echo $web['link']; ?>";
var habboStaticFilePath = "<?php echo $web['link']; ?>/web-gallery";
var habboImagerUrl = "https://www.habbo.nl/habbo-imaging/";
var habboPartner = "";
var habboDefaultClientPopupUrl = "<?php echo $web['link']; ?>/client";
window.name = "habboMain";
if (typeof HabboClient != "undefined") { HabboClient.windowName = "uberClientWnd"; }
</script>
<link rel="shortcut icon" href="<?php echo $web['link']; ?>/web-gallery/v2/favicon.ico" type="image/vnd.microsoft.icon" />
<script src="<?php echo $web['link']; ?>/web-gallery/static/js/libs2.js" type="text/javascript"></script>
<script src="<?php echo $web['link']; ?>/web-gallery/static/js/visual.js" type="text/javascript"></script>
<script src="<?php echo $web['link']; ?>/web-gallery/static/js/libs.js" type="text/javascript"></script>
<script src="<?php echo $web['link']; ?>/web-gallery/static/js/common.js" type="text/javascript"></script>
<script src="<?php echo $web['link']; ?>/web-gallery/static/js/fullcontent.js" type="text/javascript"></script>
<link rel="stylesheet" href="<?php echo $web['link']; ?>/web-gallery/styles/style.css" type="text/css" />
<link rel="stylesheet" href="<?php echo $web['link']; ?>/web-gallery/styles/buttons.css" type="text/css" />
<link rel="stylesheet" href="<?php echo $web['link']; ?>/web-gallery/styles/boxes.css" type="text/css" />
<link rel="stylesheet" href="<?php echo $web['link']; ?>/web-gallery/styles/tooltips.css" type="text/css" />
<link rel="stylesheet" href="<?php echo $web['link']; ?>/web-gallery/styles/habboclient.css" type="text/css" />
<link rel="stylesheet" href="<?php echo $web['link']; ?>/web-gallery/styles/habboflashclient.css" type="text/css" />
<script src="<?php echo $web['link']; ?>/web-gallery/static/js/habboflashclient.js" type="text/javascript"></script>
<meta name="description" content="HabboCash is a virtual world where you can meet and make friends. Make friends, join the fun, get noticed!" />
<meta name="keywords" content="nillus, ragezone, retro, keep it real, private server, free, credits, habbo hotel , virtual, world, social network, free, community, avatar, chat, online, teen, roleplaying, join, social, groups, forums, safe, play, games, online, friends, teens, rares, rare furni, collecting, create, collect, connect, furni, furniture, pets , room design, sharing, expression, badges, hangout, music, celebrity, celebrity visits, celebrities, mmo, mmorpg, massively multiplayer" />
<!--[if IE 8]>
<link rel="stylesheet" href="<?php echo $web['link']; ?>/web-gallery/v2/styles/ie8.css" type="text/css" />
<![endif]-->
<!--[if lt IE 8]>
<link rel="stylesheet" href="<?php echo $web['link']; ?>/web-gallery/v2/styles/ie.css" type="text/css" />
<![endif]-->
<!--[if lt IE 7]>
<link rel="stylesheet" href="<?php echo $web['link']; ?>/web-gallery/v2/styles/ie6.css" type="text/css" />
<script src="<?php echo $web['link']; ?>/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(
}
</style>
<![endif]-->
<!DOCTYPE html>
<html lang="es_ES">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
<meta name="description" content="Diversión al limite!" />
<script type="text/javascript" src="<?php echo $web['link']; ?>/libs2.js"></script>
<style type="text/css">
* { margin: 0; padding: 0; }
html, #flash-container { height: 100%; text-align: left; background-color: black; }
#flash-container { position: absolute; overflow: hidden; left: 0; top: 0; right: 0; bottom: 0; }
</style>
<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" : "0",
"connection.info.host" : "<?php echo $_config['client']['ip']; ?>",
"connection.info.port" : "<?php echo $_config['client']['port']; ?>",
"site.url" : "<?php echo $_config['client']['host']; ?>",
"url.prefix" : "<?php echo $_config['client']['host']; ?>",
"client.reload.url" : "<?php echo $_config['client']['host']; ?>/client.php",
"client.fatal.error.url" : "<?php echo $_config['client']['host']; ?>/client.php",
"client.connection.failed.url" : "<?php echo $_config['client']['host']; ?>/client.php",
"external.variables.txt" : "<?php echo $_config['client']['external_variables']; ?>",
"external.texts.txt" : "<?php echo $_config['client']['external_flash_texts']; ?>",
"productdata.load.url" : "<?php echo $_config['client']['productdata']; ?>",
"furnidata.load.url" : "<?php echo $_config['client']['furnidata']; ?>",
"processlog.enabled" : "1",
"account_id" : "<?php echo $myrow['id']; ?>",
"client.starting" : "iLoop sta caricando, attendi perfavore...",
"flash.client.url" : "<?php echo $_config['client']['flash_client_url']; ?>",
"sso.ticket" : "<?php echo $ticketrow['auth_ticket']; ?>",
"user.hash" : "199275052dbf5f89adb0a643bf16b0ea1cd646db",
"flash.client.origin" : "popup"
};
var params = {
"base" : "<?php echo $_config['client']['flash_client_url']; ?>",
"allowScriptAccess" : "always",
"menu" : "false"
};
if (!(HabbletLoader.needsFlashKbWorkaround())) {
params["wmode"] = "opaque";
}
FlashExternalInterface.signoutUrl = "<?php echo $web['link']; ?>/logout.php";
var clientUrl = "<?php echo $_config['client']['flash_client_url'] . $_config['client']['habbo_swf']; ?>";
swfobject.embedSWF(clientUrl, "flash-container", "100%", "100%", "10.0.0", "<?php echo $web['link']; ?>/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>
</head>
<body>
<div id="flash-container">
</div>
</body>
</html>
Ho sostituito il mio ip con quella scritta.