Nevermind i found a Client here
CLIENT - EDIT TO YOUR SWF's
Code:
<? Php
/*================================================ ===============+ = \
| | # PHPRetro - An extendable virtual hotel site and manageme nt
|+================================================ ==================
| | # Copyright (C) 2009 PHPRetro. All Rights Reser ved.
| | # Http://www.horro.co.uk
| | # Parts Copyright (C) 2009 Meth0d. All rights r eserved.
| | # Http://www.meth0d.org
| | # All images, scripts, and layouts
| | # Copyright (C) 2009 Sulake Ltd. All rights res erved.
|+================================================ ==================
| | # PHPRetro is Provided "as is" and comes without
| | # Warrenty of Any Kind. PHPRetro free software is king!
| | # License: GNU Public License 3.0
| | # Http://opensource.org/licenses/gpl-license.php
\ +================================================ ================*/
require_oz('. / includes / core.php');
require_oz('. / includes / session.php');
$ Lang->ADDLOCAL("client.hotel");
if (isset ($ _SESSION['reauthenticate']) & & $ _SESSION['reauthenticate'] == "true") {
$ _SESSION['page'] = $ _SERVER["REQUEST_URI"];
header("Location:".PATH."/ accounts / reauthenticate") exit;
Else {}
$ User = new HoloUser($ user->name,$ user->password,true);
$ _SESSION['user'] = $ user;
}
require_once ('. / templates / flashclient_header.php');
Forwardid $ = $ input->HoloText($ _GET['forwardId']);
Roomid $ = $ input->HoloText($ _GET['roomId']);
$ Shortcut = $ _GET['shortcut'];
switch ($ shortcut) {
homes "roomomatic": $ shortcut = "1"; break;
default: unset ($ _GET['shortcut']) break;
}
?>
<noscript>
<meta http-equiv="refresh" content="0;url=/client/nojs" />
</ Noscript>
<head>
<Link rel = "stylesheet" href = "http://images.habbo.com/habboweb/60_cf3b27a092308ed2f4b382d9929147fc/4/web-gallery/v2/styles/habboclient.css"type =" text /css"/>
<link rel="stylesheet" href="http://images.habbo.com/habboweb/60_cf3b27a092308ed2f4b382d9929147fc/4/web-gallery/v2/styles/habboflashclient.css" type="text/css" />
<Script src = "http://images.habbo.com/habboweb/60_cf3b27a092308ed2f4b382d9929147fc/4/web-gallery/static/js/ habboflashclient.js"type =" text / javascript "> </ script>
<script type="text/javascript">
FlashExternalInterface.loginLogEnabled = t rue;
FlashExternalInterface.logLoginStep (web.view.start ");
if (top == self) {
FlashHabboClient.cacheCheck ();
}
var flashvars = {
"Client.allow.cross.domain": "0"
"Client.notify.cross.domain": "1"
"Connection.info.host": "<? php echo $ settings->find("hotel_ip"); ?>"
"Connection.info.port": "port",
"Site.url": "<? php echo PATH; ?>"
"Url.prefix": "<? php echo PATH; ?>"
"Client.reload.url": "<? php echo PATH; ?>/ account / reauthenticate? page = / flash_client "
"Client.fatal.error.url": "<? php echo PATH; ?>/ flash_client_error "
"Client.connection.failed.url": "<? php echo PATH; ?>/ client_connection_failed "
"External.hash": "e5d77762435f89397590dce4be72fdaec46644e2"
"External.variables.txt": "http://images.hebbo.info/gamedata/external_variables.txt?"
"External.texts.txt": "http://hotel.noctworld.it/r57/external_flash_texts.txt"
"Use.sso.ticket": "1"
"Sso.ticket": "<? php echo $ user->user("ticket_sso"); ?>"
"Processlog.enabled": "1"
"Account_id", "<? php echo $ user->user("id"); ?>"
"Client.starting": "<? php echo ShortName; ?> Hotels in office ...",
"Flash.client.url": "http://images.habbo.com/dcr/r43_none_6d82813456b38f80ad83a827eef0fde3/"
"User.hash": "26891506d4d338e1d6ba385ea77667e4f93599c1"
"Has.identity": "1"
"Flash.client.origin": "popup"
};
var params = {
"Base": "http://images.hebbo.info/gordon/RELEASE57-27947-27946-201008260248_1079303621800c85173eddf186d0a4c8/"
"AllowScriptAccess", "always",
"Menu": "false"
};
if (! (HabbletLoader.needsFlashKbWorkaround ())) {
params ["wmode"] = "opaque";
}
clientUrl var = "http://images.hebbo.info/gordon/RELEASE57-27947-27946-201008260248_1079303621800c85173eddf186d0a4c8/Habbo10.swf";
try {
if (swfobject.getFlashPlayerVersion (). majo r <= 9) {
clientUrl = "http://images.hebbo.info/gordon/RELEASE57-27947-27946-201008260248_1079303621800c85173eddf186d0a4c8/Habbo.swf";
}
} Catch (e) {}
swfobject.embedSWF (clientUrl, "flash-container", "100%", "100%", "9.0.115", "http://images.habbo.com/habboweb/60_cf3b27a092308ed2f4b382d9929147fc/4/web-gallery/flash / expressInstall.swf ", flashvars, params);
</ Script>
<!--[ If IE 8]>
<link rel="stylesheet" href="http://images.habbo.com/habboweb/60_cf3b27a092308ed2f4b382d9929147fc/4/web-gallery/v2/styles/ie8.css" type="text/css" />
<! [Endif] ->
<!--[ If lt IE 8]>
<link rel="stylesheet" href="http://images.habbo.com/habboweb/60_cf3b27a092308ed2f4b382d9929147fc/4/web-gallery/v2/styles/ie.css" type="text/css" />
<! [Endif] ->
<!--[ If lt IE 7]>
<link rel="stylesheet" href="http://images.habbo.com/habboweb/60_cf3b27a092308ed2f4b382d9929147fc/4/web-gallery/v2/styles/ie6.css" type="text/css" />
<Script src = "http://images.habbo.com/habboweb/60_cf3b27a092308ed2f4b382d9929147fc/4/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="43-BUILD60 15/01/2010 03:12 uk"-/>
</ Head>
</ Head>
<body id="client" class="flashclient">
<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: n one">
<div class="cbb clearfix">
<h2 class="title"> Please install Adobe Flash Player. </ h2>
<div class="box-content">
<p> You can download and install Adobe Flash Player here: <a href="http://get.adobe.com/flashplayer/"> Install flash player </ a>. More Instructions for installation can be Foun d 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/60_cf3b27a092308ed2f4b382d9929147fc/4/web-gallery/v2/ images / clients / 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">
If you are not <p> Automatically re directed, please click here <a href="/client/nojs"> </ a> </ p>
</ Div>
</ Noscript>
</ Div>
</ Div>
<div id="content" class="client-content"> </ div>
</ Div>
<div style="display: none">
<div id="habboCountUpdateTarget">
<? Php echo GetOnlineCount()."".$ lang->loc['members.online']; ?>
</ Div>
<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>
<? Php
require_once ('. / templates / client_footer.php');
?>
FLASHCLIENT_HEADER
Code:
<? Php
/*================================================ ===============+ = \
| | # PHPRetro - An extendable virtual hotel site and manageme nt
|+================================================ ==================
| | # Copyright (C) 2009 All rights Yifan Lu Reser ved.
| | # Http://www.yifanlu.com
| | # Parts Copyright (C) 2009 Meth0d. All rights r eserved.
| | # Http://www.meth0d.org
| | # All images, scripts, and layouts
| | # Copyright (C) 2009 Sulake Ltd. All rights res erved.
|+================================================ ==================
| | # PHPRetro is Provided "as is" and comes without
| | # Warrenty of Any Kind. PHPRetro free software is king!
| | # License: GNU Public License 3.0
| | # Http://opensource.org/licenses/gpl-license.php
\ +================================================ ================*/
if (defined("IN_HOLOCMS")) { header("Location:".PATH."/"); exit;}
$ Version = version();
$ Lang->ADDLOCAL("landing.header");
?>
<! 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=iso-8859-1" />
<title><? php echo ShortName; ?>: <? php echo $ page['name']; ?> </ title>
<script type="text/javascript">
var andSoItBegins = (new Date ()). getTime ();
</ Script>
<Link rel = "shortcut icon" href = "<? php echo PATH; ?>/ web-gallery/v2/favicon.ico "type =" image / vnd.microsoft.icon "/>
<Link rel = "alternate" type = "application / rss + xml" title = "<? php echo ShortName; ?>: <? php echo $ lang->loc['rss']; ?>"href ="< ? php echo PATH; ?>/ articles / rss.xml "/>
<Script src = "<? php echo PATH; ?>/ web-gallery/static /js/ libs2.js"type =" text / javascript "> </ script>
<Script src = "<? php echo PATH; ?>/ web-gallery/static /js/ visual.js"type =" text / javascript "> </ script>
<Script src = "<? php echo PATH; ?>/ web-gallery/static /js/ libs.js"type =" text / javascript "> </ script>
<Script src = "<? php echo PATH; ?>/ web-gallery/static /js/ common.js"type =" text / javascript "> </ script>
<Script src = "<? php echo PATH; ?>/ web-gallery/static /js/ FULLCONTENT.js"type =" text / javascript "> </ script>
<Link rel = "stylesheet" href = "<? php echo PATH; ?>/ web-gallery/v2/styles/style.css "type =" text / css "/>
<Link rel = "stylesheet" href = "<? php echo PATH; ?>/ web-gallery/v2/styles/buttons.css "type =" text / css "/>
<Link rel = "stylesheet" href = "<? php echo PATH; ?>/ web-gallery/v2/styles/boxes.css "type =" text / css "/>
<Link rel = "stylesheet" href = "<? php echo PATH; ?>/ web-gallery/v2/styles/tooltips.css "type =" text / css "/>
<Link rel = "stylesheet" href = "<? php echo PATH; ?>/ web-gallery/v2/styles/habboclient.css "type =" text / css "/>
<Script src = "<? php echo PATH; ?>/ web-gallery/static /js/ flashhabboclient.js"type =" text / javascript "> </ script>
<Link rel = "stylesheet" href = "<? php echo PATH; ?>/ web-gallery/v2/styles/habboclient.css "type =" text / css "/>
<Link rel = "stylesheet" href = "<? php echo PATH; ?>/ web-gallery/v2/styles/habboflashclient.css "type =" text / css "/>
<Script src = "<? php echo PATH; ?>/ web-gallery/static /js/ habboflashclient.js"type =" text / javascript "> </ script>
<script type="text/javascript">
document.habboLoggedIn = true;
habboName var = "<? php echo $ user->name; ?>";
ad_keywords var = "";
habboReqPath var = "<? php echo PATH; ?>";
habboStaticFilePath var = "<? php echo PATH; ?>/ web-gallery ";
habboImagerUrl var = "<? php echo PATH; ?>/ habbo-imaging / ";
habboPartner var = "";
window.name = "client";
if (typeof HabboClient! = "undefined") {HabboClient.windowName = "client";}
</ Script>
<? Php if ($ page['no_client_js']! = true) { ?>
<script type="text/javascript">
var habboClient = true;
HabboClientUtils.init ({remoteCallsEnabled: true, taggingGameEnabled: false});
ffec.c ("chrome: / / havvocmini / content / HavvocIcon.PNG");
log (4);
</ Script>
<? Php } ?>
<Meta name = "description" content = "<? php echo $ settings->find("site_description"); ?>"/>
<Meta name = "keywords" content = "<? php echo $ settings->find("site_keywords"); ?>"/>
<!--[ If IE 8]>
<Link rel = "stylesheet" href = "<? php echo PATH; ?>/ web-gallery/v2/styles/ie8.css "type =" text / css "/>
<! [Endif] ->
<!--[ If lt IE 8]>
<Link rel = "stylesheet" href = "<? php echo PATH; ?>/ web-gallery/v2/styles/ie.css "type =" text / css "/>
<! [Endif] ->
<!--[ If lt IE 7]>
<Link rel = "stylesheet" href = "<? php echo PATH; ?>/ web-gallery/v2/styles/ie6.css "type =" text / css "/>
<Script src = "<? php echo PATH; ?>/ 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 (<? php echo PATH; ?>/ web-gallery /js/ csshover.htc);}
</ Style>
<! [Endif] ->
<Meta name = "build" content = "PHPRetro <? php echo $ version['version']."".$ version['status']; ?>"/>
</ Head>