@asapi
Client.php :
<?php
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());
$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 > 8 && $_SESSION['acp'] == 0){
echo"<script>alert(\"Bitte log dich ins Housekeeping ein, damit du ins Hotel einchecken kannst.\");</script>
<meta http-equiv=\"refresh\" content=\"0;url=".$adminpath."/index/p/login&do=secretcode\">";
} elseif($user_rank < 9 && $online_count >= $client_limit['value']){
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="http://134.255.233.41/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="http://134.255.233.41/client" class="new-button green-button" style="left: -250px;"><b>Aktualsieren »</b><i></i></a>
<a href="http://134.255.233.41" class="new-button red-button" style="left: -250px;"><b>« Zurück</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" : "zobbo.de",
"connection.info.port" : "30000",
"site.url" : "http://zobbo.de",
"url.prefix" : "http://zobbo.de",
"client.reload.url" : "http://134.255.233.41/client",
"client.fatal.error.url" : "http://134.255.233.41/clientutils",
"client.connection.failed.url" : "http://134.255.233.41/clientutils",
"external.variables.txt" : "http://134.255.233.41/swfs/external_variables.txt",
"external.texts.txt" : "http://134.255.233.41/swfs/external_flash_texts.txt",
"productdata.load.url" : "http://134.255.233.41/swfs/productdata.txt",
"furnidata.load.url" : "http://134.255.233.41/swfs/furnidata.txt",
"use.sso.ticket" : "1",
"sso.ticket" : "<?php echo $ticketrow['auth_ticket']; ?>",
"processlog.enabled" : "1",
"account_id" : "1",
"client.starting" : "Bitte warten! vJabbo wird geladen.",
"flash.client.url" : "http://134.255.233.41/swfs/swfs",
"user.hash" : "31385693ae558a03d28fc720be6b41cb1ccfec02",
"has.identity" : "1",
"flash.client.origin" : "popup"
};
var params = {
"base" : "http://134.255.233.41/swfs/",
"allowScriptAccess" : "always",
"menu" : "false"
};
if (!(HabbletLoader.needsFlashKbWorkaround())) {
params["wmode"] = "opaque";
}
FlashExternalInterface.signoutUrl = "http://134.255.233.41/account/logout?token=<?php echo sha1($myrow['password']); ?>";
var clientUrl = "http://134.255.233.41/swfs/habbo.swf";
swfobject.embedSWF(clientUrl, "flash-container", "100%", "100%", "10.0.0", " http://images.habbo.com/habboweb/61_c0…ressInstall.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 - Freunde treffen, Spaß haben und berühmt werden." />
<meta name="keywords" content="Habbo Hotel , virtuell, Welt, social network, gratis, community, avatar, chat, online, teen, Rollenspiel, anmelden, sozial, Gruppen, Foren, sicher, spielen, games, online, Freunde, teens, rares, rare Möbel, sammeln, erstellen, sammeln, treffen, Möbel, furni, Haustiere, Raum erstellen, teilen, Ausdruck, Badges, Treffpunkt, Musik, Stars, Starchats, VIPs, mmo, mmorpg, massiv multiplayer" />