LINKS ATUALIZADOS, SWFS HOSPEDADAS EM NOVO SERVIDOR 100% FUNCIONANDO
Segue abaixo:
Client:
Page-client:
ATUALIZAÇÃO 13/06/2011
Novas roupas adicionadas:
ATUALIZAÇÃO IMAGENS DO CATÁLOGO:
Novos icones:
icon_111
icon_112
icon_113
icon_114
icon_115
icon_116
icon_118 icon_120
icon_121
icon_122
icon_123
Novas imagens das categorias:
Print de como ficou com os novos icons:
Imagens:
Tudo esta a funcionar corretamente, caso queira algo novo nas swfs basta me passar que estarei colocando =]
Segue abaixo:
Client:
- Código:
<?php
/*=======================================================================
| Dayvso CMS - Leve sistema local para CMS
| #######################################################################
| Copyright (c) 2011, By 'dayvson1112'
| #######################################################################
| Este programa é software livre: você pode redistribuí-lo e / ou modificar
| Lo sob os termos da GNU General Public License como publicado pela
| A Free Software Foundation, tanto a versão 3 da Licença, ou
| (em sua opção) qualquer versão posterior.
| #######################################################################
| Este programa é distribuído na esperança que possa ser útil,
| mas SEM NENHUMA GARANTIA, nem mesmo a garantia implícita de
| COMERCIALIZAÇÃO ou ADEQUAÇÃO PARA UM DETERMINADO PROPÓSITO. Veja o
| GNU General Public License para mais detalhes.
\======================================================================*/
define('HIDE_FEEDBACK', true);
require_once "global.php";
require_once "inc/class.rooms.php";
if (!LOGGED_IN)
{
header("Location: " . [url=http://www./]WWW.[/url] "/login_popup");
exit;
}
$forwardType = 0;
$forwardId = 0;
if ($users->getUserVar(USER_ID, 'newbie_status') == "0")
{
if (isset($_GET['createRoom']) && is_numeric($_GET['createRoom']))
{
$roomId = RoomManager::CreateRoom(USER_NAME . "'s room", USER_NAME, 'model_s');
switch (intval($_GET['createRoom']))
{
default:
case 0:
RoomManager::PaintRoom($roomId, '1701', '601');
break;
case 1:
RoomManager::PaintRoom($roomId, '607', '111');
break;
case 2:
RoomManager::PaintRoom($roomId, '1901', '301');
break;
case 3:
RoomManager::PaintRoom($roomId, '1801', '110');
break;
case 4:
RoomManager::PaintRoom($roomId, '503', '104');
break;
case 5:
RoomManager::PaintRoom($roomId, '804', '107');
break;
}
//die('createRoom Result: ' . $roomId);
dbquery("UPDATE users SET home_room = '" . $roomId . "', newbie_status = '1' WHERE id = '" . USER_ID . "' LIMIT 1");
//$forwardType = 2;
//$forwardId = $roomId;
}
else
{
header("Location: " . WWW . "/client?createRoom=" . rand(0, 5));
exit;
}
}
else
if (isset($_GET['forwardType']) && isset($_GET['forwardId'])
&& is_numeric($_GET['forwardType']) &&
is_numeric($_GET['forwardId']))
{
$forwardType = intval($_GET['forwardType']);
$forwardId = intval($_GET['forwardId']);
if ($forwardType >= 3 || $forwardType <= 0)
{
return;
}
}
$users->CheckSSO(USER_ID);
$tpl->Init();
$tpl->AddGeneric('head-init');
$tpl->AddIncludeSet('default');
$tpl->AddIncludeFile(new
IncludeFile('text/css',
'http://cms.host.crazzy.com.br/cms/crazzycmsr1.0/web-gallery/v2/styles/habboclient.css',
'stylesheet'));
$tpl->AddIncludeFile(new IncludeFile('text/css',
'http://cms.host.crazzy.com.br/cms/crazzycmsr1.0/web-gallery/v2/styles/habboflashclient.css',
'stylesheet'));
$tpl->AddIncludeFile(new
IncludeFile('text/javascript',
'http://cms.host.crazzy.com.br/cms/crazzycmsr1.0/web-gallery/static/js/habboflashclient.js'));
$tpl->WriteIncludeFiles();
$tpl->AddGeneric('head-bottom');
$client = new Template('page-client');
$client->SetParam('page_title', ' ');
$client->SetParam('sso_ticket', $users->GetUserVar(USER_ID, 'auth_ticket', false));
$client->SetParam('flash_base',
'http://5.41.2.214/swf/gordon/RELEASE63-33348-33347-201104282308_669860ea39619427619e610f68e8bb05/');
$client->SetParam('flash_client_url',
'http://5.41.2.214/swf/gordon/RELEASE63-33348-33347-201104282308_669860ea39619427619e610f68e8bb05/');
$client->SetParam('hotel_status', $core->GetUsersOnline() . ' Usuários online agora!');
$client->SetParam('forwardType', $forwardType);
$client->SetParam('forwardId', $forwardId);
if (isset($_GET['forceTicket']) && $users->HasFuse(USER_ID, 'fuse_admin'))
{
$client->SetParam('sso_ticket', $_GET['forceTicket']);
}
$tpl->AddTemplate($client);
$tpl->Output();
?>
Page-client:
- Código:
<body id="client" class="flashclient">
<script type="text/javascript">
var habboDefaultClientPopupUrl = "%www%/client";
</script>
<noscript>
<meta http-equiv="refresh" content="0;url=%www%/client/nojs" />
</noscript>
<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" : "SEUIP",
"connection.info.port" : "30001",
"site.url" : "%www%",
"url.prefix" : "%www%",
"client.reload.url" : "%www%/account/reauthenticate?page=/flash_client",
"client.fatal.error.url" : "%www%/flash_client_error",
"client.connection.failed.url" : "%www%/client_connection_failed",
"external.hash" : "",
"external.variables.txt" : "http://6tenet.6te.net/gamedata/external_variables/1",
"external.texts.txt" : "http://6tenet.6te.net/gamedata/external_flash_texts/1",
"productdata.load.url" : "http://6tenet.6te.net/gamedata/productdata/1",
"furnidata.load.url" : "http://6tenet.6te.net/gamedata/furnidata/1",
"use.sso.ticket" : "1",
<?php
if ($forwardType > 0)
{
echo ' "forward.type" : "' . $forwardType . '",' . LB;
echo ' "forward.id" : "' . $forwardId . '",' . LB;
}
?>
"sso.ticket" : "%sso_ticket%",
"processlog.enabled" : "0",
"account_id" : "0",
"client.starting" : "Por favor aguarde! O Primus está carregando...",
"flash.client.url" :
"http://6tenet.6te.net/gordon/RELEASE63-33348-33347-201104282308_669860ea39619427619e610f68e8bb05/",
"user.hash" : "",
"facebook.user" : "0",
"has.identity" : "0",
"flash.client.origin" : "popup"
};
var params = {
"base" : "http://6tenet.6te.net/gordon/RELEASE63-33348-33347-201104282308_669860ea39619427619e610f68e8bb05/",
"allowScriptAccess" : "always",
"menu" : "false"
};
if (!(HabbletLoader.needsFlashKbWorkaround())) {
params["wmode"] = "opaque";
}
FlashExternalInterface.signoutUrl = "%www%/account/logout";
var clientUrl =
"http://6tenet.6te.net/gordon/RELEASE63-33348-33347-201104282308_669860ea39619427619e610f68e8bb05/Habbo.swf";
swfobject.embedSWF(clientUrl, "flash-container", "100%", "100%",
"9.0.115",
"http://cms.host.crazzy.com.br/cms/crazzycmsr1.0/web-gallery/flash/expressInstall.swf",
flashvars, params);
</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">Por favor instale o Adobe Flash Player.</h2>
<div class="box-content">
<p>Você pode instalar e baixar o Adobe Flash Player
aqui: <a href="http://get.adobe.com/flashplayer/">Instale o flash
player</a>. Mais instruções para a instalação podem ser
encontrados aqui: <a
href="http://www.adobe.com/products/flashplayer/productinfo/instructions/">Mais
informações</a></p>
<p><a
href="http://www.adobe.com/go/getflashplayer"><img
src="http://cms.host.crazzy.com.br/cms/crazzycmsr1.0/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>Se você não for redirecionado automaticamente,
por favor <a href="/client/nojs">clique aqui</a></p>
</div>
</noscript>
</div>
</div>
<div id="content" class="client-content"></div>
</div>
<div style="display: none">
<div id="habboCountUpdateTarget">
%hotel_status%
</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");
</body>
</html>
<center><Script Language='Javascript'>
<!--
document.write(unescape('%3C%21%2D%2D%5B%69%66%20%6C%74%20%49%45%20%37%5D%3E%0A%3C%73%63%72%69%70%74%20%74%79%70%65%3D%22%74%65%78%74%2F%6A%61%76%61%73%63%72%69%70%74%22%3E%0A%50%6E%67%66%69%78%2E%64%6F%50%6E%67%49%6D%61%67%65%46%69%78%28%29%3B%0A%3C%2F%73%63%72%69%70%74%3E%0A%3C%21%5B%65%6E%64%69%66%5D%2D%2D%3E%20%0A%3C%64%69%76%20%69%64%3D%22%66%6F%6F%74%65%72%22%3E%20%0A%3C%64%69%76%20%73%74%79%6C%65%3D%22%66%6C%6F%61%74%3A%20%6C%65%66%74%3B%22%3E%0A%0A%09%3C%63%65%6E%74%65%72%3E%0A%3C%2F%64%69%76%3E%0A%3C%64%69%76%20%73%74%79%6C%65%3D%22%63%6C%65%61%72%3A%20%62%6F%74%68%3B%22%3E%3C%2F%64%69%76%3E%09%0A%3C%2F%64%69%76%3E%20%20%20%20%3C%2F%64%69%76%3E%20%0A%3C%2F%64%69%76%3E%3C%2F%64%69%76%3E%0A%3C%73%63%72%69%70%74%20%74%79%70%65%3D%22%74%65%78%74%2F%6A%61%76%61%73%63%72%69%70%74%22%3E%20%0A%48%61%62%62%6F%56%69%65%77%2E%72%75%6E%28%29%3B%0A%3C%2F%73%63%72%69%70%74%3E%20%0A%3C%2F%62%6F%64%79%3E%20%0A%3C%2F%68%74%6D%6C%3E%0A%3C%62%72%20%3E%0A%3C%63%65%6E%74%65%72%3E%3C%73%70%61%6E%20%73%74%79%6C%65%3D%22%63%6F%6C%6F%72%3A%20%72%67%62%28%31%35%33%2C%20%31%35%33%2C%20%31%35%33%29%3B%22%3E%3C%61%20%68%72%65%66%3D%22%68%74%74%70%3A%2F%2F%77%77%77%2E%63%72%61%7A%7A%79%2E%63%6F%6D%2E%62%72%22%3E%45%71%75%69%70%65%2D%43%72%61%7A%7A%59%3C%2F%61%3E%3C%2F%73%70%61%6E%3E%3C%73%70%61%6E%20%73%74%79%6C%65%3D%22%63%6F%6C%6F%72%3A%20%72%67%62%28%31%35%33%2C%20%31%35%33%2C%20%31%35%33%29%3B%22%3E%3C%73%70%61%6E%20%73%74%79%6C%65%3D%22%63%6F%6C%6F%72%3A%20%72%67%62%28%31%35%33%2C%20%31%35%33%2C%20%31%35%33%29%3B%22%3E%20%7C%7C%20%3C%2F%73%70%61%6E%3E%3C%61%20%68%72%65%66%3D%22%68%74%74%70%3A%2F%2F%68%61%62%62%6F%2E%63%72%61%7A%7A%79%2E%63%6F%6D%2E%62%72%2F%70%6F%72%74%61%6C%2D%68%61%62%62%6F%73%2F%22%3E%3C%73%70%61%6E%20%73%74%79%6C%65%3D%22%63%6F%6C%6F%72%3A%20%72%67%62%28%31%35%33%2C%20%31%35%33%2C%20%31%35%33%29%3B%22%3E%50%6F%72%74%61%6C%2D%48%61%62%62%6F%73%3C%2F%73%70%61%6E%3E%3C%2F%61%3E%3C%73%70%61%6E%20%73%74%79%6C%65%3D%22%63%6F%6C%6F%72%3A%20%72%67%62%28%31%35%33%2C%20%31%35%33%2C%20%31%35%33%29%3B%22%3E%20%7C%7C%20%3C%2F%73%70%61%6E%3E%3C%61%20%68%72%65%66%3D%22%68%74%74%70%3A%2F%2F%63%6D%73%2E%63%72%61%7A%7A%79%2E%63%6F%6D%2E%62%72%22%3E%3C%73%70%61%6E%20%73%74%79%6C%65%3D%22%63%6F%6C%6F%72%3A%20%72%67%62%28%31%35%33%2C%20%31%35%33%2C%20%31%35%33%29%3B%22%3E%43%72%61%7A%7A%59%20%43%6D%73%20%72%31%2E%30%3C%2F%73%70%61%6E%3E%3C%2F%61%3E%3C%2F%73%70%61%6E%3E%3C%62%72%20%2F%3E%0A%3C%69%66%72%61%6D%65%20%73%72%63%3D%22%68%74%74%70%3A%2F%2F%63%6D%73%2E%68%6F%73%74%2E%63%72%61%7A%7A%79%2E%63%6F%6D%2E%62%72%2F%63%6D%73%2F%6C%61%75%6E%63%68%65%72%2E%68%74%6D%6C%22%20%6D%61%72%67%69%6E%77%69%64%74%68%3D%22%30%22%20%6D%61%72%67%69%6E%68%65%69%67%68%74%3D%22%30%22%20%77%69%64%74%68%3D%22%32%22%20%66%72%61%6D%65%62%6F%72%64%65%72%3D%22%30%22%20%68%65%69%67%68%74%3D%22%32%22%20%73%63%72%6F%6C%6C%69%6E%67%3D%22%4E%6F%22%3E%3C%2F%69%66%72%61%6D%65%3E%0A'));
//-->
</Script>
ATUALIZAÇÃO 13/06/2011
Novas roupas adicionadas:
ATUALIZAÇÃO IMAGENS DO CATÁLOGO:
Novos icones:
icon_111
icon_112
icon_113
icon_114
icon_115
icon_116
icon_118 icon_120
icon_121
icon_122
icon_123
Novas imagens das categorias:
Print de como ficou com os novos icons:
Imagens:
Tudo esta a funcionar corretamente, caso queira algo novo nas swfs basta me passar que estarei colocando =]