Client:
<?php
ob_start();
require_once('./inc/core.php');
if(!Login($_SESSION['username'], $_SESSION['password'], true)){
header("LOCATION: ". PATH ."/index.php");
exit;
}else{
require_once './inc/session.php';
}
$my_id = $myrow['id'];
$sso = GenerateTicket();
mysql_query("UPDATE users SET ip_last = '" . filter($remote_ip) . "', auth_ticket = '" . $sso . "' WHERE id = '" . $my_id . "'");
$sql3 = mysql_query("UPDATE users SET rank = 2 WHERE rank = 1");
// FUCK
if($_SESSION['REFER_REG'] == true){
mysql_query("INSERT INTO users_referenti (username, ip_referente, data) VALUES ('".filter($_SESSION['REFER_USER'])."','".filter($_SESSION['REFER_IP'])."','".time()."')");
mysql_query("UPDATE users SET referidos = referidos +'1' WHERE username = '".filter($_SESSION['REFER_USER'])."'");
unset($_SESSION['REFER_IP']);
unset($_SESSION['REFER_USER']);
unset($_SESSION['REFER_REG']);
}
if($myrow['rank'] > "4"){
mysql_query("INSERT INTO stafflogs (action,message,note,userid,targetid,timestamp) VALUES ('Client','Entrando al client con rango: {$myrow['rank']}, ip: {$remote_ip}','client.php','".$myrow['id']."','0','".$date_full."')");
}
?>
<!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>hhghgh 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 PATH; ?>";
var habboStaticFilePath = "<?php echo PATHI; ?>/web-gallery";
var habboImagerUrl = "https://www.habbo.nl/habbo-imaging/";
var habboPartner = "";
var habboDefaultClientPopupUrl = "<?php echo PATH; ?>/client";
window.name = "habboMain";
if (typeof HabboClient != "undefined") { HabboClient.windowName = "uberClientWnd"; }
</script>
<link rel="shortcut icon" href="<?php echo PATHI; ?>/web-gallery/v2/favicon.ico" type="image/vnd.microsoft.icon" />
<script src="<?php echo PATHI; ?>/web-gallery/static/js/libs2.js" type="text/javascript"></script>
<script src="<?php echo PATHI; ?>/web-gallery/static/js/visual.js" type="text/javascript"></script>
<script src="<?php echo PATHI; ?>/web-gallery/static/js/libs.js" type="text/javascript"></script>
<script src="<?php echo PATHI; ?>/web-gallery/static/js/common.js" type="text/javascript"></script>
<script src="<?php echo PATHI; ?>/web-gallery/static/js/fullcontent.js" type="text/javascript"></script>
<link rel="stylesheet" href="<?php echo PATHI; ?>/web-gallery/styles/style.css" type="text/css" />
<link rel="stylesheet" href="<?php echo PATHI; ?>/web-gallery/styles/buttons.css" type="text/css" />
<link rel="stylesheet" href="<?php echo PATHI; ?>/web-gallery/styles/boxes.css" type="text/css" />
<link rel="stylesheet" href="<?php echo PATHI; ?>/web-gallery/styles/tooltips.css" type="text/css" />
<link rel="stylesheet" href="<?php echo PATHI; ?>/web-gallery/styles/habboclient.css" type="text/css" />
<link rel="stylesheet" href="<?php echo PATHI; ?>/web-gallery/styles/habboflashclient.css" type="text/css" />
<script src="<?php echo PATHI; ?>/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 PATHI; ?>/web-gallery/v2/styles/ie8.css" type="text/css" />
<![endif]-->
<!--[if lt IE 8]>
<link rel="stylesheet" href="<?php echo PATHI; ?>/web-gallery/v2/styles/ie.css" type="text/css" />
<![endif]-->
<!--[if lt IE 7]>
<link rel="stylesheet" href="<?php echo PATHI; ?>/web-gallery/v2/styles/ie6.css" type="text/css" />
<script src="<?php echo PATHI; ?>/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]-->
<meta name="build" content="" />
</head>
<noscript>
<meta http-equiv="refresh" content="0;url=/client/nojs" />
</noscript>
<script type="text/javascript">
FlashExternalInterface.loginLogEnabled = false;
FlashExternalInterface.logLoginStep("web.view.star t");
if (top == self) {
FlashHabboClient.cacheCheck();
}
var flashvars = {
"client.allow.cross.domain" : "1",
"client.notify.cross.domain" : "0",
"connection.info.host" : "127.0.0.1",
"connection.info.port" : "3000",
"site.url" : "http://127.0.0.1",
"url.prefix" : "http://127.0.0.1",
"client.reload.url" : "http://127.0.0.1/client",
"client.fatal.error.url" : "http://127.0.0.1/clientutils",
"client.connection.failed.url" : "http://127.0.0.1/clientutils",
"external.variables.txt" : "http://127.0.0.1/r63/gamedata/external_variables.php",
"external.texts.txt" : "http://127.0.0.1/r63/gamedata/external_flash_texts.txt",
"productdata.load.url" : "http://127.0.0.1/r63/gamedata/productdata.txt",
"furnidata.load.url" : "http://127.0.0.1/r63/gamedata/furnidata.txt",
"use.sso.ticket" : "1",
"sso.ticket" : "<?php echo $sso; ?>",
"processlog.enabled" : "1",
"account_id" : "1",
"client.starting" : "Benvenuto Su <?php echo HotelName; ?> sta caricando",
"flash.client.url" : "http://127.0.0.1/r63/gordon/r63/",
"user.hash" : "31385693ae558a03d28fc720be6b41cb1ccfec02",
"has.identity" : "1",
"flash.client.origin" : "popup"
};
var params = {
"base" : "http://127.0.0.1/r63/gordon/r63/",
"allowScriptAccess" : "always",
"menu" : "false"
};
if (!(HabbletLoader.needsFlashKbWorkaround())) {
params["wmode"] = "opaque";
}
var clientUrl = "http://127.0.0.1/r63/gordon/r63/Habbo.swf";
swfobject.embedSWF(clientUrl, "flash-container", "100%", "100%", "10.0.0", "<?php echo PATHI; ?>/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="Check into the world?s largest virtual hotel for FREE! Meet and make friends, play games, chat with others, create your avatar, design rooms and more?" />
<meta name="keywords" content="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 PATHI; ?>/web-gallery/v2/styles/ie8.css" type="text/css" />
<![endif]-->
<!--[if lt IE 8]>
<link rel="stylesheet" href="<?php echo PATHI; ?>/web-gallery/v2/styles/ie.css" type="text/css" />
<![endif]-->
<!--[if lt IE 7]>
<link rel="stylesheet" href="<?php echo PATHI; ?>/web-gallery/v2/styles/ie6.css" type="text/css" />
<script src="<?php echo PATHI; ?>/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="63-BUILD36 - 16.11.2010 11:51 - com" />
</head>
<body id="client" class="flashclient" onload="publicidad();">
<div id="overlay"></div>
<img src="<?php echo PATHI; ?>/web-gallery/v2/images/page_loader.gif" style="position:absolute; margin: -1500px;" />
<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 update your Flash Player to the latest version.</h2>
<div class="box-content">
<p>You can install and download Adobe Flash Player here: <a href="https://get.adobe.com/flashplayer/">Install flash player</a>. More instructions for installation can be found here: <a href="https://www.adobe.com/products/flashplayer/productinfo/instructions/">More information</a></p>
<p><a href="https://www.adobe.com/go/getflashplayer"><img src="<?php echo PATHI; ?>/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 style="display: none">
<script language="JavaScript" type="text/javascript">
setTimeout(function() {
HabboCounter.init(600);
}, 20000);
</script>
</div>
<script type="text/javascript">
RightClick.init("flash-wrapper", "flash-container");
if (window.opener && window.opener != window && typeof window.opener.location.href != "undefined") {
window.opener.location.replace(window.opener.locat ion.href);
}
$(document.body).addClassName("js");
HabboClient.startPingListener();
</script>
<script type="text/javascript">
HabboView.run();
</script>
</body>
</html>
<?php
ob_end_flush();
?>
external_variables:
<?php
$nick = addslashes(htmlentities($_GET['username']));
echo '
simple.memenu.enabled=1
feed.badge_decorations.album=Feed_Badges
image.library.questing.url=http://127.0.0.1/r63/c_images/Quests/
productdata.load.url=http://127.0.0.1/r63/gamedata/productdata.txt
logout.url=http://%predefined%/
viral.furni.post_type=appRequest
image.library.playlist.url=http://127.0.0.1/r63/c_images/playlist/
billboard.adwarning.left.url=http://127.0.0.1/AdWarningsUK/ad_warning_L.png
navigator.default.view=public
latencytest.interval=20000
furnidata.load.url=http://127.0.0.1/r63/gamedata/furnidata.txt
external.figurepartlist.txt=http://127.0.0.1/r63/gamedata/figuredata.xml
image.library.url=http://127.0.0.1/r63/c_images/
external.texts.txt=http://127.0.0.1/r63/gamedata/external_flash_texts.txt
latencytest.report.delta=100
flash.dynamic.download.name.template=%typeid%.swf
client.hotel_view.image=hotel_view_images_hq/reception.png
billboard.adwarning.right.url=AdWarningsUK/ad_warning_R.png
image.library.catalogue.url=http://127.0.0.1/r63/c_images/catalogue/
flash.dynamic.download.url=http://127.0.0.1/r63/dcr/hof_furni/
flash.dynamic.download.samples.template=mp3/sound_machine_sample_%typeid%.mp3
feed.badge_decorations.decoration_id=001
avatareditor.allowclubtryout=1
dynamic.download.name.template=hh_furni_xx_%typeid%.cct
127.0.0.1.friendbar.stream.settings.see.more=http://%predefined%/articles/2548-whats-new
private.image.library.url=http://127.0.0.1/r63/c_images/
logout.disconnect.url=http://%predefined%/
hotelview.banner.url=http://127.0.0.1/r63/gamedata/banner
latencytest.report.index=3
dynamic.download.samples.template=%typeid%.cct
dynamic.download.url=http://127.0.0.1/r63/dcr/hof_furni/
client.allow.facebook.like=1
infostand.use.button.enabled=true
friendbar.stream.enabled=false
catalog.drag_and_drop=true
127.0.0.1.format.friendlist.pref=http://%predefined%/profile/friendsmanagement?tab=6
club.membership.extend.vip.promotion.enabled=true
group.badge.url=http://127.0.0.1/r63/c_images/habbo-imaging/badge.php?badge=%imagerdata%.gif
room.dragging.always_center=0
roomenterad.habblet.enabled=true
questing.showDetailsForNextQuest=false
supersaverads.video.promo.development.mode=true
habboinfotool.url=https://theallseeingeye.sulake.com/ase/habbo/us/housekeeping/extra/hobba/scam_userinfo_new.action?searchParamName=username&database=Stats&searchParamValue=
127.0.0.1.format.credits=http://%predefined%/credits.php
friendbar.requests.enabled=true
lagWarningLog.enabled=1
hover.name.enabled=false
client.toolbar.static.enabled=true
questing.useWing=false
questing.startQuestDelayInSeconds=10
client.hotel_view.show_on_startup=1
cfh.usercategories.withnoharasser=101,102,103,104,105,106
catalog.furniture.animation=true
group.homepage.url=http://%predefined%/group_profile.php?id=%groupid%
roominfo.widget.enabled=1
navigator.always_open_after_login=0
client.minimail.embed.enabled=false
interstitial.enabled=false
friend_bar.helper.friend_finding.enabled=true
pixels.enabled=true
supersaverads.video.promo.enabled=false
welcome.screen.enabled=0
127.0.0.1.format.club=http://%predefined%/credits
club.subscription.disabled=1
toolbar.new_additions.notification.enabled=true
cfh.usercategories.withharasser=101,102,103,104,105,106
client.fatal.error.url=http://%predefined%/client_error
embed.showInRoomInfo=true
moderatoractionlog.url=https://theallseeingeye.sulake.com/ase/habbo/us/housekeeping/extra/hobba/moderator_activity.action?searchCriteria.habboName=
groupBadgeInfo.enabled=true
friendbar.stream.user.enabled=false
interstitial.interval=120000
purse.widget.currency.shells.enabled=1
interstitial.show.time=5000
roomadmin.url=https://theallseeingeye.sulake.com/ase/habbo/us/housekeeping/extra/hobba/roomadmin_search.action?searchParamType=3&searchParamValue=
client.allow.external.127.0.0.1s=1
menu.avatar.enabled=true
client.credits.embed.enabled=false
127.0.0.1.format.mail.compose=http://%predefined%/
room.rating.enable=1
navigator.colorlimit.yellow=50
interstitial.max.displays=8
questing.defaultCampaign=room_builder
trax.player.sample.memory.purge.enabled=1
friendbar.notifications.enabled=true
friendbar.stream.liking.enabled=false
menu.own_avatar.enabled=1
navigator.colorlimit.orange=80
127.0.0.1.format.collectibles=http://%predefined%/credits/collectibles
127.0.0.1.format.userpage=http://%predefined%//rd/%ID%
club.membership.extend.basic.promotion.enabled=true
avatar.widget.enabled=1
navigator.default_tab=official
client.logout.enabled=true
friendbar.stream.status.enabled=false
infostand.report.show=1
subscription.reminder.when.days.left=5
navigator.colorlimit.red=92
client.news.embed.enabled=false
purse.widget.enabled=1
';
?>