Client ladet nur bis 33% benutze Homepremium CMS edit von Patrick_Engine
Hier index.php
PHP
<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" : "1",
"connection.info.host" : "<?php echo $core->CmsSetting('client_ip'); ?>",
"connection.info.port" : "<?php echo $core->CmsSetting('client_port'); ?>",
"site.url" : "<?php echo $core->CmsSetting('cms_url'); ?>",
"url.prefix" : "<?php echo $core->CmsSetting('cms_url'); ?>",
"client.reload.url" : "<?php echo $core->CmsSetting('cms_url'); ?>/client",
"client.fatal.error.url" : "<?php echo $core->CmsSetting('cms_url'); ?>/client/disconnected.php",
"client.connection.failed.url" : "<?php echo $core->CmsSetting('cms_url'); ?>/client/disconnected.php",
"external.variables.txt" : "<?php echo $core->CmsSetting('client_variables'); ?>",
"external.texts.txt" : "<?php echo $core->CmsSetting('client_texts'); ?>",
"use.sso.ticket" : "1",
"sso.ticket" : "<?php echo $ticket ?>",
"processlog.enabled" : "0",
"account_id" : "1",
"client.starting" : "Onze piccolo sleept je koffers naar Zengo!",
"flash.client.url" : "<?php echo $core->CmsSetting('client_swf_path'); ?>/",
"user.hash" : "31385693ae558a03d28fc720be6b41cb1ccfec02",
"has.identity" : "0",
"flash.client.origin" : "popup",
"token" : "<?php echo $ticket ?>"
};
var params = {
"base" : "<?php echo $core->CmsSetting('client_swf_path'); ?>/",
"allowScriptAccess" : "always",
"menu" : "false",
"bgcolor" : "#000",
"wmode" : "transparent"
};
params["wmode"] = "opaque";
FlashExternalInterface.signoutUrl = "<?php echo $core->CmsSetting('cms_url'); ?>/logout.php";
var clientUrl = "<?php echo $core->CmsSetting('client_habbo_swf'); ?>";
swfobject.embedSWF(clientUrl, "flash-container", "100%", "100%", "10.0.0", "http://images.habbo.com/habboweb/<?php echo $webbuild; ?>/web-gallery/flash/expressInstall.swf", flashvars, params, null, FlashExternalInterface.embedSwfCallback);
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) {}
}
window.onresize = function() {
HabboClient.storeWindowSize();
}.debounce(0.5);
</script>
<!--[if IE 8]>
<link rel="stylesheet" href="http://images.habbo.com/habboweb/<?php echo $webbuild; ?>/web-gallery/static/styles/ie8.css" type="text/css" />
<![endif]-->
<!--[if lt IE 8]>
<link rel="stylesheet" href="http://images.habbo.com/habboweb/<?php echo $webbuild; ?>/web-gallery/static/styles/ie.css" type="text/css" />
<![endif]-->
<!--[if lt IE 7]>
<link rel="stylesheet" href="http://images.habbo.com/habboweb/<?php echo $webbuild; ?>/web-gallery/static/styles/ie6.css" type="text/css" />
<script src="http://images.habbo.com/habboweb/<?php echo $webbuild; ?>/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-BUILD695 - 31.08.2011 11:16 - nl" />
</head>
<body id="client" class="flashclient">
<div id="overlay"></div>
<img src="http://images.habbo.com/habboweb/<?php echo $webbuild; ?>/web-gallery/v2/images/page_loader.gif" style="position:absolute; margin: -1500px;" />
<link rel="stylesheet" type="text/css" href="../Public/Styles/Default/CSS/main.css">
<?php if($users->UserInfo($username, 'header_client') == "0"){ ?>
<style type="text/css">
#user_avatar {
height: 65px;
width: 64px;
float: left;
margin-top: -16px;
}
.avatar_placement {
background: url(http://www.habbo.com/habbo-imaging/avatarimage?figure=<?php echo $users->UserInfo($username, 'look'); ?>&action=wav&gesture=sml);
}
</style>
<div id="top">
<div id="topbar">
<img src="../Public/Styles/Default/Images/logo_mini.png" style="float:left; padding-left:5px; padding-top: 12px;">
<p id="text"> Ingelogt als, <?php echo $users->UserInfo($username, 'username'); ?>
<div id="user_avatar" class="avatar_placement"></div>
</p>
<div id="right" style="margin-top: -24px;">
<table width="350" border="0">
<tbody><tr>
<td><img src="../Public/Styles/Default/Images/tab_icon_05_fun.gif"></td>
<td><span id="users">
<?php
$userq_tellup = mysql_query("SELECT * FROM users WHERE online = '1' ORDER BY id ASC");
$user_tellup = mysql_num_rows($userq_tellup);
?>
<?php if($user_tellup == 0){ ?>Er zijn geen gebruikers Online
<?php }elseif($user_tellup == 1){ ?>Er is 1 gebruiker Online
<?php }elseif($user_tellup > 1){ ?>Er zijn <?php echo $user_tellup; ?> gebruikers Online<?php } ?>
</span>
</td>
<td><img src="../Public/Styles/Default/Images/tab_icon_05_fun.gif"></td>
<td><a href="../vip.php" target="_new">Koop VIP</a></td>
<td></td>
<td></td>
</tr>
</tbody></table>
<div style="clear:both;"></div>
</div>
</div>
</div>
<?php } ?>
<div id="overlay"></div>
<div id="client-ui" style=" <?php if($users->UserInfo($username, 'header_client') == "0"){ ?>height: 94.9%;<?php } ?>position: bottom;">
<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">Installeer alsjeblieft de meest recente versie van de Adobe Flash Player</h2>
<div class="box-content">
<p>Je hebt de Adobe Flash Player nodig om de Beta te testen. Je kan deze vanaf de volgende link downloaden en installeren: <br><br>
<a target ="blank"href="http://get.adobe.com/flashplayer/">Installeer Adobe Flash Player</a>.<br><br>
Klik op 'Agree and install now' om de installatie te starten. Op deze <a target="blank" href="http://www.adobe.com/products/flashplayer/productinfo/instructions/">pagina</a> vind je een Engelse instructie voor bij de installatie.</p>
<p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://images.habbo.com/habboweb/<?php echo $webbuild; ?>/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>
<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();
Pinger.start(true);
HabboClient.resizeToFitScreenIfNeeded();
</script>
<script language="JavaScript" type="text/javascript">
getFingerprint();
</script>
<script type="text/javascript">
HabboView.run();
</script>
<script type="text/javascript">
jjLoader.init('client', 6, '../Public/Styles/Default/Images/logo2.gif', '../Public/Styles/Default/Images/home_hotel_vieuw.png');
</script>
</body>
</html>
Alles anzeigen