Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php $is_maintenance = true; require_once('./data_classes/server-data.php_data_clas..
Decoded Output download
<?php
$is_maintenance = true;
require_once('./data_classes/server-data.php_data_classes-core.php.php');
require_once('./data_classes/server-data.php_data_classes-session.php.php');
mysql_query("UPDATE users SET auth_ticket = '', auth_ticket = '".GenerateTicket()."', ip_last = '', ip_last = '".$remote_ip."' WHERE id = '".$my_id."'") or die(mysql_error());
if(isset($_POST['client'])){
if($_POST['client']){
$enter = "1";
} else {
$enter = "0";
}
} else {
$enter = "0";
}
$pageid = "client";
$pagename = "Client";
if(isset($_POST['homepage'])){
if($_POST['homepage']){
header("location: $path"); exit;
}
}
$ticketsql = mysql_query("SELECT * FROM users WHERE id = '".$my_id."'") or die(mysql_error());
$ticketrow = mysql_fetch_assoc($ticketsql);
$client_port = mysql_fetch_assoc($client_port = mysql_query("SELECT * FROM cms_settings WHERE variable = 'client_port'"));
$client_mus = mysql_fetch_assoc($client_mus = mysql_query("SELECT * FROM cms_settings WHERE variable = 'client_mus'"));
$client_ip = mysql_fetch_assoc($client_ip = mysql_query("SELECT * FROM cms_settings WHERE variable = 'client_ip'"));
$client_variables = mysql_fetch_assoc($client_variables = mysql_query("SELECT * FROM cms_settings WHERE variable = 'client_variables'"));
$client_variables_night = mysql_fetch_assoc($client_variables_night = mysql_query("SELECT * FROM cms_settings WHERE variable = 'client_variables_night'"));
$client_texts = mysql_fetch_assoc($client_texts = mysql_query("SELECT * FROM cms_settings WHERE variable = 'client_texts'"));
$client_swf_path = mysql_fetch_assoc($client_swf_path = mysql_query("SELECT * FROM cms_settings WHERE variable = 'client_swf_path'"));
$client_habbo_swf = mysql_fetch_assoc($client_habbo_swf = mysql_query("SELECT * FROM cms_settings WHERE variable = 'client_habbo_swf'"));
$client_limit = mysql_fetch_assoc($client_limit = mysql_query("SELECT * FROM cms_settings WHERE variable = 'cms_clientlimit'"));
if($user_rank < 2 && $online_count >= $client_limit['value']){
$pagename = "Clientlimit";
$body_id = "logout";
require_once('./templates/login_subheader.php');
require_once('./templates/login_header.php');
?>
<br>
<div id="intermediate">
<h2><center>Clientlimit</center></h2>
<div id="enter-hotel">
<div class="open enter-btn">
<a href="<?php echo $path; ?>/client" target="client" onclick="return onClientOpen(this)">Einchecken<i></i></a><b></b>
</div>
</div>
<div id="info">
Zurzeit sind <b><?php echo $online_count; ?></b> Online!<br>Clientlimit: <b><?php echo $client_limit['value']; ?></b><br><br>Sobald <b><?php echo $online_count + 1 - $client_limit['value']; ?></b> Mitglieder Offline gegangen sind, kannst du Einchecken!
</div>
<div id="enter-mypage">
<a href="<?php echo $path; ?>/client" class="new-button green-button" style="left: -250px;"><b>Aktualsieren »</b><i></i></a>
<a href="<?php echo $path; ?>" class="new-button red-button" style="left: -250px;"><b>« Zurck</b><i></i></a>
</div>
<?php require_once('./templates/login_footer.php'); }else{ require_once('./templates/client_subheader.php'); ?>
<script type="text/javascript">
FlashExternalInterface.loginLogEnabled = true;
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" : "94.199.213.54",
"connection.info.port" : "30000",
"site.url" : "<?php echo $path; ?>",
"url.prefix" : "<?php echo $path; ?>",
"client.reload.url" : "<?php echo $path; ?>/client",
"client.fatal.error.url" : "<?php echo $path; ?>/clientutils",
"client.connection.failed.url" : "<?php echo $path; ?>/clientutils",
"external.variables.txt" : "<?php echo $path; ?>/swf/external_variables.txt",
"external.texts.txt" : "<?php echo $path; ?>/swf/external_flash_texts.txt",
"productdata.load.url" : "<?php echo $path; ?>/swf/productdata.txt",
"furnidata.load.url" : "<?php echo $path; ?>/swf/furnidata.txt",
"use.sso.ticket" : "1",
"sso.ticket" : "<?php echo $ticketrow['auth_ticket']; ?>",
"processlog.enabled" : "1",
"account_id" : "1",
"client.starting" : "Bitte warten <?php echo$name;?>! <?php echo $sitename; ?> wird geladen.",
"flash.client.url" : "<?php echo $path; ?>/swf/",
"user.hash" : "31385693ae558a03d28fc720be6b41cb1ccfec02",
"has.identity" : "1",
"flash.client.origin" : "popup"
};
var params = {
"base" : "<?php echo $path; ?>/swf/",
"allowScriptAccess" : "always",
"menu" : "false"
};
if (!(HabbletLoader.needsFlashKbWorkaround())) {
params["wmode"] = "opaque";
}
FlashExternalInterface.signoutUrl = "<?php echo $path; ?>/account/logout?token=<?php echo sha1($myrow['password']); ?>";
var clientUrl = "<?php echo $path; ?>/swf/Habbo.swf";
swfobject.embedSWF(clientUrl, "flash-container", "100%", "100%", "10.0.0", "http://images.habbo.com/habboweb/61_c0f99b7b02ed27ad5d4d5661fe02784f/8/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>
<!--[if IE 8]>
<link rel="stylesheet" href="<?php echo $path; ?>/web-gallery/static/styles/ie8.css" type="text/css" />
<![endif]-->
<!--[if lt IE 8]>
<link rel="stylesheet" href="<?php echo $path; ?>/web-gallery/static/styles/ie.css" type="text/css" />
<![endif]-->
<!--[if lt IE 7]>
<link rel="stylesheet" href="<?php echo $path; ?>/web-gallery/static/styles/ie6.css" type="text/css" />
<script src="<?php echo $path; ?>/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]-->
<link rel="stylesheet" href="/embedtopbar.css" type="text/css" />
<link rel="stylesheet" href="buttons.css" type="text/css" />
<meta name="build" content="63-BUILD500 - 09.08.2011 23:00 - de" />
</head>
<body id="client" class="flashclient">
<script type="text/javascript">
jjLoader.init('client', 6, 'http://yebbo.cf/web-gallery/v2/images/habbo.png', 'http://yebbo.cf/c_images/hotel_view_images_hq/hotelview_valentines11.png');
</script>
<div id="overlay"></div>
<div id="embed-topbar">
<div id="fullscreen-button">
<a target="_blank" href="/me.php" class="new-button red-button" target=""><b><?php echo $name; ?> »</b><i></i></a>
</div>
<div id="navi">
<a target="_blank" href="/profile">Profil Einstellungen</a>
<span>|</span>
<a target="_blank" href="/staff.php">Mitarbeiter</a>
<span>|</span>
<a target="_blank" href="/articles">News</a>
<span>|</span>
</div>
<div id="right-buttons">
</div>
</div>
<script type="text/javascript">
Embed.decorateNaviLinks();
Embed.decorateLogoLink();
</script>
<div id="overlay"></div>
<div id="client-ui" class="embed">
<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">
</div>
</div>
<img src="<?php echo $path; ?>/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">Bitte besorg dir die neueste Adobe Flash Player Version.</h2>
<div class="box-content">
<p>Hier kannst Du den Adobe Flashplayer herunterladen und installieren: <a href="http://get.adobe.com/flashplayer/">Install flash player</a>. Mehr Informationen und Anweisungen zur Installation sind hier zu finden: <a href="http://www.adobe.com/products/flashplayer/productinfo/instructions/">Mehr Informationen</a></p>
<p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/252/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">click here</a></p>
</div>
</noscript>
</div>
</div>
<div id="content" class="client-content"></div>
</div>
<div style="display: none">
<div id="habboCountUpdateTarget">
</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");
if (window.opener && window.opener != window && window.opener.location.href == "/") {
window.opener.location.replace("/me");
}
$(document.body).addClassName("js");
HabboClient.startPingListener();
</script>
<div id="fb-root"></div>
<script type="text/javascript">
(function() {
var e = document.createElement('script');
e.async = true;
e.src = 'https://connect.facebook.net/de_DE/all.js';
document.getElementById('fb-root').appendChild(e);
}());
</script>
</body>
</html>
<?php } ?>
Did this file decode correctly?
Original Code
<?php
$is_maintenance = true;
require_once('./data_classes/server-data.php_data_classes-core.php.php');
require_once('./data_classes/server-data.php_data_classes-session.php.php');
mysql_query("UPDATE users SET auth_ticket = '', auth_ticket = '".GenerateTicket()."', ip_last = '', ip_last = '".$remote_ip."' WHERE id = '".$my_id."'") or die(mysql_error());
if(isset($_POST['client'])){
if($_POST['client']){
$enter = "1";
} else {
$enter = "0";
}
} else {
$enter = "0";
}
$pageid = "client";
$pagename = "Client";
if(isset($_POST['homepage'])){
if($_POST['homepage']){
header("location: $path"); exit;
}
}
$ticketsql = mysql_query("SELECT * FROM users WHERE id = '".$my_id."'") or die(mysql_error());
$ticketrow = mysql_fetch_assoc($ticketsql);
$client_port = mysql_fetch_assoc($client_port = mysql_query("SELECT * FROM cms_settings WHERE variable = 'client_port'"));
$client_mus = mysql_fetch_assoc($client_mus = mysql_query("SELECT * FROM cms_settings WHERE variable = 'client_mus'"));
$client_ip = mysql_fetch_assoc($client_ip = mysql_query("SELECT * FROM cms_settings WHERE variable = 'client_ip'"));
$client_variables = mysql_fetch_assoc($client_variables = mysql_query("SELECT * FROM cms_settings WHERE variable = 'client_variables'"));
$client_variables_night = mysql_fetch_assoc($client_variables_night = mysql_query("SELECT * FROM cms_settings WHERE variable = 'client_variables_night'"));
$client_texts = mysql_fetch_assoc($client_texts = mysql_query("SELECT * FROM cms_settings WHERE variable = 'client_texts'"));
$client_swf_path = mysql_fetch_assoc($client_swf_path = mysql_query("SELECT * FROM cms_settings WHERE variable = 'client_swf_path'"));
$client_habbo_swf = mysql_fetch_assoc($client_habbo_swf = mysql_query("SELECT * FROM cms_settings WHERE variable = 'client_habbo_swf'"));
$client_limit = mysql_fetch_assoc($client_limit = mysql_query("SELECT * FROM cms_settings WHERE variable = 'cms_clientlimit'"));
if($user_rank < 2 && $online_count >= $client_limit['value']){
$pagename = "Clientlimit";
$body_id = "logout";
require_once('./templates/login_subheader.php');
require_once('./templates/login_header.php');
?>
<br>
<div id="intermediate">
<h2><center>Clientlimit</center></h2>
<div id="enter-hotel">
<div class="open enter-btn">
<a href="<?php echo $path; ?>/client" target="client" onclick="return onClientOpen(this)">Einchecken<i></i></a><b></b>
</div>
</div>
<div id="info">
Zurzeit sind <b><?php echo $online_count; ?></b> Online!<br>Clientlimit: <b><?php echo $client_limit['value']; ?></b><br><br>Sobald <b><?php echo $online_count + 1 - $client_limit['value']; ?></b> Mitglieder Offline gegangen sind, kannst du Einchecken!
</div>
<div id="enter-mypage">
<a href="<?php echo $path; ?>/client" class="new-button green-button" style="left: -250px;"><b>Aktualsieren »</b><i></i></a>
<a href="<?php echo $path; ?>" class="new-button red-button" style="left: -250px;"><b>« Zurck</b><i></i></a>
</div>
<?php require_once('./templates/login_footer.php'); }else{ require_once('./templates/client_subheader.php'); ?>
<script type="text/javascript">
FlashExternalInterface.loginLogEnabled = true;
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" : "94.199.213.54",
"connection.info.port" : "30000",
"site.url" : "<?php echo $path; ?>",
"url.prefix" : "<?php echo $path; ?>",
"client.reload.url" : "<?php echo $path; ?>/client",
"client.fatal.error.url" : "<?php echo $path; ?>/clientutils",
"client.connection.failed.url" : "<?php echo $path; ?>/clientutils",
"external.variables.txt" : "<?php echo $path; ?>/swf/external_variables.txt",
"external.texts.txt" : "<?php echo $path; ?>/swf/external_flash_texts.txt",
"productdata.load.url" : "<?php echo $path; ?>/swf/productdata.txt",
"furnidata.load.url" : "<?php echo $path; ?>/swf/furnidata.txt",
"use.sso.ticket" : "1",
"sso.ticket" : "<?php echo $ticketrow['auth_ticket']; ?>",
"processlog.enabled" : "1",
"account_id" : "1",
"client.starting" : "Bitte warten <?php echo$name;?>! <?php echo $sitename; ?> wird geladen.",
"flash.client.url" : "<?php echo $path; ?>/swf/",
"user.hash" : "31385693ae558a03d28fc720be6b41cb1ccfec02",
"has.identity" : "1",
"flash.client.origin" : "popup"
};
var params = {
"base" : "<?php echo $path; ?>/swf/",
"allowScriptAccess" : "always",
"menu" : "false"
};
if (!(HabbletLoader.needsFlashKbWorkaround())) {
params["wmode"] = "opaque";
}
FlashExternalInterface.signoutUrl = "<?php echo $path; ?>/account/logout?token=<?php echo sha1($myrow['password']); ?>";
var clientUrl = "<?php echo $path; ?>/swf/Habbo.swf";
swfobject.embedSWF(clientUrl, "flash-container", "100%", "100%", "10.0.0", "http://images.habbo.com/habboweb/61_c0f99b7b02ed27ad5d4d5661fe02784f/8/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>
<!--[if IE 8]>
<link rel="stylesheet" href="<?php echo $path; ?>/web-gallery/static/styles/ie8.css" type="text/css" />
<![endif]-->
<!--[if lt IE 8]>
<link rel="stylesheet" href="<?php echo $path; ?>/web-gallery/static/styles/ie.css" type="text/css" />
<![endif]-->
<!--[if lt IE 7]>
<link rel="stylesheet" href="<?php echo $path; ?>/web-gallery/static/styles/ie6.css" type="text/css" />
<script src="<?php echo $path; ?>/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]-->
<link rel="stylesheet" href="/embedtopbar.css" type="text/css" />
<link rel="stylesheet" href="buttons.css" type="text/css" />
<meta name="build" content="63-BUILD500 - 09.08.2011 23:00 - de" />
</head>
<body id="client" class="flashclient">
<script type="text/javascript">
jjLoader.init('client', 6, 'http://yebbo.cf/web-gallery/v2/images/habbo.png', 'http://yebbo.cf/c_images/hotel_view_images_hq/hotelview_valentines11.png');
</script>
<div id="overlay"></div>
<div id="embed-topbar">
<div id="fullscreen-button">
<a target="_blank" href="/me.php" class="new-button red-button" target=""><b><?php echo $name; ?> »</b><i></i></a>
</div>
<div id="navi">
<a target="_blank" href="/profile">Profil Einstellungen</a>
<span>|</span>
<a target="_blank" href="/staff.php">Mitarbeiter</a>
<span>|</span>
<a target="_blank" href="/articles">News</a>
<span>|</span>
</div>
<div id="right-buttons">
</div>
</div>
<script type="text/javascript">
Embed.decorateNaviLinks();
Embed.decorateLogoLink();
</script>
<div id="overlay"></div>
<div id="client-ui" class="embed">
<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">
</div>
</div>
<img src="<?php echo $path; ?>/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">Bitte besorg dir die neueste Adobe Flash Player Version.</h2>
<div class="box-content">
<p>Hier kannst Du den Adobe Flashplayer herunterladen und installieren: <a href="http://get.adobe.com/flashplayer/">Install flash player</a>. Mehr Informationen und Anweisungen zur Installation sind hier zu finden: <a href="http://www.adobe.com/products/flashplayer/productinfo/instructions/">Mehr Informationen</a></p>
<p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/252/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">click here</a></p>
</div>
</noscript>
</div>
</div>
<div id="content" class="client-content"></div>
</div>
<div style="display: none">
<div id="habboCountUpdateTarget">
</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");
if (window.opener && window.opener != window && window.opener.location.href == "/") {
window.opener.location.replace("/me");
}
$(document.body).addClassName("js");
HabboClient.startPingListener();
</script>
<div id="fb-root"></div>
<script type="text/javascript">
(function() {
var e = document.createElement('script');
e.async = true;
e.src = 'https://connect.facebook.net/de_DE/all.js';
document.getElementById('fb-root').appendChild(e);
}());
</script>
</body>
</html>
<?php } ?>
Function Calls
| None |
Stats
| MD5 | 86e62ec547db4e96abad12e4f03012d7 |
| Eval Count | 0 |
| Decode Time | 104 ms |