<?php
/*===================================================+
|| # holocms - website and content management system
|+===================================================+
|| # copyright ? 2008 meth0d. all rights reserved.
|| #
|| this file is powered by prepay
|+===================================================+
|| # holocms is provided "as is" and comes without
|| # warrenty of any kind. holocms is free software!
|+===================================================*/
include('core.php');
include('includes/session.php');
//$screen = $myrow['screen'];
//$language = $myrow['language'];
//$rea = $myrow['rea'];
//if($rea == "disabled"){
// include('./includes/sso.php');
//}
$ssocheck = mysql_query("select * from users where name = '".$rawname."' and password = '".$rawpass."' limit 1") or die(mysql_error());
$ssocheck2 = mysql_fetch_assoc($ssocheck);
if($ssocheck2['ticket_sso'] == "") {
if(isset($_get['roomid']) && $_get['forwardid'] == "2"){
if(isset($_get['wide'])) {
header("location:reauthenticate.php?forwardid=".$_get['forwardid']."&roomid=".$_get['roomid']."&wide=".$_get['wide']."&flash=habbu");
} else {
header("location:reauthenticate.php?forwardid=".$_get['forwardid']."&roomid=".$_get['roomid']."&flash=habbu");
}
} elseif(isset($_get['wide'])) {
header("location:reauthenticate.php?wide=".$_get['wide']."&flash=habbu");
} else {
header("location:reauthenticate.php?flash=habbu");
}
}
if($logged_in){
require_once('includes/session.php');
} else {
header("location: clientutils.php?key=loginplease");
exit;
}
if($online !== "online" && $enable_status_image == "1"){
echo "<font color='white'><center><b>".$sitename." is offline</b></center></font>";
exit();
}
if($remote_ip == "127.0.0.1" || $remote_ip == "localhost" && $server_on_localhost == 1){
$ip = "127.0.0.1";
}
if(isset($_get['roomid']) && $_get['forwardid'] == "2"){
$roomid = $_get['roomid'];
$checksql = mysql_query("select id from rooms where id = '".$roomid."' limit 1");
$roomexists = mysql_num_rows($checksql);
if($roomexists > 0){
$forward = "1";
echo "<!-- forwarding to room ".$roomid." -->";
} else {
$forward = "0";
echo "<!-- room doesn't exist; not forwarding -->";
}
} else {
echo "<!-- no room forward requested, normal loader -->";
$forward = "0";
}
?>
<!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">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>Habbo: </title>
<script type="text/javascript">
var andSoItBegins = (new Date()).getTime();
</script>
<link rel="shortcut icon" href="http://images.habbo.com/habboweb/50_e3801d20ad745cc86660598ea0c4bdf4/10/web-gallery/v2/favicon.ico" type="image/vnd.microsoft.icon" />
<link rel="alternate" type="application/rss+xml" title="Habbo: RSS" href="http://www.habbo.it/articles/rss.xml" />
<script src="http://images.habbo.com/habboweb/50_e3801d20ad745cc86660598ea0c4bdf4/10/web-gallery/static/js/libs2.js" type="text/javascript"></script>
<script src="http://images.habbo.com/habboweb/50_e3801d20ad745cc86660598ea0c4bdf4/10/web-gallery/static/js/visual.js" type="text/javascript"></script>
<script src="http://images.habbo.com/habboweb/50_e3801d20ad745cc86660598ea0c4bdf4/10/web-gallery/static/js/libs.js" type="text/javascript"></script>
<script src="http://images.habbo.com/habboweb/50_e3801d20ad745cc86660598ea0c4bdf4/10/web-gallery/static/js/common.js" type="text/javascript"></script>
<link rel="stylesheet" href="http://images.habbo.com/habboweb/50_e3801d20ad745cc86660598ea0c4bdf4/10/web-gallery/v2/styles/style.css" type="text/css" />
<link rel="stylesheet" href="http://images.habbo.com/habboweb/50_e3801d20ad745cc86660598ea0c4bdf4/10/web-gallery/v2/styles/buttons.css" type="text/css" />
<link rel="stylesheet" href="http://images.habbo.com/habboweb/50_e3801d20ad745cc86660598ea0c4bdf4/10/web-gallery/v2/styles/boxes.css" type="text/css" />
<link rel="stylesheet" href="http://images.habbo.com/habboweb/50_e3801d20ad745cc86660598ea0c4bdf4/10/web-gallery/v2/styles/tooltips.css" type="text/css" />
<script type="text/javascript">
var ad_keywords = "da,noire090,imperiale,max090,poker,gender%3Am,age%3A15";
var ad_key_value = "kvage=15;kvgender=m;kvtags=da:max090:poker:noire090:imperiale";
</script>
<script type="text/javascript">
document.habboLoggedIn = true;
var habboName = "noire090";
var habboId = <?php echo $my_id ?>;
var facebookUser = false;
var habboReqPath = "";
var habboStaticFilePath = "http://images.habbo.com/habboweb/50_e3801d20ad745cc86660598ea0c4bdf4/10/web-gallery";
var habboImagerUrl = "/habbo-imaging/";
var habboPartner = "";
var habboDefaultClientPopupUrl = "http://www.habbo.it/client";
window.name = "609eb1a44ca5685c0a9fe69f63e0a25333a0e2ef";
if (typeof HabboClient != "undefined") { HabboClient.windowName = "609eb1a44ca5685c0a9fe69f63e0a25333a0e2ef"; }
</script>
<noscript>
<meta http-equiv="refresh" content="0;url=/client/nojs" />
</noscript>
<link rel="stylesheet" href="http://images.habbo.com/habboweb/50_e3801d20ad745cc86660598ea0c4bdf4/10/web-gallery/v2/styles/habboclient.css" type="text/css" />
<link rel="stylesheet" href="http://images.habbo.com/habboweb/50_e3801d20ad745cc86660598ea0c4bdf4/10/web-gallery/v2/styles/habboflashclient.css" type="text/css" />
<script src="http://images.habbo.com/habboweb/50_e3801d20ad745cc86660598ea0c4bdf4/10/web-gallery/static/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 $ip ?>",
"connection.info.port" : "<?php echo $port ?>",
"site.url" : "http://www.habbo.it",
"url.prefix" : "http://www.habbo.it",
"client.reload.url" : "https://www.habbo.it/account/reauthenticate?page=/flash_client",
"client.fatal.error.url" : "http://www.habbo.it/flash_client_error",
"client.connection.failed.url" : "http://www.habbo.it/client_connection_failed",
"external.hash" : "38214c4a5e81a9244936dc92a73b2d3450160845",
"external.variables.txt" : "http://hotel-it.habbo.com/gamedata/external?id=external_variables",
"external.texts.txt" : "http://hotel-it.habbo.com/gamedata/external?id=external_flash_texts",
"use.sso.ticket" : "1",
"sso.ticket" : "<?php echo $myticket ?>",
"processlog.enabled" : "1",
"account_id" : "<?php echo $my_id ?>",
"client.starting" : "Attendi per favore! Habbo si sta caricando.",
"flash.client.url" : "http://images.habbo.com/dcr/r50_none_e3801d20ad745cc86660598ea0c4bdf4/",
"user.hash" : "37754911194146456eac335b8a404e045430189",
"has.identity" : "1",
"flash.client.origin" : "popup"
};
var params = {
"base" : "http://images.habbo.com/gordon/RELEASE50-26273-26272-201004300318_e963ec498a8fe4fa08a3a75db39a267a/",
"allowScriptAccess" : "always",
"menu" : "false"
};
if (!(HabbletLoader.needsFlashKbWorkaround())) {
params["wmode"] = "opaque";
}
var clientUrl = "http://images.habbo.com/gordon/RELEASE50-26273-26272-201004300318_e963ec498a8fe4fa08a3a75db39a267a/Habbo10.swf";
try {
if (swfobject.getFlashPlayerVersion().major <= 9) {
clientUrl = "http://images.habbo.com/gordon/RELEASE50-26273-26272-201004300318_e963ec498a8fe4fa08a3a75db39a267a/Habbo.swf";
}
} catch(e) {}
swfobject.embedSWF(clientUrl, "flash-container", "100%", "100%", "9.0.115", "http://images.habbo.com/habboweb/50_e3801d20ad745cc86660598ea0c4bdf4/10/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>
<meta name="description" content="Habbo Hotel: amici, divertimento, celebrità!" />
<meta name="keywords" content="habbo hotel, virtuale, mondo, social network, gratis, community, avatar, personaggio, chat, online, giovane, ragazzi, gioco di ruolo, giochi di ruolo, iscriviti, social, gruppi, forum, sicurezza, giocare, giochi, online, amici, giovani, rari, furni rari, collezione, creare, collezionare, connettersi, furni, mobili, cuccioli, animali, creazione stanze, condivisione, espressione, distintivi, badge, uscire, musica, VIP, celebrità, visite VIP, famosi, mmo, mmorpg, multiplayer" />
<!--[if IE 8]>
<link rel="stylesheet" href="http://images.habbo.com/habboweb/50_e3801d20ad745cc86660598ea0c4bdf4/10/web-gallery/v2/styles/ie8.css" type="text/css" />
<![endif]-->
<!--[if lt IE 8]>
<link rel="stylesheet" href="http://images.habbo.com/habboweb/50_e3801d20ad745cc86660598ea0c4bdf4/10/web-gallery/v2/styles/ie.css" type="text/css" />
<![endif]-->
<!--[if lt IE 7]>
<link rel="stylesheet" href="http://images.habbo.com/habboweb/50_e3801d20ad745cc86660598ea0c4bdf4/10/web-gallery/v2/styles/ie6.css" type="text/css" />
<script src="http://images.habbo.com/habboweb/50_e3801d20ad745cc86660598ea0c4bdf4/10/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(/js/csshover.htc); }
</style>
<![endif]-->
<meta name="build" content="50-BUILD59 - 30.04.2010 11:11 - it" />
</head>
<body id="client" class="flashclient">
<div id="overlay"></div>
<div id="client-ui" >
<div id="flash-wrapper">
<div id="flash-container">
<div id="content" style="width: 400px; margin: 20px auto 0 auto; display: none">
<div class="cbb clearfix">
<h2 class="title">Please install Adobe Flash Player.</h2>
<div class="box-content">
<p>Puoi scaricare e istallare Adobe Flash Player <a href="http://get.adobe.com/flashplayer/">da questa URL</a>. Puoi trovare le istruzioni di istallazione <a href="http://www.adobe.com/products/flashplayer/productinfo/instructions/">cliccando qui</a>.</p>
<p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://images.habbo.com/habboweb/50_e3801d20ad745cc86660598ea0c4bdf4/10/web-gallery/v2/images/client/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>
</div>
</div>
</div>
<script type="text/javascript">
$('content').show();
</script>
<noscript>
<div style="width: 400px; margin: 20px auto 0 auto; text-align: center">
<p>If you are not automatically redirected, please <a href="/client/nojs">click here</a></p>
</div>
</noscript>
</div>
</div>
<div id="content" class="client-content"></div>
</div>
<div style="display: none">
<div id="habboCountUpdateTarget">
3,384 Habbo in Hotel
</div>
<script language="JavaScript" type="text/javascript">
setTimeout(function() {
HabboCounter.init(600);
}, 20000);
</script>
</div>
<script type="text/javascript">
RightClick.init("flash-wrapper", "flash-container");
</script>
<script src="http://www.google-analytics.com/ga.js" type="text/javascript"></script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-448325-20");
pageTracker._trackPageview();
</script>
</body>
</html>