PHP Code:
<?php if($this->MyUser->online != 1) { ?><!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> <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" /> <title>HabboR: Client</title>
<script type="text/javascript">
var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-36809022-1']); _gaq.push(['_setDomainName', 'habbor.de']); _gaq.push(['_trackPageview']);
(function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })();
</script>
<script type="text/javascript">var andSoItBegins = (new Date()).getTime();</script> <script type="text/javascript">var andSoItBegins = (new Date()).getTime();</script> <link rel="shortcut icon" href="http://www.testhotel.habbor.de/web-gallery/v2/images/favicon.ico" type="image/vnd.microsoft.icon" />
<script src="http://www.habbor.de/web-gallery/static/js/libs2.js" type="text/javascript"></script><script src="http://www.habbor.de/web-gallery/static/js/visual.js" type="text/javascript"></script><script src="http://www.habbor.de/web-gallery/static/js/libs.js" type="text/javascript"></script><script src="http://www.habbor.de/web-gallery/static/js/common.js" type="text/javascript"></script>
<link rel="stylesheet" href="http://www.habbor.de/web-gallery/v2/styles/common.css" type="text/css" /><link rel="stylesheet" href="http://www.habbor.de/web-gallery/v2/styles/process.css" type="text/css" /><link rel="stylesheet" href="http://www.habbor.de/web-gallery/v2/styles/style.css" type="text/css" />
<script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.10.4/jquery-ui.min.js"></script><script type="text/javascript" src="http://hosted.musesradioplayer.com/mrp.js"></script>
<link rel="stylesheet" href="http://www.habbor.de/web-gallery/v2/styles/habboflashclient.css" type="text/css" /><script src="http://www.habbor.de/web-gallery/static/js/habboflashclient.js" type="text/javascript"></script><script type="text/javascript">document.habboLoggedIn = true;var habboName = "<?php echo $this->filter($this->MyUser->username); ?>";var habboId = <?php echo $this->filter($this->MyUser->id); ?>;var facebookUser = false;var habboReqPath = "";var habboStaticFilePath = "http://www.swf.habbor.de/web-gallery";var habboImagerUrl = "http://www.swf.habbor.de/habbo-imaging/";var habboPartner = "";var habboDefaultClientPopupUrl = "http://www.habbor.de/client";window.name = "<?php echo $this->filter($this->MyUser->auth_ticket); ?>";if (typeof HabboClient != "undefined") { HabboClient.windowName = "<?php echo $this->filter($this->MyUser->auth_ticket); ?>"; }</script>
</script>
<meta property="fb:app_id" content="163085011898" />
<noscript> <meta http-equiv="refresh" content="0;url=/client/nojs" /></noscript>
<link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Ubuntu:regular,bold&subset=Latin">
<script type="text/javascript">
<?php if (isset($_GET['id']) && $_GET['id'] == '2'){ MUS::SignOut($this->MyUser);?>alert("Du bist bereits eingeloggt.");<?php } ?>function DoResize(){ var nHeight; if (typeof window.innerHeight == 'undefined') { nHeight = document.body.clientHeight -200; } else { nHeight = window.innerHeight -200; } document.getElementById('flash').style.height = nHeight+'px';}
function dcstr(coded) { coded = decodeURIComponent(coded); var uncoded = ""; var chr; for (var i = coded.length - 1; i >= 0; i--) { chr = coded.charAt(i); uncoded += (chr >= "a" && chr <= "z" || chr >= "A" && chr <= "Z") ? String.fromCharCode(65 + key.indexOf(chr) % 26) : chr; } return uncoded; } FlashExternalInterface.loginLogEnabled = true; FlashExternalInterface.logLoginStep("web.view.start"); if (top == self) { FlashHabboClient.cacheCheck(); } var flashvars = { "client.starting" : "Prime BETA: Much epicness.", "client.allow.cross.domain" : "1", "client.notify.cross.domain" : "0", "connection.info.host" : "142.4.214.68", "connection.info.port" : "30000", "site.url" : "http://prime.sx", "url.prefix" : "http://prime.sx", "client.reload.url" : "http://prime.sx/client", "client.fatal.error.url" : "http://prime.sx/me", "client.connection.failed.url" : "http://prime.sx/me", "external.variables.txt" : "http://prime.sx/game/external_variables.txt", "external.texts.txt" : "http://prime.sx/game/external_flash_texts_en.txt", "external.figurepartlist.txt" : "http://prime.sx/game/figuredata.xml", "external.override.texts.txt" : "http://prime.sx/game/external_flash_override_texts.txt", "external.override.variables.txt" : "http://prime.sx/game/external_override_variables.txt", "productdata.load.url" : "http://prime.sx/game/productdata.txt", "furnidata.load.url" : "http://prime.sx/game/furnidata_xml.xml", "use.sso.ticket" : "1", "sso.ticket" : "<?php echo $this->sso; ?>", "processlog.enabled" : "0", "flash.client.url" : "\//prime.sx/game/", "user.hash" : "<?php echo $this->filter($this->MyUser->auth_ticket); ?>", "flash.client.origin" : "popup" }; }; var params = { "base" : "http://www.prime.sx/game/", "allowScriptAccess" : "always", "menu" : "false", "wmode" : "opaque" }; FlashExternalInterface.signoutUrl = "<?php echo CMS_PATH; ?>account/logout?token=7856138f019f78052d2a34212ec6db60e393709e"; var clientUrl = "http://prime.sx/game/Habbo.swf"; onreloadx(flashvars); swfobject.embedSWF(clientUrl, "flash-container", "100%", "100%", "10.0.0", "http://prime.sx/game/expressInstall.swf", flashvars, params); flashvars = null; 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 = DoResize; function onreloadx(vars) { // reload hp
} </script>
</head> <meta name="build" content="63-BUILD406 - 09.05.2011 23:04 - de" /></head><style> @import url(http://fonts.googleapis.com/css?family=Open+Sans:400,300,600,700,800);@import url(http://fonts.googleapis.com/css?family=Ubuntu);.hotelalert, #wunschbox_box, #events_box_content, .habox { background: #E9E9E1; height: 200px; border: 1px solid black; border-bottom: 2px solid black; border-radius: 4px; display: none; width: 300px; margin: 0px 15px; box-shadow: inset 0px 0px 0px 2px white, 0px 0px 20px 0px black; color: #666666; margin: 0 auto; position: absolute; top: 20px; left: 20px; z-index: 999999999999999999; } .hotelalert > .head, #wunschbox_box > .head, #events_box_content > .head, .habox > .head { height: 31px; background: #3F4141; border-radius: 3px 3px 0px 0px; border: 2px solid #4B4B4B; border-bottom: 1px solid black; text-align: center; font-weight: bold; cursor: move; line-height: 27px; color: white; } .hotelalert > #close, #wunschbox_box > #close, #events_box_content > #close, .habox > #close { background-image: url(<?php echo CMS_PATH; ?>public/images/client/close_normal.png); width: 19px; cursor: pointer; background-repeat: no-repeat; background-position: 0 center; height: 31px; float: right; margin-right: 10px; } .hotelalert > #close:hover, #wunschbox_box > #close:hover, #events_box_content > #close:hover, .habox > #close:hover { background-image: url(<?php echo CMS_PATH; ?>public/images/client/close_normal_hover.png); } #radio { float: left; background: url(<?php echo CMS_PATH; ?>public/images/client/note.png) center no-repeat; } .event { height: 39px; background-color: #F0F0F0; border: 1px solid #E5E5E5; border-radius: 5px; position: relative; margin-right: 3px; margin-bottom: 3px; background-repeat: no-repeat; background-position: 6px center; background-image: url(<?php echo CMS_PATH; ?>public/images/events/waiting.png); } .event.active { background-color: #B3EAFF; border: 1px solid #BADAE9; background-position: 10px center; background-image: url(<?php echo CMS_PATH; ?>public/images/events/running.png); } .event .name { position: absolute; color: rgba(0,0,0,0.8); font-size: 15px; font-weight: bold; margin-left: 40px; margin-top: 5px; } .event .desc { position: absolute; color: rgba(0,0,0,0.6); margin-top: 22px; margin-left: 40px; } .event .time { position: absolute; right: 10px; margin-top: 5px; color: rgba(0,0,0,0.4); }
b { font-weight: bold; } #events { float: left; background: url(<?php echo CMS_PATH; ?>public/images/events/events_icon.png) center no-repeat; } #preislisten_btn { float: left; background: url(<?php echo CMS_PATH; ?>public/images/preisliste/icon.png) center no-repeat; } <?php if($this->MyUser->rank > 3) {?> #backend{ float: left; background: url(<?php echo CMS_PATH; ?>public/images/icons/toolbar_02.gif) center no-repeat; } #backend_overlay { background: rgba(0,0,0,0.7); margin: 0 auto; width: 100%; overflow: hidden; height: 100%; display: none; position: absolute; z-index: 99999999999999999999999999999999999; } <?php } ?> #setfullscreen { position: absolute; color: white; font-family: Ubuntu; text-decoration: underline; border-radius: 6px; box-shadow: inset 0px 0px 0px 2px rgba(84, 82, 77, 0.9); border: 1px solid black; border-bottom: 2px solid black; background: rgba(36, 35, 30, 0.9); height: 25px; line-height: 25px; right: 3px; z-index: 99; text-shadow: 0px 1px 0px black; padding: 0 20px; top: 156px; cursor: pointer; } #setfullscreen:hover { cursor: pointer; color: #BAE1F9 } .preislisten_nav { font-family: Ubuntu; cursor: pointer; height: 30px; line-height: 30px; padding: 0 10px; } .preislisten_nav:nth-child(odd) { background: rgba(0,0,0,0.05); } .preislisten_nav.selected { font-weight: bold; cursor: text; } #clientbar { height: 43px; line-height: 43px; border: 1px solid #000; -webkit-border: 1px solid #000; -moz-border: 1px solid #000; -ms-border: 1px solid #000; -o-border: 1px solid #000; border-bottom: 1px solid black; position: fixed; right: 220px; top: 4px; z-index: 999; background: #24211C; box-shadow: inset 0px 1px 0px 0px #33312B, inset 0px 6px 0px 0px #27251F, inset 0px -2px 0px 0px #33312B, inset 0px -7px 0px 0px #201D19, 0px 0px 10px 0px rgba(0,0,0,0.3); -webkit-box-shadow: inset 0px 1px 0px 0px #33312B, inset 0px 6px 0px 0px #27251F, inset 0px -2px 0px 0px #33312B, inset 0px -7px 0px 0px #201D19, 0px 0px 10px 0px rgba(0,0,0,0.3); -moz-box-shadow: inset 0px 1px 0px 0px #33312B, inset 0px 6px 0px 0px #27251F, inset 0px -2px 0px 0px #33312B, inset 0px -7px 0px 0px #201D19, 0px 0px 10px 0px rgba(0,0,0,0.3); -ms-box-shadow: inset 0px 1px 0px 0px #33312B, inset 0px 6px 0px 0px #27251F, inset 0px -2px 0px 0px #33312B, inset 0px -7px 0px 0px #201D19, 0px 0px 10px 0px rgba(0,0,0,0.3); -o-box-shadow: inset 0px 1px 0px 0px #33312B, inset 0px 6px 0px 0px #27251F, inset 0px -2px 0px 0px #33312B, inset 0px -7px 0px 0px #201D19, 0px 0px 10px 0px rgba(0,0,0,0.3); border-radius: 0px 0px 3px 3px; -webkit-border-radius: 3px; -moz-border-radius 3px; -ms-border-radius: 3px; -o-border-radius: 3px; padding: 0 10px; } .brk { height: 29px; background: black; border-right: 1px solid #3D3932; width: 1px; float: left; margin-top: 7px; } .icon { cursor: pointer; transition: opacity 0.4s; height: 43px; width: 35px; margin-left: 10px; margin-right: 10px; } .icon:hover { opacity: 0.3; } .online_count { position: absolute; top: 60px; color: #FFF; border: 1px solid #000; -webkit-border: 1px solid #000; -moz-border: 1px solid #000; -ms-border: 1px solid #000; -o-border: 1px solid #000; border-bottom: 1px solid black; background: #24211C; box-shadow: inset 0px 1px 0px 0px #33312B, inset 0px 6px 0px 0px #27251F, inset 0px -2px 0px 0px #33312B, inset 0px -7px 0px 0px #201D19, 0px 0px 10px 0px rgba(0,0,0,0.3); -webkit-box-shadow: inset 0px 1px 0px 0px #33312B, inset 0px 6px 0px 0px #27251F, inset 0px -2px 0px 0px #33312B, inset 0px -7px 0px 0px #201D19, 0px 0px 10px 0px rgba(0,0,0,0.3); -moz-box-shadow: inset 0px 1px 0px 0px #33312B, inset 0px 6px 0px 0px #27251F, inset 0px -2px 0px 0px #33312B, inset 0px -7px 0px 0px #201D19, 0px 0px 10px 0px rgba(0,0,0,0.3); -ms-box-shadow: inset 0px 1px 0px 0px #33312B, inset 0px 6px 0px 0px #27251F, inset 0px -2px 0px 0px #33312B, inset 0px -7px 0px 0px #201D19, 0px 0px 10px 0px rgba(0,0,0,0.3); -o-box-shadow: inset 0px 1px 0px 0px #33312B, inset 0px 6px 0px 0px #27251F, inset 0px -2px 0px 0px #33312B, inset 0px -7px 0px 0px #201D19, 0px 0px 10px 0px rgba(0,0,0,0.3); border-radius: 0px 0px 3px 3px; -webkit-border-radius: 3px; -moz-border-radius 3px; -ms-border-radius: 3px; -o-border-radius: 3px; height: 30px; line-height: 30px; width: 100%; padding: 0 10px; margin-left: -10px; } #pfeil_top_online { position: absolute; border-style: solid; height: 10px; top: -34px; border-width: 15px; left: 50%; margin-left: -15px; border-color: transparent transparent #24211C transparent; } #group.icon { float: left; background: url('<?php echo CMS_PATH; ?>public/images/clientbar/gruppen_head2.png') center center no-repeat; } .client_black_overlay { height: 100%; width: 100%; position: fixed; background: rgba(0,0,0,0.4); z-index: 9999999999999999999999999999999999999; display: none; } .group_container { position: fixed; height: 250px; width: 500px; background: #E2E2E2; border: 1px solid #3C3C3C; -webkit-box-shadow: inset 0px 2px 0px 0px white, inset 0px -5px 0px 0px #D3D3D3; -moz-box-shadow: inset 0px 2px 0px 0px white, inset 0px -5px 0px 0px #D3D3D3; -o-box-shadow: inset 0px 2px 0px 0px white, inset 0px -5px 0px 0px #D3D3D3; -ms-box-shadow: inset 0px 2px 0px 0px white, inset 0px -5px 0px 0px #D3D3D3; box-shadow: inset 0px 2px 0px 0px white, inset 0px -5px 0px 0px #D3D3D3; display: none; top: 50%; left: 50%; color: #000; margin-top: -125px; margin-left: -250px; -webkit-border-radius: 4px; -moz-border-radius: 4px; -o-border-radius: 4px; -ms-border-radius: 4px; border-radius: 4px; padding: 10px; font-family: Ubuntu; } .ntextbox { padding: 7px; border-radius: 3px; border: 1px solid #848484; box-shadow: inset 0px 2px 2px 0px rgba(0,0,0,0.1); font-family:Ubuntu; font-size:12px; width: 480px; } .ntextbox:focus { outline:none; } .nsubmit { background: #E2E2E2; border: 1px solid #919191; padding: 5px; border-radius: 5px; box-shadow: inset 0px 3px 0px 0px white, inset 0px -10px 0px 0px #D9D9D9, 0px 1px 0px 0px white; font-weight: bold; text-shadow: 0px 1px 0px white; text-align:center; cursor:pointer; } .nsubmit:hover { box-shadow: inset 0px 3px 0px 0px white, inset 0px -10px 0px 0px #D9D9D9, 0px 1px 0px 0px white, 0px 0px 10px 0px rgba(0,0,0,0.3); } .nclose { background-image:url('<?php echo CMS_PATH; ?>public/images/clientbar/close.png'); height:20px; width:20px; position:absolute; right:5px; top:5px; cursor: pointer; } <?php if($this->MyUser->rank > 2) { ?> #help { background: url(<?php echo CMS_PATH; ?>public/images/icons/v20_b2.gif) center no-repeat; float: left;; } #msg_count { position: absolute; height: 17px; border: 1px solid black; border-bottom: 2px solid black; line-height: 17px; color: #FFF; box-shadow: inset 0px 0px 0px 1px #ED2823; background: #AC1D19; font-weight: bold; border-radius: 5px; padding: 0 3px; display: none; right: 0; } <?php } ?> </style><div class='client_black_overlay'> <div class='group_container'> </div></div><body style="overflow:hidden;background-color:#000;" id="client" class="flashclient"><?php if($this->MyUser->rank > 3) { ?><div id="backend_overlay"><iframe src="http://www.habbor.de/admin" style="border: 0; width: 100%; height: 90%;"></iframe><br /><span id="closebtn" style="font-size: 18px; font-weight: bold">close</span></div><?php } ?><script src="//code.jquery.com/jquery-1.10.2.js"></script><script src="//code.jquery.com/ui/1.10.4/jquery-ui.js"></script><script>$(document).ready(function(e) { setInterval(function() { $("#online").fadeOut(function() { $(this).load('<?php echo CMS_PATH; ?>client/onlineCount').fadeIn(); }); }, 5000); $("#radio").click(function(e) { $(".hotelalert").fadeIn(0).css('display', 'block'); $("#radioBox").load("<?php echo CMS_PATH; ?>client/radio"); }); <?php if($this->MyUser->rank > 3) { ?> $("#backend").click(function(e) { $("#backend_overlay").slideDown().css('display', 'block'); }); $("#closebtn").click(function(e) { $("#backend_overlay").slideUp(); }); <?php } ?> $(".hotelalert > #close").click(function(e) { $(".hotelalert").fadeOut(0); }); $("#wunschbox_box > #close").click(function(e) { $("#wunschbox_box").fadeOut(0); }); $("#events_box_content > #close").click(function(e) { $("#events_box_content").fadeOut(0); }); $("#preislisten_box > #close").click(function(e) { $("#preislisten_box").fadeOut(0); }); var a = 90000; $(".hotelalert, #wunschbox_box,#events_box_content,#preislisten_box").draggable({ start: function(event, ui) { $(this).css("z-index", a++); }, handle: '.head', containment: 'body' }); $("#events").click(function() { $("#events_box_content").fadeIn(0).css('display', 'block'); $("#load_events").load("<?php echo CMS_PATH; ?>client/events"); }); $("#preislisten_btn").click(function() { $("#preislisten_box").fadeIn(0).css('display', 'block'); }); $(".preislisten_nav").click(function(e) { $(".preislisten_nav").removeClass('selected'); $(this).addClass('selected'); if($(this).html() == "Startseite") { $("#preis_cat").html("Die <?php echo CMS_HOTELNAME; ?> Preisliste"); } else { $("#preis_cat").html($(this).html()); } $("#loadPricelist").html("<center><img src='<?php echo CMS_PATH; ?>public/images/icons/progress_bar_blue.gif'></center>").load("<?php echo CMS_PATH; ?>client/pricelist/cat/"+$(this).attr('id')); }); $("#group").click(function() { $('.client_black_overlay').fadeIn().css('display', 'block'); $('.group_container').fadeIn().css('display', 'block').load('<?php echo CMS_PATH; ?>client/groups/1'); }); $("#send_wunsch").click(function(e) { if($("#wunschbox_text").val() != "") { $.post( "<?php echo CMS_PATH; ?>client", { text: $("#wunschbox_text").val(), token: "<?php echo AntiCSRF::getHash(); ?>" }, function(data) { switch(data) { case'error': alert("Es ist ein Fehler aufgetreten"); break; case'toShort': alert("Dein Wunsch muss mehr als 5 Zeichen enthalten!"); break; case'toLong': alert("Dein Wunsch darf nicht mehr als 200 Zeichen enthalten!"); break; case'offline': alert("Die Shoutbox ist derzeit offline!"); break; case'30sek': alert("Du kannst nur alle 30 Sekunden einen Shout schicken!"); break; case'sent': $("#wunschbox_text").val("Deine Nachricht wurde an den DJ gesendet!").attr('disabled', 'disabled'); $("#wunschbox_box").fadeOut(function(e) { $("#wunschbox_text").val("").removeAttr('disabled'); }); break; } } ); } else { alert("Du hast nicht alles ausgefuellt!"); } }); $("#item_search").keyup(function() { if($("#item_search").val() != "" && $("#item_search").val() != " ") { $.post( "<?php echo CMS_PATH; ?>client/pricelist/search", { token: "<?php echo AntiCSRF::getHash(); ?>", search: $("#item_search").val() }, function(data) { $("#preis_cat").html('Suchergebnisse für "'+$("#item_search").val()+'"'); $("#loadPricelist").html("<center><img src='<?php echo CMS_PATH; ?>public/images/icons/load.gif'></center>").html(data); } ); } else { $("#preis_cat").html("Die <?php echo CMS_HOTELNAME; ?> Preisliste");
$("#loadPricelist").html("Mindestens einen Buchstaben eingeben um Suchbegriffe zu erhalten"); } });});function setFullscreen() { if ((document.fullScreenElement && document.fullScreenElement !== null) || (!document.mozFullScreen && !document.webkitIsFullScreen)) { if (document.documentElement.requestFullScreen) { document.documentElement.requestFullScreen(); } else if (document.documentElement.mozRequestFullScreen) { document.documentElement.mozRequestFullScreen(); } else if (document.documentElement.webkitRequestFullScreen) { document.documentElement.webkitRequestFullScreen(Element.ALLOW_KEYBOARD_INPUT); } } else { if (document.cancelFullScreen) { document.cancelFullScreen(); } else if (document.mozCancelFullScreen) { document.mozCancelFullScreen(); } else if (document.webkitCancelFullScreen) { document.webkitCancelFullScreen(); } }}</script>
<?php if($this->MyUser->rank > 2) { ?><script> $(document).ready(function() { setInterval(function() { $.ajax({ type: 'POST', url: "<?php echo CMS_PATH; ?>clientHelper/getOpenOffers", data: '', dataType: 'json', context: document.body, global: false, async:false, success: function(openTickets) { if(openTickets.open_tickets != '0') { $("#msg_count").html(openTickets.open_tickets); if($("#msg_count").css('display') == 'none') { $("#msg_count").css('display', 'block'); } } else { if($("#msg_count").css('display') == 'block') { $("#msg_count").css('display', 'none'); } } } }); }, 5000); $("#helper_alert").draggable({ handle: '.head', containment: 'body' }); $("#helper_alert > #close").click(function() { $("#helper_alert").css('display', 'none'); });});
function openHelper() { $("#helper_alert").css('display', 'block'); $("#load_helps").load("<?php echo CMS_PATH; ?>clientHelper/tickets");}</script><?php } ?><div class="hotelalert" style="display: none; height: 200px;"> <div id="close"></div> <div class="head"><?php echo CMS_HOTELNAME; ?> Radio</div> <div style="padding: 10px;" id="radioBox"> </div></div><div id="wunschbox_box" style="display: none"> <div id="close"></div> <div class="head">Wunschbox</div> <div style="padding: 10px"> <textarea id="wunschbox_text" class="stextbox" style="width: 250px; height: 80px; resize:none; border-radius: 5px; box-shadow: inset 0px 0px 3px 0px rgba(0,0,0,0.3); padding: 10px;font-size: 14px;font-family: Open Sans; font-weight: lighter;"></textarea> <div class="button white" id="send_wunsch" style="margin-top: 5px;margin-left: 35px;">Wunsch senden</div> </div></div><div id="events_box_content" style="height: 400px; width: 375px"> <div id="close"></div> <div class="head">Eventliste</div> <div style="overflow-y: scroll; height: 365px"> <div style="padding: 10px;" id="load_events"> </div> </div></div><?php if($this->MyUser->rank > 2) { ?><div id="helper_alert" class="habox" style="height: 300px; width: 600px;"> <div id="close"></div> <div class="head">Klingel-Tool</div> <div style="overflow-y: scroll; height: 265px"> <div style="padding: 10px;" id="load_helps"> </div> </div></div><?php } ?><div id="preislisten_box" class="habox" style="height: 400px; width: 600px"> <div id="close"></div> <div class="head">Preisliste</div> <div style="float: left; width: 200px; background: white; height: 355px; border-radius: 5px;margin-left: 5px;margin-top: 5px;border: 1px solid rgba(0,0,0,0.3); border-bottom: 2px solid rgba(0,0,0,0.3);"> <input id="item_search" placeholder="Suche.." type="text" style="border-radius: 4px; padding: 5px; width: 178px; margin: 5px; border: 1px solid rgba(0,0,0,0.3); font-family: Ubuntu; font-size: 14px" /> <div style="height: 310px; overflow-y: scroll"> <?php if(!is_null($this->preislistenModel->getNavigation())) { ?> <div id="1" class="preislisten_nav selected">Startseite</div> <div id="2" class="preislisten_nav">Aktuell im Voting</div> <?php foreach($this->preislistenModel->getNavigation() as $nav) { ?> <div id="<?php echo $nav->id; ?>" class="preislisten_nav"><?php echo $this->filter($nav->name); ?></div> <?php } ?> </div> <?php } ?> </div> <div style="float: left; margin-left: 10px; width: 380px; height: 355px; overflow-y: scroll; margin-top: 5px"> <div id="preis_cat" style="font-size: 18px; font-weight: bold">Die <?php echo CMS_HOTELNAME; ?> Preisliste</div> <div style="border-bottom: 1px solid rgba(0,0,0,0.1); margin: 5px 0; "></div> <div id="loadPricelist"> <span style="font-weight: bold">Hey <?php echo $this->filter($this->MyUser->username); ?>,</span><br /> absofort bieten wir dir eine Preisliste, welche von den Community Managern des Hotels verwaltet wird. </div> </div></div><div id="clientbar"> <div id="radio" class="icon"></div> <div class="brk"></div> <div id="events" class="icon"></div> <div class="brk"></div> <div id="preislisten_btn" class="icon"></div> <?php if($this->MyUser->rank > 2) { ?> <div class="brk"></div> <!--<div id="group" class="icon"></div>--> <div id="help" class="icon" style="position: relative" onclick="openHelper()"> <div id="msg_count"></div> </div> <?php if($this->MyUser->rank > 3) { ?> <div class="brk"></div> <div id="backend" class="icon"></div> <?php }?> <?php }?> <div style='position: relative; width: inherit'> <div class="online_count"> <div id='pfeil_top_online'></div> <div id='online' style='text-align: center;font-weight: bold; text-shadow: 0px 0px 3px white;'> <?php echo $this->Base->get('users_online'); ?> User online </div> </div> </div></div><div id="setfullscreen" onclick="setFullscreen()">Vollbild</div>
<div id="overlay"></div>
<div style="position:absolute;left:50%;margin-left:-367.5px;z-index:9999999999999999;width:735px;-webkit-border-radius: 5px;-moz-border-radius: 5px;border-radius: 5px;"><iframe src="http://pic2web.net/werbung.php" width="735" height="90" frameborder="0">
</iframe></div>
<div id="client-ui" style="height:100%;background-color:#000;"> <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/317/web-gallery/v2/images/client/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p> </div></div> </div>
<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>
<div id="content" class="client-content"></div> <script async src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script> <script type="text/javascript" data-cfasync="false">
var win=null;function NewWindow(mypage,myname,w,h,pos,infocus){if(pos=="random"){myleft=(screen.width)?Math.floor(Math.random()*(screen.width-w)):100;mytop=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;}if(pos=="center"){myleft=(screen.width)?(screen.width-w)/2:100;mytop=(screen.height)?(screen.height-h)/2:100;}else if((pos!='center' && pos!="random") || pos==null){myleft=0;mytop=20}settings="width=" + w + ",height=" + h + ",top=" + mytop + ",left=" + myleft + ",scrollbars=no,location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=no";win=window.open(mypage,myname,settings);win.focus();}
</script>
</body> </html><?php } else { $this->display('client/AlreadyOnline'); }?>
All I've done is replace information for the flash vars so that it would load the proper files for the new SWFs.