testbala99
New Member
- Nov 4, 2017
- 10
- 0
Hi, I've seen alot of hotels using an notification page before the client if the user haven't activated or installed flash. How can I make an page myself? Image of what I mean:
Here's my client.php:
------------------------------------------------------------------------
May someone help me?
Here's my client.php:
------------------------------------------------------------------------
May someone help me?
Code:
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="shortcut icon" href="{url}/app/tpl/skins/{skin}/images/favicon.ico" type="image/vnd.microsoft.icon"/>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<title>{hotelName} Hotell - Client</title>
<link rel="stylesheet" href="{url}/app/tpl/skins/Habbo/styles/client.css" type="text/css">
<script type="text/javascript" src="{url}/app/tpl/skins/Habbo/js/swfobject.js"></script>
<script type="text/javascript">
var BaseUrl = "{url}/swf/gordon/";
var flashvars =
{
"client.allow.cross.domain" : "1",
"client.notify.cross.domain" : "0",
"connection.info.host" : "5.196.39.160",
"connection.info.port" : "30000",
"site.url" : "{url}",
"url.prefix" : "{url}",
"client.reload.url" : "{url}/disconnected",
"client.fatal.error.url" : "{url}/disconnected",
"client.connection.failed.url" : "{url}/disconnected",
"external.variables.txt" : "{url}/swf/gamedata/external_variables.txt",
"external.texts.txt" : "{url}/swf/gamedata/external_flash_texts.txt",
"external.override.texts.txt" : "{url}/swf/gamedata/override/external_flash_override_texts.txt",
"external.override.variables.txt" : "{url}/swf/gamedata/override/external_override_variables.txt",
"external.figurepartlist.txt" : "{url}/swf/gamedata/figuredata.xml",
"productdata.load.url" : "{url}/swf/gamedata/productdata.txt",
"furnidata.load.url" : "{url}/swf/gamedata/furnidata.xml",
"use.sso.ticket" : "1",
"sso.ticket" : "{sso}",
"client.starting" : "Chill an! {hotelName} laster...",
"processlog.enabled" : "0",
"flash.client.url" : BaseUrl,
"client.starting.revolving" : "Vennligst vent {hotelname} laster inn!",
"flash.client.origin" : "popup"
};
var params =
{
"base" : BaseUrl + "/",
"allowScriptAccess" : "always",
"menu" : "false"
};
swfobject.embedSWF(BaseUrl + "/Habbo.swf", "client", "100%", "100%", "10.0.0", "{url}/swf/gordon/expressInstall.swf", flashvars, params, null);
</script>
</head>
<body>
<div id="client"></div>
</body>
</html>