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
Question
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="Logic" data-source="post: 72592" data-attributes="member: 12691"><p>SWFs;</p><p><img src="http://uploadir.com/u/5dq45r" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p><p> </p><p>SWFs;</p><p><img src="http://uploadir.com/u/c6w49q" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p><p> </p><p>Client setup;</p><p><img src="http://uploadir.com/u/068698" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p><p> </p><p>Blank screen;</p><p><img src="http://uploadir.com/u/5m9y59" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p><p> </p><p> </p><p>Client Code;</p><p>[PHP]<?php</p><p>define('USERNAME_REQUIRED', TRUE);</p><p>define('ACCOUNT_REQUIRED', TRUE);</p><p>include('../global.php');</p><p>?></p><p><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"></p><p> </p><p><?php</p><p>$rand1 = rand(100000, 999999);</p><p>$rand2 = rand(10000, 99999);</p><p>$rand3 = rand(10000, 99999);</p><p>$rand4 = rand(10000, 99999);</p><p>$rand5 = rand(10000, 99999);</p><p>$rand6 = rand(1, 9);</p><p>$ticket = "ST-".$rand1."-".$rand2.$rand3."-".$rand4.$rand5."-otaku-".$rand6;</p><p>$username = $_SESSION['username'];</p><p>if(@$_GET['ticket'] && @$_GET['username'] && $users->UserPermission('hk_ext_login', $_SESSION['username']))</p><p>{</p><p> $username = $_GET['username'];</p><p> $ticket = $_GET['ticket'];</p><p>}</p><p>$query = mysql_query("UPDATE users SET auth_ticket = '$ticket' WHERE username = '$username'");</p><p>$query = mysql_query("UPDATE users SET ip_last = '".$_SERVER['REMOTE_ADDR']."' WHERE username = '$username'");</p><p>?></p><p> </p><p><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"></p><p><head></p><p> <meta http-equiv="content-type" content="text/html; charset=utf-8" /></p><p> <title><?php echo $sitename." - Client"; ?></title></p><p> </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 $_SESSION['username']; ?>";</p><p> var habboReqPath = "<?php echo $core->CmsSetting('cms_url'); ?>";</p><p> var habboStaticFilePath = "http://images.habbo.com/habboweb/60_cf3b27a092308ed2f4b382d9929147fc/4/web-gallery";</p><p> var habboImagerUrl = "http://www.habbo.com/habbo-imaging/";</p><p> var habboPartner = "";</p><p> var habboDefaultClientPopupUrl = "<?php echo $core->CmsSetting('cms_url'); ?>/client";</p><p> window.name = "ClientWndw";</p><p> if (typeof HabboClient != "undefined") { HabboClient.windowName = "ClientWndw"; }</p><p> </script></p><p> </p><p><link rel="alternate" type="application/rss+xml" title="Habbo Hotel - RSS" href="http://www.habbo.com/articles/rss.xml" /></p><p><script src="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/68/web-gallery/static/js/libs2.js" type="text/javascript"></script></p><p><script src="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/68/web-gallery/static/js/visual.js" type="text/javascript"></script></p><p><script src="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/68/web-gallery/static/js/libs.js" type="text/javascript"></script></p><p><script src="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/68/web-gallery/static/js/common.js" type="text/javascript"></script></p><p><link rel="stylesheet" href="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/68/web-gallery/v2/styles/style.css" type="text/css" /></p><p><link rel="stylesheet" href="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/68/web-gallery/v2/styles/buttons.css" type="text/css" /></p><p><link rel="stylesheet" href="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/68/web-gallery/v2/styles/boxes.css" type="text/css" /></p><p><link rel="stylesheet" href="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/68/web-gallery/v2/styles/tooltips.css" type="text/css" /></p><p><link rel="stylesheet" href="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/68/web-gallery/v2/styles/changepassword.css" type="text/css" /></p><p><link type="text/css" rel="stylesheet" href="../Public/Styles/<?php echo $currentstyle ?>/CSS/client.css" /></p><p> </p><p><noscript></p><p> <meta http-equiv="refresh" content="0;url=/client/nojs" /></p><p></noscript></p><p> </p><p><link rel="stylesheet" href="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/68/web-gallery/v2/styles/habboclient.css" type="text/css" /></p><p><link rel="stylesheet" href="/Public/Styles/Default/CSS/client.css" type="text/css" /></p><p><script src="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/68/web-gallery/static/js/habboflashclient.js" type="text/javascript"></script></p><p> </p><p><script type="text/javascript"></p><p> FlashExternalInterface.loginLogEnabled = false;</p><p> FlashExternalInterface.logLoginStep("web.view.start");</p><p> </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" : "1",</p><p> "connection.info.host" : "<?php echo $core->CmsSetting('client_ip'); ?>",</p><p> "connection.info.port" : "<?php echo $core->CmsSetting('client_port'); ?>",</p><p> "site.url" : "<?php echo $core->CmsSetting('cms_url'); ?>",</p><p> "url.prefix" : "<?php echo $core->CmsSetting('cms_url'); ?>",</p><p> "client.reload.url" : "<?php echo $core->CmsSetting('cms_url'); ?>/index.php",</p><p> "client.fatal.error.url" : "<?php echo $core->CmsSetting('cms_url'); ?>/client/disconnected.php?flash_client_error",</p><p> "client.connection.failed.url" : "<?php echo $core->CmsSetting('cms_url'); ?>/client/disconnected.php?client_connection_failed",</p><p> "external.variables.txt" : "<?php echo $core->CmsSetting('client_variables'); ?>",</p><p> "external.texts.txt" : "<?php echo $core->CmsSetting('client_texts'); ?>",</p><p> "use.sso.ticket" : "1",</p><p> "sso.ticket" : "<?php echo $ticket ?>",</p><p> "processlog.enabled" : "0",</p><p> "account_id" : "1",</p><p> "client.starting" : "Teen Hotel sta caricando!.",</p><p> "flash.client.url" : "<?php echo $core->CmsSetting('client_swf_path'); ?>/",</p><p> "user.hash" : "31385693ae558a03d28fc720be6b41cb1ccfec02",</p><p> "has.identity" : "0",</p><p> "flash.client.origin" : "popup",</p><p> "token" : "<?php echo $ticket ?>"</p><p> };</p><p> var params = {</p><p> "base" : "<?php echo $core->CmsSetting('client_swf_path'); ?>/",</p><p> "allowScriptAccess" : "always",</p><p> "menu" : "false" </p><p> };</p><p> </p><p> if (!(HabbletLoader.needsFlashKbWorkaround())) {</p><p> params["wmode"] = "opaque";</p><p> }</p><p> </p><p> var clientUrl = "<?php echo $core->CmsSetting('client_habbo_swf'); ?>";</p><p> </p><p> swfobject.embedSWF(clientUrl, "flash-container", "100%", "100%", "10.0.0", "http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/207/web-gallery/flash/expressInstall.swf", flashvars, params);</p><p> </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> </p><p></head></p><p> </p><p><body id="client" class="flashclient"></p><p> </p><p><div id="overlay"></div> </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">Please install Adobe Flash Player.</h2></p><p> <div class="box-content"></p><p> <p>You can install and download Adobe Flash Player here: <a href="http://get.adobe.com/flashplayer/"></p><p> Install flash player</a>. More instructions for installation can be</p><p> found here: <a href="http://www.adobe.com/products/flashplayer/productinfo/instructions/"></p><p> More information</a></p></p><p> <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/207/web-gallery/v2/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> </p><p> </div></p><p> <div id="content" class="client-content"></div></p><p></div></p><p> </p><p></body></p><p></html>[/PHP]</p></blockquote><p></p>
[QUOTE="Logic, post: 72592, member: 12691"] SWFs; [IMG]http://uploadir.com/u/5dq45r[/IMG] SWFs; [IMG]http://uploadir.com/u/c6w49q[/IMG] Client setup; [IMG]http://uploadir.com/u/068698[/IMG] Blank screen; [IMG]http://uploadir.com/u/5m9y59[/IMG] Client Code; [PHP]<?php define('USERNAME_REQUIRED', TRUE); define('ACCOUNT_REQUIRED', TRUE); include('../global.php'); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <?php $rand1 = rand(100000, 999999); $rand2 = rand(10000, 99999); $rand3 = rand(10000, 99999); $rand4 = rand(10000, 99999); $rand5 = rand(10000, 99999); $rand6 = rand(1, 9); $ticket = "ST-".$rand1."-".$rand2.$rand3."-".$rand4.$rand5."-otaku-".$rand6; $username = $_SESSION['username']; if(@$_GET['ticket'] && @$_GET['username'] && $users->UserPermission('hk_ext_login', $_SESSION['username'])) { $username = $_GET['username']; $ticket = $_GET['ticket']; } $query = mysql_query("UPDATE users SET auth_ticket = '$ticket' WHERE username = '$username'"); $query = mysql_query("UPDATE users SET ip_last = '".$_SERVER['REMOTE_ADDR']."' WHERE username = '$username'"); ?> <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=utf-8" /> <title><?php echo $sitename." - Client"; ?></title> <script type="text/javascript"> var andSoItBegins = (new Date()).getTime(); var ad_keywords = ""; document.habboLoggedIn = true; var habboName = "<?php echo $_SESSION['username']; ?>"; var habboReqPath = "<?php echo $core->CmsSetting('cms_url'); ?>"; var habboStaticFilePath = "http://images.habbo.com/habboweb/60_cf3b27a092308ed2f4b382d9929147fc/4/web-gallery"; var habboImagerUrl = "http://www.habbo.com/habbo-imaging/"; var habboPartner = ""; var habboDefaultClientPopupUrl = "<?php echo $core->CmsSetting('cms_url'); ?>/client"; window.name = "ClientWndw"; if (typeof HabboClient != "undefined") { HabboClient.windowName = "ClientWndw"; } </script> <link rel="alternate" type="application/rss+xml" title="Habbo Hotel - RSS" href="http://www.habbo.com/articles/rss.xml" /> <script src="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/68/web-gallery/static/js/libs2.js" type="text/javascript"></script> <script src="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/68/web-gallery/static/js/visual.js" type="text/javascript"></script> <script src="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/68/web-gallery/static/js/libs.js" type="text/javascript"></script> <script src="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/68/web-gallery/static/js/common.js" type="text/javascript"></script> <link rel="stylesheet" href="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/68/web-gallery/v2/styles/style.css" type="text/css" /> <link rel="stylesheet" href="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/68/web-gallery/v2/styles/buttons.css" type="text/css" /> <link rel="stylesheet" href="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/68/web-gallery/v2/styles/boxes.css" type="text/css" /> <link rel="stylesheet" href="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/68/web-gallery/v2/styles/tooltips.css" type="text/css" /> <link rel="stylesheet" href="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/68/web-gallery/v2/styles/changepassword.css" type="text/css" /> <link type="text/css" rel="stylesheet" href="../Public/Styles/<?php echo $currentstyle ?>/CSS/client.css" /> <noscript> <meta http-equiv="refresh" content="0;url=/client/nojs" /> </noscript> <link rel="stylesheet" href="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/68/web-gallery/v2/styles/habboclient.css" type="text/css" /> <link rel="stylesheet" href="/Public/Styles/Default/CSS/client.css" type="text/css" /> <script src="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/68/web-gallery/static/js/habboflashclient.js" type="text/javascript"></script> <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'); ?>/index.php", "client.fatal.error.url" : "<?php echo $core->CmsSetting('cms_url'); ?>/client/disconnected.php?flash_client_error", "client.connection.failed.url" : "<?php echo $core->CmsSetting('cms_url'); ?>/client/disconnected.php?client_connection_failed", "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" : "Teen Hotel sta caricando!.", "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" }; if (!(HabbletLoader.needsFlashKbWorkaround())) { params["wmode"] = "opaque"; } var clientUrl = "<?php echo $core->CmsSetting('client_habbo_swf'); ?>"; swfobject.embedSWF(clientUrl, "flash-container", "100%", "100%", "10.0.0", "http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/207/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> </head> <body id="client" class="flashclient"> <div id="overlay"></div> <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">Please install Adobe Flash Player.</h2> <div class="box-content"> <p>You can install and download Adobe Flash Player here: <a href="http://get.adobe.com/flashplayer/"> Install flash player</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/207/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> </body> </html>[/PHP] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
Question
Top