Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Server Development
Habbo Retros
Habbo Q&A
Client doesn't load further
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="iGangstar" data-source="post: 264852" data-attributes="member: 10834"><p>[CODE]<?php</p><p>@session_start();</p><p>define('CORE','CORE');</p><p>require "includes/core.php";</p><p></p><p>if(!$Auth->isConnected()) redirection($config->url_site.'/logout.php');</p><p>if(EMULATOR == 'phoenix') $ticket = TicketRefresh($user->id);</p><p>elseif(EMULATOR == 'butterfly') $ticket = UpdateSSO($user->id);</p><p>$roomask = false ;</p><p>if(isset($_GET['roomID'])){</p><p> </p><p> $roomid = intval($_GET['roomID']);</p><p> //Get type of room</p><p> $req = mysql_query("SELECT roomtype FROM rooms WHERE id = '".$roomid."' LIMIT 1");</p><p> if(mysql_num_rows($req) > 1){ //Room exist</p><p> $roomdata = mysql_fetch_assoc($req); </p><p> if($roomdata['roomtype'] == 'public')</p><p> $forward_type = 1;</p><p> else</p><p> $forward_type = 2;</p><p> $roomask = true ;</p><p> }</p><p> </p><p>}</p><p></p><p>//V2</p><p></p><p></p><p>?></p><p><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"</p><p> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"></p><p><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"></p><p><head></p><p><meta http-equiv="content-type" content="text/html; charset=utf-8" /></p><p></p><p><title><?php echo $config->name; ?>:</title></p><p><script type="text/javascript"></p><p>var andSoItBegins = (new Date()).getTime();</p><p>var ad_keywords = "";</p><p>document.habboLoggedIn = true;</p><p>var habboName = "<?php echo $user->username; ?>";</p><p>var habboReqPath = "<?php echo $config->url_site; ?>";</p><p>var habboStaticFilePath = "<?php echo $config->url_site; ?>";</p><p>var habboImagerUrl = "http://www.habbo.com/habbo-imaging/";</p><p>var habboPartner = "";</p><p>var habboDefaultClientPopupUrl = "<?php echo $config->url_site; ?>/client";</p><p>window.name = "habboMain";</p><p>if (typeof HabboClient != "undefined"){HabboClient.windowName = "uberClientWnd";}</p><p></script></p><p></p><p></p><p></script></p><p></p><p><link rel="stylesheet" href="<?php echo $config->url_site; ?>/web-gallery/styles/common.css" type="text/css" /></p><p><script src="<?php echo $config->url_site; ?>/web-gallery/js/libs2.js" type="text/javascript"></script></p><p><script src="<?php echo $config->url_site; ?>/web-gallery/js/visual.js" type="text/javascript"></script></p><p><script src="<?php echo $config->url_site; ?>/web-gallery/js/libs.js" type="text/javascript"></script></p><p><script src="<?php echo $config->url_site; ?>/web-gallery/js/common.js" type="text/javascript"></script></p><p></p><p><link rel="stylesheet" href="<?php echo $config->url_site; ?>/web-gallery/styles/habboclient.css" type="text/css" /></p><p><link rel="stylesheet" href="<?php echo $config->url_site; ?>/web-gallery/styles/habboflashclient.css" type="text/css" /></p><p><script src="<?php echo $config->url_site; ?>/web-gallery/habboflashclient.js" type="text/javascript"></script></p><p></p><p><!--[if IE 8]></p><p><link rel="stylesheet" href="<?php echo $config->url_site; ?>/web-gallery/styles/ie8.css" type="text/css" /></p><p><![endif]--></p><p><!--[if lt IE 8]></p><p><link rel="stylesheet" href="<?php echo $config->url_site; ?>/web-gallery/styles/ie.css" type="text/css" /></p><p><![endif]--></p><p><!--[if lt IE 7]></p><p><link rel="stylesheet" href="<?php echo $config->url_site; ?>/web-gallery/styles/ie6.css" type="text/css" /></p><p><script src="<?php echo $config->url_site; ?>/web-gallery/js/pngfix.js" type="text/javascript"></script></p><p><script type="text/javascript"></p><p>try{document.execCommand('BackgroundImageCache', false, true);}catch(e){}</p><p></script></p><p><style type="text/css"></p><p>body{behavior: url(http://www.habbo.co.uk/js/csshover.htc);}</p><p></style></p><p><![endif]--></p><p><meta name="build" /></p><p></p><p></head></p><p><body id="client" class="flashclient"> </p><p><script type="text/javascript"></p><p>var habboDefaultClientPopupUrl = "<?php echo $config->url_site; ?>/client.php";</p><p></script></p><p><script type="text/javascript"></p><p>FlashExternalInterface.loginLogEnabled = true;</p><p>FlashExternalInterface.logLoginStep("web.view.start");</p><p>if (top == self){</p><p>FlashHabboClient.cacheCheck();</p><p>}</p><p>var flashvars ={</p><p>"client.allow.cross.domain" : "1",</p><p>"client.notify.cross.domain" : "0",</p><p>"connection.info.host" : "<?php echo $config->server_ip; ?>",</p><p>"connection.info.port" : "<?php echo $config->server_port; ?>",</p><p>"site.url" : "<?php echo $config->url_site; ?>",</p><p>"url.prefix" : "<?php echo $config->url_site; ?>",</p><p>"client.reload.url" : "<?php echo $config->url_site; ?>/client_error.php",</p><p>"client.fatal.error.url" : "<?php echo $config->url_site; ?>/client_error.php",</p><p>"client.connection.failed.url" : "<?php echo $config->url_site; ?>/client_error.php",</p><p>"external.hash" : "",</p><p>"external.variables.txt" : "<?php echo $config->server_vars; ?>",</p><p>"external.texts.txt" : "<?php echo $config->server_texts; ?>",</p><p>"use.sso.ticket" : "1",</p><p>"sso.ticket" : "<?php echo $ticket ; ?>",</p><p>"processlog.enabled" : "0",</p><p>"account_id" : "0",</p><p>"client.starting" : "Lancement de HabboPHP",</p><p>"flash.client.url" : "<?php echo $config->url_site; ?>/client_error.php",</p><p>"user.hash" : "",</p><p>"has.identity" : "0",</p><p>"flash.client.origin" : "popup"</p><p><?php</p><p>if($roomask){</p><p>echo '"forward.type" : "'.$forward_type.'",';</p><p>echo '"forward.id" : "'.$roomid.'",';</p><p>}</p><p>?></p><p>};</p><p> var params ={</p><p> "base" : "<?php echo $config->server_swf; ?>",</p><p> "allowScriptAccess" : "always",</p><p> "menu" : "false" </p><p> };</p><p> if (!(HabbletLoader.needsFlashKbWorkaround())){</p><p> params["wmode"] = "opaque";</p><p> }</p><p> FlashExternalInterface.signoutUrl = "<?php echo $config->url_site; ?>/logout.php";</p><p> var clientUrl = "<?php echo $config->server_swf; ?>";</p><p> swfobject.embedSWF(clientUrl, "flash-container", "100%", "100%", "10.0.0", "http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/2338/web-gallery/flash/expressInstall.swf", flashvars, params);</p><p> window.onbeforeunload = unloading;</p><p> function unloading(){</p><p> var clientObject;</p><p> if (navigator.appName.indexOf("Microsoft") != -1){</p><p> clientObject = window["flash-container"];</p><p> }else{</p><p> clientObject = document["flash-container"];</p><p> }</p><p> try{</p><p> clientObject.unloading();</p><p> }catch (e){}</p><p> }</p><p></script></p><p><div id="overlay"></div></p><p><div id="client-ui" ></p><p><div id="flash-wrapper"></p><p><div id="flash-container"></p><p><div id="content" style="width: 400px; margin: 20px auto 0 auto; display: none"></p><p><div class="cbb clearfix"></p><p><h2 class="title">Installer Adode Flash Player</h2></p><p><div class="box-content"></p><p><p>Pour installer Flash Player : <a href="http://get.adobe.com/flashplayer/">Clique ICI</a>. More instructions for installation can be found here: <a href="http://www.adobe.com/products/flashplayer/productinfo/instructions/">More information</a></p></p><p></p><p><p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/2338/web-gallery/images/client/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p></p><p></div></p><p></div></p><p></div></p><p><script type="text/javascript"></p><p>$('content').show();</p><p></script></p><p><noscript></p><p><div style="width: 400px; margin: 20px auto 0 auto; text-align: center"></p><p><p>If you are not automatically redirected, please <a href="/client/nojs">click here</a></p></p><p></div></p><p></noscript></p><p></div></p><p></div></p><p><div id="content" class="client-content"></div></p><p></div></p><p><div style="display: none"></p><p></p><p><script language="JavaScript" type="text/javascript"></p><p>setTimeout(function(){</p><p>HabboCounter.init(600);</p><p>}, 20000);</p><p></p><p></script></p><p></div></p><p><script type="text/javascript"></p><p>RightClick.init("flash-wrapper", "flash-container");</p><p></script></p><p><script type="text/javascript">if (!$(document.body).hasClassName('process-template')) { Roundeverything(); }</script></p><p> </p><p></body></p><p></p><p></html></p><p>[/CODE]</p></blockquote><p></p>
[QUOTE="iGangstar, post: 264852, member: 10834"] [CODE]<?php @session_start(); define('CORE','CORE'); require "includes/core.php"; if(!$Auth->isConnected()) redirection($config->url_site.'/logout.php'); if(EMULATOR == 'phoenix') $ticket = TicketRefresh($user->id); elseif(EMULATOR == 'butterfly') $ticket = UpdateSSO($user->id); $roomask = false ; if(isset($_GET['roomID'])){ $roomid = intval($_GET['roomID']); //Get type of room $req = mysql_query("SELECT roomtype FROM rooms WHERE id = '".$roomid."' LIMIT 1"); if(mysql_num_rows($req) > 1){ //Room exist $roomdata = mysql_fetch_assoc($req); if($roomdata['roomtype'] == 'public') $forward_type = 1; else $forward_type = 2; $roomask = true ; } } //V2 ?> <!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"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <title><?php echo $config->name; ?>:</title> <script type="text/javascript"> var andSoItBegins = (new Date()).getTime(); var ad_keywords = ""; document.habboLoggedIn = true; var habboName = "<?php echo $user->username; ?>"; var habboReqPath = "<?php echo $config->url_site; ?>"; var habboStaticFilePath = "<?php echo $config->url_site; ?>"; var habboImagerUrl = "http://www.habbo.com/habbo-imaging/"; var habboPartner = ""; var habboDefaultClientPopupUrl = "<?php echo $config->url_site; ?>/client"; window.name = "habboMain"; if (typeof HabboClient != "undefined"){HabboClient.windowName = "uberClientWnd";} </script> </script> <link rel="stylesheet" href="<?php echo $config->url_site; ?>/web-gallery/styles/common.css" type="text/css" /> <script src="<?php echo $config->url_site; ?>/web-gallery/js/libs2.js" type="text/javascript"></script> <script src="<?php echo $config->url_site; ?>/web-gallery/js/visual.js" type="text/javascript"></script> <script src="<?php echo $config->url_site; ?>/web-gallery/js/libs.js" type="text/javascript"></script> <script src="<?php echo $config->url_site; ?>/web-gallery/js/common.js" type="text/javascript"></script> <link rel="stylesheet" href="<?php echo $config->url_site; ?>/web-gallery/styles/habboclient.css" type="text/css" /> <link rel="stylesheet" href="<?php echo $config->url_site; ?>/web-gallery/styles/habboflashclient.css" type="text/css" /> <script src="<?php echo $config->url_site; ?>/web-gallery/habboflashclient.js" type="text/javascript"></script> <!--[if IE 8]> <link rel="stylesheet" href="<?php echo $config->url_site; ?>/web-gallery/styles/ie8.css" type="text/css" /> <![endif]--> <!--[if lt IE 8]> <link rel="stylesheet" href="<?php echo $config->url_site; ?>/web-gallery/styles/ie.css" type="text/css" /> <![endif]--> <!--[if lt IE 7]> <link rel="stylesheet" href="<?php echo $config->url_site; ?>/web-gallery/styles/ie6.css" type="text/css" /> <script src="<?php echo $config->url_site; ?>/web-gallery/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(http://www.habbo.co.uk/js/csshover.htc);} </style> <![endif]--> <meta name="build" /> </head> <body id="client" class="flashclient"> <script type="text/javascript"> var habboDefaultClientPopupUrl = "<?php echo $config->url_site; ?>/client.php"; </script> <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" : "<?php echo $config->server_ip; ?>", "connection.info.port" : "<?php echo $config->server_port; ?>", "site.url" : "<?php echo $config->url_site; ?>", "url.prefix" : "<?php echo $config->url_site; ?>", "client.reload.url" : "<?php echo $config->url_site; ?>/client_error.php", "client.fatal.error.url" : "<?php echo $config->url_site; ?>/client_error.php", "client.connection.failed.url" : "<?php echo $config->url_site; ?>/client_error.php", "external.hash" : "", "external.variables.txt" : "<?php echo $config->server_vars; ?>", "external.texts.txt" : "<?php echo $config->server_texts; ?>", "use.sso.ticket" : "1", "sso.ticket" : "<?php echo $ticket ; ?>", "processlog.enabled" : "0", "account_id" : "0", "client.starting" : "Lancement de HabboPHP", "flash.client.url" : "<?php echo $config->url_site; ?>/client_error.php", "user.hash" : "", "has.identity" : "0", "flash.client.origin" : "popup" <?php if($roomask){ echo '"forward.type" : "'.$forward_type.'",'; echo '"forward.id" : "'.$roomid.'",'; } ?> }; var params ={ "base" : "<?php echo $config->server_swf; ?>", "allowScriptAccess" : "always", "menu" : "false" }; if (!(HabbletLoader.needsFlashKbWorkaround())){ params["wmode"] = "opaque"; } FlashExternalInterface.signoutUrl = "<?php echo $config->url_site; ?>/logout.php"; var clientUrl = "<?php echo $config->server_swf; ?>"; swfobject.embedSWF(clientUrl, "flash-container", "100%", "100%", "10.0.0", "http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/2338/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> <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">Installer Adode Flash Player</h2> <div class="box-content"> <p>Pour installer Flash Player : <a href="http://get.adobe.com/flashplayer/">Clique ICI</a>. More instructions for installation can be found here: <a href="http://www.adobe.com/products/flashplayer/productinfo/instructions/">More information</a></p> <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/2338/web-gallery/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> <div style="display: none"> <script language="JavaScript" type="text/javascript"> setTimeout(function(){ HabboCounter.init(600); }, 20000); </script> </div> <script type="text/javascript"> RightClick.init("flash-wrapper", "flash-container"); </script> <script type="text/javascript">if (!$(document.body).hasClassName('process-template')) { Roundeverything(); }</script> </body> </html> [/CODE] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
Client doesn't load further
Top