Brad
Well-Known Member
For some reason It won't let anyone online & keeps saying connection dropped With an IP that isn't registered.
Anyone have any ideas why?
Heres my Client.php
Anyone have any ideas why?
Heres my Client.php
Code:
<?php
require_once 'findretros_config.php';
require_once 'findretros.php';
$FindRetros = new FindRetros();
if($FindRetros->hasClientVoted()) {
echo 'You have voted!';
}else{
// echo 'You have yet to vote!';
$FindRetros->redirectClientToVote();
}
?><!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<title>{hotelName} - Client</title>
<link rel="shortcut icon" href="{url}/app/tpl/skins/Habbo/web-gallery/v2/favicon.ico" type="image/vnd.microsoft.icon" />
<link rel="stylesheet" href="{url}/app/tpl/skins/Habbo/styles/client.css?<?php echo time(); ?>" type="text/css">
<script type="text/javascript" src="{url}/app/tpl/skins/Habbo/web-gallery/static/js/swfobject.js"></script>
<script type="text/javascript">
var BaseUrl = "http://buzzhotel.biz/swf";
var flashvars =
{
"client.allow.cross.domain" : "1",
"client.notify.cross.domain" : "1",
"connection.info.host" : "attackprotect.com",
"connection.info.port" : "30643",
"site.url" : "http://buzzhotel.biz",
"url.prefix" : "http://buzzhotel.biz",
"client.reload.url" : "http://buzzhotel.biz/client",
"client.fatal.error.url" : "http://buzzhotel.biz/client_error",
"client.connection.failed.url" : "http://buzzhotel.biz/client_error",
"external.variables.txt" : "http://buzzhotel.biz/swf/gamedata/external_variables.txt",
"external.texts.txt" : "http://buzzhotel.biz/swf/gamedata/external_flash_texts.txt",
"productdata.load.url" : "http://buzzhotel.biz/swf/productdata.txt",
"furnidata.load.url" : "http://buzzhotel.biz/swf/gamedata/furnidata.txt",
"use.sso.ticket" : "1",
"sso.ticket" : "{sso}",
"client.starting" : "Please wait! Buzz is starting up.",
"flash.client.url" : BaseUrl,
"flash.client.origin" : "popup"
};
var params =
{
"base" : BaseUrl + "/",
"allowScriptAccess" : "always",
"menu" : "false"
};
swfobject.embedSWF(BaseUrl + "/clientswf.swf", "client", "100%", "100%", "10.0.0", "{swf_folder}/expressInstall.swf", flashvars, params, null);
</script>
</head>
<body>
<div id="client"></div>
</body>
</html>