Problema risolto Client

_Neutron

Utente Assiduo
Autore del topic
22 Dicembre 2011
835
57
Miglior risposta
0
Salve, non mi parte client utilizzo il cms e il db dato con sun cms
ecco il mio client.php
<?PHP
#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|
#| #|
#| JabboCMS - Website and Content Management System #|
#| Copyright © 2011 Jor.dan. All rights reserved. #|
#| #|
#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|#|

include("./global.php");
$pagename = "Hotel";
$pageid = "Hotel";

if(!session_is_registered(username))
{
Redirect("".$url."/index.php");
}
$sql = mysql_query("SELECT * FROM cms_client WHERE id = '1'");
$client = mysql_fetch_assoc($sql);
?>
<!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 $sitename; ?>: <?PHP echo $pagename; ?></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 $url; ?>";
var habboStaticFilePath = "<?PHP echo $imagepath; ?>";
var habboImagerUrl = "http://www.habbo.com/habbo-imaging/";
var habboPartner = "";
var habboDefaultClientPopupUrl = "<?PHP echo $url; ?>/client";
window.name = "habboMain";
if (typeof HabboClient != "undefined") { HabboClient.windowName = "uberClientWnd"; }
</script>



<link rel="shortcut icon" href="<?PHP echo $imagepath; ?>favicon.ico" type="image/vnd.microsoft.icon" />
<script src="<?PHP echo $imagepath; ?>static/js/libs2.js" type="text/javascript"></script>
<script src="<?PHP echo $imagepath; ?>static/js/visual.js" type="text/javascript"></script>
<script src="<?PHP echo $imagepath; ?>static/js/libs.js" type="text/javascript"></script>
<script src="<?PHP echo $imagepath; ?>static/js/common.js" type="text/javascript"></script>

<script src="<?PHP echo $imagepath; ?>static/js/fullcontent.js" type="text/javascript"></script>
<link rel="stylesheet" href="<?PHP echo $imagepath; ?>v2/styles/style.css" type="text/css" />
<link rel="stylesheet" href="<?PHP echo $imagepath; ?>v2/styles/buttons.css" type="text/css" />
<link rel="stylesheet" href="<?PHP echo $imagepath; ?>v2/styles/boxes.css" type="text/css" />
<link rel="stylesheet" href="<?PHP echo $imagepath; ?>v2/styles/tooltips.css" type="text/css" />
<link rel="stylesheet" href="<?PHP echo $imagepath; ?>v2/styles/habboclient.css" type="text/css" />
<link rel="stylesheet" href="<?PHP echo $imagepath; ?>v2/styles/habboflashclient.css" type="text/css" />
<script src="<?PHP echo $imagepath; ?>static/js/habboflashclient.js" type="text/javascript"></script>

<meta name="description" content="<?PHP echo $description; ?>" />
<meta name="keywords" content="<?PHP echo $keyword; ?>" />

<!--[if IE 8]>
<link rel="stylesheet" href="<?PHP echo $imagepath; ?>v2/styles/ie8.css" type="text/css" />
<![endif]-->
<!--[if lt IE 8]>
<link rel="stylesheet" href="<?PHP echo $imagepath; ?>v2/styles/ie.css" type="text/css" />
<![endif]-->
<!--[if lt IE 7]>
<link rel="stylesheet" href="<?PHP echo $imagepath; ?>v2/styles/ie6.css" type="text/css" />
<script src="<?PHP echo $imagepath; ?>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(
Perfavore, Entra oppure Registrati per vedere i Link!
}
</style>
<![endif]-->
<meta name="build" content="<?PHP echo $build; ?> >> <?PHP echo $version ; ?>" />

</head>

<body id="client" class="flashclient">

<script type="text/javascript">
var habboDefaultClientPopupUrl = "<?PHP echo $url; ?>/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" : "69.194.139.215",
"connection.info.port" : "30000",
"site.url" : "http://37.59.157.234",
"url.prefix" : "http://37.59.157.234",
"client.reload.url" : "account/reauthenticate?page=/flash_client",
"client.fatal.error.url" : "disconnesso.php",
"client.connection.failed.url" : "disconnesso.php",
"external.hash" : "",
"external.variables.txt" : "http://clanehotel.webnet32.com/r63/gamedata/variables.txt",
"external.texts.txt" : "http://clanehotel.webnet32.com/r63/gamedata/texts1.txt",
"use.sso.ticket" : "1",
"sso.ticket" : "<?PHP echo TicketRefresh($user['username']); ?>",
"processlog.enabled" : "0",
"account_id" : "0",
"client.starting" : "Attendi perfavore! L'Hotel sta caricando.",
"flash.client.url" : "http://clanehotel.webnet32.com/r63/dcr/hof_furni",
"user.hash" : "",
"has.identity" : "0",
"flash.client.origin" : "popup"
};
var params = {
"base" : "http://clanehotel.webnet32.com/r63/gordon/RELEASE63/",
"allowScriptAccess" : "always",
"menu" : "false"
};

if (!(HabbletLoader.needsFlashKbWorkaround())) {
params["wmode"] = "opaque";
}

FlashExternalInterface.signoutUrl = "<?PHP echo $url; ?>/logout";

var clientUrl = "http://clanehotel.webnet32.com/r63/gordon/RELEASE63/Clane7.swf";
swfobject.embedSWF(clientUrl, "flash-container", "100%", "100%", "10.0.0", "http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/126/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/45_0061af58e257a7c6b931c91f771b4483/2/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>


</body>

</html>
 
Riferimento: Client

Il flash.php sarà bloccato.
 
Ultima modifica:
Riferimento: Client

"http://clanehotel.webnet32.com/r63/gordon/RELEASE63/Clane7.swf"
Non funziona questo cambia flash.
Usa questo
Codice:
Perfavore, Entra oppure Registrati per vedere i codici!
Devi CONFIGURARLO!
 
Riferimento: Client

I dcr non sono funzionanti.
Cambiali e usa quelli di Gammino (Jebbo) oppure quelli di DarkPako.
--------------- AGGIUNTA AL POST ---------------
"http://clanehotel.webnet32.com/r63/gordon/RELEASE63/Clane7.swf"
Non funziona questo cambia flash.
Usa questo
Codice:
Perfavore, Entra oppure Registrati per vedere i codici!
Devi CONFIGURARLO!

Non deve cambiare flash.php dal momento che il cms è System, e non holo.
 
Ultima modifica:
Riferimento: Client

Sposto e rinomino in quanto il problema è stato risolto correttamente dall'autore del topic.