Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- if(empty($page['header']) || $page['header'] != TRUE){ header("HTTP/1.0 404 Forbidden"); exit; }
- if(FetchSITESetting('flashclient') == "0"){ ?>
- <meta name="google" content="notranslate" />
- <meta name="google" content="noautotranslate" />
- <meta http-equiv="refresh" content="60;url=/client" />
- <div style="position:absolute;top:0px;left:0px;height:100%;width:100%;background-color: #000;z-index:10;display:block;" id="loader">
- <center><img src="/web-gallery/images/frank/sorry2.gif" style="position:absolute;top:30%;left:50%;"></center>
- </div>
- <?php } else { ?>
- <link rel="stylesheet" type="text/css" href="<?php echo $site->url; ?>hhnewloader/css/load.css">
- <link rel="stylesheet" type="text/css" href="<?php echo $site->url; ?>hhnewloader/css/style.css">
- <link rel="stylesheet" type="text/css" href="<?php echo $site->url; ?>hhnewloader/css/windows.css">
- <script type="text/javascript" src="<?php echo $site->url; ?>hhnewloader/js/jquery_006.js"></script>
- <script type="text/javascript" src="<?php echo $site->url; ?>hhnewloader/js/jquery_002.js"></script>
- <script type="text/javascript" src="<?php echo $site->url; ?>hhnewloader/js/jquery_004.js"></script>
- <script type="text/javascript" src="<?php echo $site->url; ?>hhnewloader/js/jquery_003.js"></script>
- <script type="text/javascript" src="<?php echo $site->url; ?>hhnewloader/js/jquery.js"></script>
- <script type="text/javascript" src="<?php echo $site->url; ?>hhnewloader/js/jquery_005.js"></script>
- <script type="text/javascript" src="<?php echo $site->url; ?>hhnewloader/js/tooltip.js"></script>
- <script type="text/javascript" src="<?php echo $site->url; ?>hhnewloader/js/client_windows.js"></script>
- <script type="text/javascript" src="<?php echo $site->url; ?>hhnewloader/js/connect.js"></script>
- <script type="text/javascript">
- $(function() {
- $("#search_results").hide();
- $("#search input[name=searchstring]").keyup(function(){
- if( $(this).val().length >= 1 ){
- $.ajax({
- url: '../hhnewloader/ajax/ajax.suche.php',
- data:'suchbegriff='+$(this).val(),
- type:'POST',
- success: function(data) {
- $("#search_results").show().html(data)
- }
- });
- }else{
- $("#search_results").show().html('mindestens 1 Zeichen eingeben');
- }
- $( "#search_results").fadeIn();
- });
- $(document.body).click(function(){
- $("#search_results").hide();
- });
- });
- </script>
- <script type="text/javascript">
- function DoResize()
- {
- var nHeight;
- if (typeof window.innerHeight == 'undefined')
- {
- nHeight = document.body.clientHeight -47;
- }
- else
- {
- nHeight = window.innerHeight -47;
- }
- document.getElementById('flash').style.height = nHeight+'px';
- }
- var flashvars = {
- "client.allow.cross.domain" : "1",
- "client.notify.cross.domain" : "0",
- "connection.info.host" : "<?php echo base64_encode($client->IP); ?>",
- "connection.info.port" : "<?php echo $client->port; ?>",
- "site.url" : "<?php echo $site->url; ?>",
- "url.prefix" : "<?php echo $site->url; ?>",
- "client.reload.url" : "<?php echo $site->url; ?>client",
- "client.fatal.error.url" : "<?php echo $site->url; ?>client/error",
- "client.connection.failed.url" : "<?php echo $site->url; ?>client/error",
- "external.variables.txt" : "<?php echo $client->variables; ?>",
- "external.texts.txt" : "<?php echo $client->texts; ?>",
- "productdata.load.url" : "<?php echo $client->productdata; ?>",
- "furnidata.load.url" : "<?php echo $client->furnidata; ?>",
- "use.sso.ticket" : "1",
- "new.identity" : "0",
- "sso.ticket" : "<?php echo $_SESSION['ticket']; ?>",
- "processlog.enabled" : "0",
- "account_id" : "<?php echo $user->id; ?>",
- "client.starting" : "Ladeschnittstelle...",
- "client.hotel_view.image.url" : "<?php echo $cimagesurl; ?>/hotel_view_images_hq/enterenter.png",
- "flash.client.url" : "<?php echo $client->swf_path; ?>",
- "user.hash" : "<?php echo $_SESSION['ticket']; ?>",
- "has.identity" : "1",
- "flash.client.origin" : "popup"
- };
- flashvars['connection.info.host'] = crookie_cms(flashvars['connection.info.host']);
- var params = {
- "base" : "<?php echo $client->swf_path; ?>",
- "allowScriptAccess" : "always",
- "menu" : "false",
- "wmode" : "opaque"
- };
- FlashExternalInterface.signoutUrl = "<?php echo $site->url; ?>account/logout?token=<?php echo sha1($myrow['password']); ?>";
- var clientUrl = "<?php echo $client->habbo_swf; ?>";
- swfobject.embedSWF(clientUrl, "flash-container", "100%", "100%", "10.0.0", "hhnewloader/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) {}
- }
- window.onresize = DoResize;
- window.onload = DoResize;
- </script>
- <div id="tooltip"></div>
- <div id="load-container" style="display:none;">
- <div id="floatingCirclesG">
- <div class="f_circleG" id="frotateG_01"></div>
- <div class="f_circleG" id="frotateG_02"></div>
- <div class="f_circleG" id="frotateG_03"></div>
- <div class="f_circleG" id="frotateG_04"></div>
- <div class="f_circleG" id="frotateG_05"></div>
- <div class="f_circleG" id="frotateG_06"></div>
- <div class="f_circleG" id="frotateG_07"></div>
- <div class="f_circleG" id="frotateG_08"></div>
- </div>
- </div>
- <div id="hidden-container">
- </div>
- <div id="heggo-overflow-container"><div id="Alerts"></div></div>
- <script type="text/javascript" src="<?php echo $site->url; ?>HHNewLoader/js/dom-drag.js"></script>
- <div id="Extraheggo-overflow-container">
- <div id="ExtraAlerts"></div>
- </div>
- <script language="javascript">
- var theHandle = document.getElementById("ExtraAlerts");
- var theRoot = document.getElementById("Extraheggo-overflow-container");
- Drag.init(theHandle, theRoot);
- </script>
- <script type="text/javascript">
- $(document).ready(function () {
- $('.drop').each(function() {
- $(this).click(function() {
- var li = $(this), active = li.hasClass('active');
- close();
- if (!active) {
- li.toggleClass('active').children('ul').toggle();
- }
- return false;
- });
- });
- function close() {
- $('.drop').removeClass('active').children('ul').hide();
- }
- $(document).bind('click',function() {
- close();
- });
- });
- </script>
- <body id="client" class="flashclient">
- <script type="text/javascript">
- jjLoader.init('client', 6, '<?php echo $site->url; ?>web-gallery/v2/images/logo.png', '<?php echo $site->url; ?>SWF/c_images/hotel_view_images_hq/client_loading_backg.png');
- function showRadio() {
- if ($('.radio_on').length > 0) {
- document.getElementById("radio").className = "radio_off"
- document.getElementById('player').style.display = "none";
- new Ajax.Request('<?php echo $site->url; ?>habblet/client/update_radio.php?enum=0', {
- method: 'get',
- onSuccess: function(response){
- }
- });
- } else {
- document.getElementById("radio").className = "radio_on"
- document.getElementById('player').style.display = "";
- new Ajax.Request('<?php echo $site->url; ?>habblet/client/update_radio.php?enum=1', {
- method: 'get',
- onSuccess: function(response){
- }
- });
- }
- }
- </script>
- <div id="bar">
- <div id="welcome">
- <a href="javascript:void(0);" onclick="openWindows('about');"><div class="logo"><div id="navis"></div></div></a>
- <div class="Break"></div>
- <a href="javascript:void(0);" <?php if($user->gast == 0){ ?>onclick="openWindows('rooms')"<?php } else { ?>style="opacity:0.5"<?php } ?>><div class="rooms"></div></a>
- <div class="Break"></div>
- <a href="#" <?php if($user->gast == 0){ ?>onclick="showBots();return false;"<?php } else { ?>style="opacity:0.5"<?php } ?>><div class="bot"></div></a>
- <div class="Break"></div>
- <a <?php if($user->gast == 0){ ?>onclick="openWindows('shop');" <?php } else { ?>style="opacity:0.5"<?php } ?> href="javascript:void(0)"><div class="shop"></div></a>
- <div class="Break"></div>
- <a href="#" onclick="showRadio();"><div id="radio" class="radio_<?php if($user->radio == "1"){ echo"on"; } else { echo"off"; } ?>" title="Radio An/Aus"></div></a>
- <div id="player" style="visibility:hidden;<?php if($user->radio == "1"){ echo"display:true"; } else { echo"display:none"; } ?>;">
- <script type="text/javascript" src="/web-gallery/flash/swfobject.js"></script>
- <div id="playerdata">Du benötigst Flash um diese Seite anzuzeigen.</div>
- <script type="text/javascript">
- var so = new SWFObject('<?php echo $site->url; ?>/web-gallery/flash/player_radio.swf','mpl','175','20','8');
- so.addParam('allowscriptaccess','always');
- so.addParam('allowfullscreen','false');
- so.addParam('flashvars','&file=http://188.165.170.168:8000/;stream.nsv&type=mp3&volume=50&autostart=true');
- so.write('playerdata');
- </script>
- </div>
- </div>
- <div id="share">
- <ul id="main">
- <li class="drop">
- <div class="row"></div>
- <ul>
- <?php if($user->rank > 5){?>
- <li><a onclick="openHK();return false;" href="javascript:void(0)">Housekeeping</a></li>
- <?php } ?>
- <?php if($user->rank == 7){?>
- <li><a onclick="openWindows('magicstack');" href="javascript:void(0)">Magic-Stapelfel (ADM)</a></li>
- <?php } ?>
- <li><a onclick="vollbild();" href="javascript:void(0)">Vollbild-Modus</a></li>
- <li><a <?php if($user->gast == 0){ ?>onclick="openWindows('mycommands');"<?php } else { ?>style="opacity:0.5;"<?php } ?> href="javascript:void(0)">Meine Kommandos</a></li>
- <li><a <?php if($user->gast == 0){ ?>onclick="openPOLL();return false;"<?php } else { ?>style="opacity:0.5;"<?php } ?> href="javascript:void(0)">Umfrage erstellen</a></li>
- <li><a <?php if($user->gast == 0){ ?>onclick="start_quiz();Load('hhnewloader/ajax/ajax.raumalert.php?step=5&ajax=true')"<?php } else { ?>style="opacity:0.5;"<?php } ?> href="javascript:void(0)">Raumalert senden</a></li>
- <?php if($user->vip == 1){?>
- <li><a onclick="openWindows('roommodels');" href="javascript:void(0)">Raummodelle<div class="vipalert"></div></a></li>
- <?php }else{ ?>
- <li><a href="javascript:void(0)"><div style="opacity:0.5;">Raummodelle</div><div class="vipalert"></div></a></li>
- <?php } ?>
- <?php if($user->vip == 1){?>
- <li><a onclick="openWindows('codesystem');" href="javascript:void(0)">Code-Generator<div class="vipalert"></div></a></li>
- <?php }else{ ?>
- <li><a href="javascript:void(0)"><div style="opacity:0.5;">Code-Generator</div><div class="vipalert"></div></a></li>
- <?php } ?>
- </ul>
- </li>
- </ul>
- </div>
- <div class="Breakr"></div>
- <div class="suche">
- <form method="" onsubmit="return false;" action="#" id="search" autocomplete="off">
- <input name="searchstring" placeholder="Suche nach einem <?php echo $site->name; ?>..." size="25" type="text" id="s" autocomplete="off" Autocomletetype="disabled">
- </form>
- </div>
- <div id="onlinewrapper"><span id="responsecontainer"></span></div><div id="search_results"></div></div>
- <script type="text/javascript" src="<?php echo $site->url; ?>HHNEWLOADER/js/dom-drag.js"></script>
- <div id="contenido" style="left:500px; top:70px;"><div id="nav"><div onclick="close_quiz();" class="n12"></div></div>
- <div id="contente"></div>
- </div></div>
- <script language="javascript">
- var theHandle = document.getElementById("contente");
- var theRoot = document.getElementById("contenido");
- Drag.init(theHandle, theRoot);
- </script>
- <?php if(FetchSITESetting('flashclient') == "1" && $user->rank < 7) { ?>
- <!--- CLIENTWERBUNG --->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script type="text/javascript">
- function countDown(init)
- {
- if (init || --document.getElementById( "counter" ).firstChild.nodeValue > 0 )
- window.setTimeout( "countDown()" , 1000 );
- };
- </script>
- <center>
- <div style="position:absolute;left:60%;z-index:2000; margin-left: -364px;">
- <div style="position:relative;">
- <div class="werbung_timer">
- <div style="background-image: url(../web-gallery/v2/images/client/ads_background.png); height: 63px; width: 474px;">
- <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
- <!-- Huggo, clientbanner -->
- <ins class="adsbygoogle"
- style="display:inline-block;width:468px;height:60px"
- data-ad-client="ca-pub-9756883190172613"
- data-ad-slot="3908531888"></ins>
- <script>
- (adsbygoogle = window.adsbygoogle || []).push({});
- </script>
- <script>
- $(document).ready(function(){
- if($('.werbung_timer').length > 0){
- $('.werbung_timer').animate({opacity: 1.0}, 120000).fadeOut('fast', function() {
- $(this).remove();
- });
- }
- });
- </script>
- </div></div></div></div></center>
- <!--- CLIENTWERBUNG ENDE --->
- <?php } ?>
- <div id="flash">
- <noscript><div style="width:400px;margin:20px auto 0 auto;text-align:center;color:#FFF;background:#83CBE7;border-radius:15px;padding:5px;"> <h3>Kein Javascript</h3></div></noscript>
- <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">
- <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="/web-gallery/v2/images/client/get_flash_player.gif" alt="Get Adobe Flash player" /> </a></p></div>
- </div>
- </div>
- </div>
- <div id="content" class="client-content">
- </div>
- </div>
- <?php if($user->gast != 1){ ?>
- <div id="hk_content" class="popup"><dc style="text-shadow:0 0 10px #FFFFFF;font-weight:bold;font-size:14px;padding:10px 0 0 10px;position:absolute;">Housekeeping</dc>
- <div style="float:right;padding:5px;">
- <div id="nav"><div id="baner_close" class="n12"></div></div>
- </div>
- <iframe src="<?php echo $site->url; ?>housekeeping" width="100%" scrolling="yes" height="542" frameborder="0" marginheight="0" marginwidth="0">Wird geladen...</iframe>
- </div>
- <div id="poll_content" class="popup"><dc style="text-shadow:0 0 10px #FFFFFF;font-weight:bold;font-size:14px;padding:10px 0 0 10px;position:absolute;">Umfrage für deinen Raum erstellen</dc>
- <div style="float:right;padding:5px;">
- <div id="nav"><div id="baner_close" class="n12"></div></div>
- </div>
- <iframe src="<?php echo $site->url; ?>habblet/client/poll.php" width="100%" scrolling="no" height="380" frameborder="0" marginheight="0" marginwidth="0">Wird geladen...</iframe>
- </div>
- <div id="bots_content" class="popup">
- <iframe src="<?php echo $site->url; ?>hhnewloader/bots" width="100%" scrolling="no" height="550" frameborder="0" marginheight="0" marginwidth="0" >Wird geladen...</iframe>
- </div>
- <script type="text/javascript">
- (function crookiesjava(interval) {
- interval = interval || 10000;
- setTimeout(function () {
- $.ajax({
- url: '<?php echo $site->url; ?>HHNewLoader/ajax/ajax.hotelalertcheck.php',
- success: function (response) {
- if (response == '1') {
- item = document.getElementById('overlaycrookie');
- if (item.style.display == "none") {
- showAlert();
- var nachricht = $.ajax({
- url: "<?php echo $site->url; ?>HHNewLoader/ajax/ajax.hotelalert.php",
- async: false
- }).responseText;
- setTimeout(nachricht, 100);
- document.getElementById('nachricht').innerHTML = nachricht;
- crookiesjava();
- $('#overlaycrookie').fadeIn("slow").style.display = 'block';
- } else {
- crookiesjava();
- }
- } else {
- crookiesjava();
- }
- }
- });
- $.ajaxSetup({
- cache: false
- });
- }, interval);
- })();
- function close_crookies_box(){
- $( '#overlaycrookie' ).fadeOut("slow").style.display='none';
- }
- <!--
- function openHK() {
- $('#hk_content').popup(
- {
- starttime : 0,
- multipages_timer : false,
- selfclose : 0,
- popup_div : 'spop',
- overlay_div : 'popuplayer',
- close_id : 'baner_close',
- overlay : true,
- opacity_level : 0.6,
- overlay_cc : true,
- centered : true,
- floating : true,
- floating_reaction : 700,
- floating_speed : 12,
- fly_in : true,
- fly_from : 'top',
- fly_out : true,
- fly_to : 'right'
- }
- );
- }
- function openPOLL() {
- $('#poll_content').popup(
- {
- starttime : 0,
- multipages_timer : false,
- selfclose : 0,
- popup_div : 'spop',
- overlay_div : 'popuplayer',
- close_id : 'baner_close',
- overlay : true,
- opacity_level : 0.6,
- overlay_cc : true,
- centered : true,
- floating : true,
- floating_reaction : 700,
- floating_speed : 12,
- fly_in : true,
- fly_from : 'top',
- fly_out : true,
- fly_to : 'right'
- }
- );
- }
- -->
- function showBots() { $('#bots_content').popup( {
- starttime : 0,
- multipages_timer : false,
- selfclose : 0,
- popup_div : 'bpop',
- overlay_div : 'popuplayer',
- close_id : 'baner_close',
- overlay : true,
- opacity_level : 0.6,
- overlay_cc : true,
- centered : true,
- floating : true,
- floating_reaction : 700,
- floating_speed : 12,
- fly_in : false,
- fly_from : 'top',
- fly_out : true,
- fly_to : 'top'
- } ); }
- </script>
- <div id="overlaycrookie" style="display:none;"></div>
- <div id="crookie_alert" class="popup">
- <div id="helpbox" class="ilubox" style="width: 420px; height: auto;">
- <div class="topbox" style="color:gray;"><b><center>Nachricht vom Hotelmanagement</center></b></div>
- <div id="nachricht"></div>
- <div id="baner_close" class="betaclosecrookie" onclick="close_crookies_box();">Fenster schliessen</div>
- </div>
- </div>
- <?php } ?>
- </div>
- <script src="http://code.jquery.com/jquery-latest.js"></script>
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script src="<?php echo $site->url; ?>hhnewloader/js/jquery.floating_popup.1.4.min.js"></script>
- <script type="text/javascript">
- function showAlert() {
- $('#crookie_alert').popup(
- {
- starttime : 0,
- multipages_timer : false,
- selfclose : 0,
- popup_div : 'hotelalert',
- overlay_div : false,
- close_id : 'baner_close',
- overlay : true,
- opacity_level : 0.6,
- overlay_cc : true,
- centered : true,
- floating : true,
- floating_reaction : 700,
- floating_speed : 12,
- fly_in : true,
- fly_from : 'top',
- fly_out : true,
- fly_to : 'right'
- }
- );
- }
- var counter = 0;
- function showtimer(){
- counter++;
- if(counter == 30){
- $('#responsecontainer').fadeOut('slow').load('habblet/client/counter.php?u=<?php echo $user->id; ?>').fadeIn("slow");
- counter = 0;
- }
- setTimeout('showtimer()', 1200);
- }
- </script>
- <script type="text/javascript" data-cfasync="false">
- $(document).ready(function() {
- showtimer();
- });
- </script>
- </body>
- </html>
- <?php } ?>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement