[ajuda] olha o que aparece quando abro o meu hotel [ajuda]
2 participantes
- lukinhas.22Membro IV
- Idade : 27
Posts : 400
Créditos : 0
Respeito : 4
Script
Re: [ajuda] olha o que aparece quando abro o meu hotel [ajuda]
Qua 09 Fev 2011, 19:15
Snack passa seu hotel por mensagem privada posso lhe ajudar com seu hotel.
- MolochMembro X
- Posts : 1411
Créditos : 100
Respeito : 52
(:
Re: [ajuda] olha o que aparece quando abro o meu hotel [ajuda]
Qua 09 Fev 2011, 19:13
Pode deixar galera o erro era na cms mais apaguei tudo e conf de novo deu tudo certo =) obg mesmo pode fechar o topico
- lukinhas.22Membro IV
- Idade : 27
Posts : 400
Créditos : 0
Respeito : 4
Script
Re: [ajuda] olha o que aparece quando abro o meu hotel [ajuda]
Qua 09 Fev 2011, 19:01
Troque de cms e posta aqui se resolver.
- MolochMembro X
- Posts : 1411
Créditos : 100
Respeito : 52
(:
[ajuda] olha o que aparece quando abro o meu hotel [ajuda]
Qua 09 Fev 2011, 18:59
olhem o que aparece quando abro o meu hotel :
- Spoiler:
- /*=======================================================================
|
|
Copyright (c) 2010,2011 Habbo Ngen! Cms!
|
#######################################################################
| Este programa é um FreeSoftware aonde você pode editar os conteúdos
| com os direitos autorais do editor.
\======================================================================*/
class
uberTpl
{
private $outputData;
private $params = Array();
private $includeFiles = Array();
public function Init()
{
global $core, $users;
$this->SetParam('hotelName', 'Habbo');
$this->SetParam('page_title', 'Habbo');
$this->SetParam('body_id', '');
$this->SetParam('HabboID', ' ' . $users->GetUserVar(USER_ID,
'mail') . '');
$this->SetParam('vipimage', '');
$this->SetParam('hall', '');
$this->SetParam('StaffEmail', 'Lucas_rmd@msn.com');
$this->SetParam('twitter', 'LukasReis');
$this->SetParam('respect1', $users->GetUserVar(USER_ID,
'respect'));
$this->SetParam('id', $users->GetUserVar(USER_ID, 'id'));
$this->SetParam('mail', $users->GetUserVar(USER_ID, 'mail'));
$this->SetParam('last_online', $users->GetUserVar(USER_ID,
'last_online'));
$this->SetParam('gender', $users->GetUserVar(USER_ID, 'gender'));
$this->SetParam('activity_points', $users->GetUserVar(USER_ID,
'activity_points'));
$this->SetParam('credits', $users->GetUserVar(USER_ID,
'credits'));
$this->SetParam('account_created', $users->GetUserVar(USER_ID,
'account_created'));
$this->SetParam('motto', $users->GetUserVar(USER_ID, 'motto'));
$this->SetParam('flash_build', 'flash_50_9');
$this->SetParam('web_build',
'63_1dc60c6d6ea6e089c6893ab4e0541ee0/36');
$this->SetParam('web_build_str', '50-BUILD66 - 06.05.2010 22:28 -
Novic');
$this->SetParam('req_path', WWW);
$this->SetParam('www', WWW);
$this->SetParam('hotel_status_fig',
uberCore::GetSystemStatusString(true));
$this->SetParam('hotel_status',
uberCore::GetSystemStatusString(false));
if (LOGGED_IN)
{
$this->SetParam('habboLoggedIn', 'true');
$this->SetParam('habboName', USER_NAME);
$this->SetParam('vippoints', ' ' . $users->GetUserVar(USER_ID,
'vip_points') . '');
$this->SetParam('vipbalance', '' . $users->GetUserVar(USER_ID,
'vip_points') . ' ');
}
else
{
$this->SetParam('habboLoggedIn', 'false');
$this->SetParam('habboName', 'null');
}
}
public function AddIncludeSet($set)
{
switch (strtolower($set))
{
case "frontpage":
$this->AddIncludeFile(new IncludeFile('text/javascript',
'http://images.habbo.com/habboweb/%web_build%/web-gallery/static/js/libs2.js'));
$this->AddIncludeFile(new
IncludeFile('text/javascript',
'http://images.habbo.com/habboweb/%web_build%/web-gallery/static/js/landing.js'));
$this->AddIncludeFile(new
IncludeFile('text/css',
'http://images.habbo.com/habboweb/%web_build%/web-gallery/v2/styles/frontpage.css',
'stylesheet'));
break;
case "register":
$this->AddIncludeFile(new IncludeFile('text/javascript',
'http://images.habbo.com/habboweb/%web_build%/web-gallery/static/js/visual.js'));
$this->AddIncludeFile(new
IncludeFile('text/javascript',
'http://images.habbo.com/habboweb/%web_build%/web-gallery/static/js/common.js'));
$this->AddIncludeFile(new
IncludeFile('text/css',
'http://images.habbo.com/habboweb/%web_build%/web-gallery/v2/styles/style.css',
'stylesheet'));
$this->AddIncludeFile(new IncludeFile('text/css',
'http://images.habbo.com/habboweb/%web_build%/web-gallery/v2/styles/buttons.css',
'stylesheet'));
$this->AddIncludeFile(new IncludeFile('text/css',
'http://images.habbo.com/habboweb/%web_build%/web-gallery/v2/styles/boxes.css',
'stylesheet'));
$this->AddIncludeFile(new IncludeFile('text/css',
'http://images.habbo.com/habboweb/%web_build%/web-gallery/v2/styles/tooltips.css',
'stylesheet'));
$this->AddIncludeFile(new IncludeFile('text/css',
'http://images.habbo.com/habboweb/%web_build%/web-gallery/v2/styles/embeddedregistration.css',
'stylesheet'));
$this->AddIncludeFile(new IncludeFile('text/javascript',
'http://images.habbo.com/habboweb/%web_build%/web-gallery/static/js/simpleregistration.js'));
break;
case
"process-template":
$this->AddIncludeFile(new IncludeFile('text/javascript',
'http://images.habbo.com/habboweb/%web_build%/web-gallery/static/js/libs2.js'));
$this->AddIncludeFile(new
IncludeFile('text/javascript',
'http://images.habbo.com/habboweb/%web_build%/web-gallery/static/js/visual.js'));
$this->AddIncludeFile(new
IncludeFile('text/javascript',
'http://images.habbo.com/habboweb/%web_build%/web-gallery/static/js/libs.js'));
$this->AddIncludeFile(new
IncludeFile('text/javascript',
'http://images.habbo.com/habboweb/%web_build%/web-gallery/static/js/common.js'));
$this->AddIncludeFile(new
IncludeFile('text/javascript',
'http://images.habbo.com/habboweb/%web_build%/web-gallery/static/js/fullcontent.js'));
$this->AddIncludeFile(new
IncludeFile('text/css',
'http://images.habbo.com/habboweb/%web_build%/web-gallery/v2/styles/style.css',
'stylesheet'));
$this->AddIncludeFile(new IncludeFile('text/css',
'http://images.habbo.com/habboweb/%web_build%/web-gallery/v2/styles/buttons.css',
'stylesheet'));
$this->AddIncludeFile(new IncludeFile('text/css',
'http://images.habbo.com/habboweb/%web_build%/web-gallery/v2/styles/boxes.css',
'stylesheet'));
$this->AddIncludeFile(new IncludeFile('text/css',
'http://images.habbo.com/habboweb/%web_build%/web-gallery/v2/styles/tooltips.css',
'stylesheet'));
$this->AddIncludeFile(new IncludeFile('text/css',
'http://images.habbo.com/habboweb/%web_build%/web-gallery/v2/styles/process.css',
'stylesheet'));
break;
case 'myhabbo':
$this->AddIncludeFile(new IncludeFile('text/javascript',
'http://images.habbo.com/habboweb/%web_build%/web-gallery/static/js/libs2.js'));
$this->AddIncludeFile(new
IncludeFile('text/javascript',
'http://images.habbo.com/habboweb/%web_build%/web-gallery/static/js/visual.js'));
$this->AddIncludeFile(new
IncludeFile('text/javascript',
'http://images.habbo.com/habboweb/%web_build%/web-gallery/static/js/libs.js'));
$this->AddIncludeFile(new
IncludeFile('text/javascript',
'http://images.habbo.com/habboweb/%web_build%/web-gallery/static/js/common.js'));
$this->AddIncludeFile(new
IncludeFile('text/javascript',
'http://images.habbo.com/habboweb/%web_build%/web-gallery/static/js/fullcontent.js'));
$this->AddIncludeFile(new
IncludeFile('text/css',
'http://images.habbo.com/habboweb/%web_build%/web-gallery/v2/styles/style.css',
'stylesheet'));
$this->AddIncludeFile(new IncludeFile('text/css',
'http://images.habbo.com/habboweb/%web_build%/web-gallery/v2/styles/buttons.css',
'stylesheet'));
$this->AddIncludeFile(new IncludeFile('text/css',
'http://images.habbo.com/habboweb/%web_build%/web-gallery/v2/styles/boxes.css',
'stylesheet'));
$this->AddIncludeFile(new IncludeFile('text/css',
'http://images.habbo.com/habboweb/%web_build%/web-gallery/v2/styles/tooltips.css',
'stylesheet'));
$this->AddIncludeFile(new IncludeFile('text/css',
'http://images.habbo.com/habboweb/%web_build%/web-gallery/styles/myhabbo/myhabbo.css',
'stylesheet'));
$this->AddIncludeFile(new IncludeFile('text/css',
'http://images.habbo.com/habboweb/%web_build%/web-gallery/styles/myhabbo/skins.css',
'stylesheet'));
$this->AddIncludeFile(new IncludeFile('text/css',
'http://images.habbo.com/habboweb/%web_build%/web-gallery/styles/myhabbo/dialogs.css',
'stylesheet'));
$this->AddIncludeFile(new IncludeFile('text/css',
'http://images.habbo.com/habboweb/%web_build%/web-gallery/styles/myhabbo/buttons.css',
'stylesheet'));
$this->AddIncludeFile(new IncludeFile('text/css',
'http://images.habbo.com/habboweb/%web_build%/web-gallery/styles/myhabbo/control.textarea.css',
'stylesheet'));
$this->AddIncludeFile(new IncludeFile('text/css',
'http://images.habbo.com/habboweb/%web_build%/web-gallery/styles/myhabbo/boxes.css',
'stylesheet'));
$this->AddIncludeFile(new IncludeFile('text/css',
'http://images.habbo.com/habboweb/%web_build%/web-gallery/v2/styles/myhabbo.css',
'stylesheet'));
$this->AddIncludeFile(new IncludeFile('text/css',
'http://www.habbo.com/myhabbo/styles/assets.css', 'stylesheet'));
$this->AddIncludeFile(new IncludeFile('text/javascript',
'http://images.habbo.com/habboweb/%web_build%/web-gallery/static/js/homeview.js'));
$this->AddIncludeFile(new
IncludeFile('text/css',
'http://images.habbo.com/habboweb/%web_build%/web-gallery/v2/styles/lightwindow.css',
'stylesheet'));
break;
case 'default':
default:
$this->AddIncludeFile(new IncludeFile('text/javascript',
'http://images.habbo.com/habboweb/%web_build%/web-gallery/static/js/libs2.js'));
$this->AddIncludeFile(new
IncludeFile('text/javascript',
'http://images.habbo.com/habboweb/%web_build%/web-gallery/static/js/visual.js'));
$this->AddIncludeFile(new
IncludeFile('text/javascript',
'http://images.habbo.com/habboweb/%web_build%/web-gallery/static/js/libs.js'));
$this->AddIncludeFile(new
IncludeFile('text/javascript',
'http://images.habbo.com/habboweb/%web_build%/web-gallery/static/js/common.js'));
$this->AddIncludeFile(new
IncludeFile('text/javascript',
'http://images.habbo.com/habboweb/%web_build%/web-gallery/static/js/fullcontent.js'));
$this->AddIncludeFile(new
IncludeFile('text/css',
'http://images.habbo.com/habboweb/%web_build%/web-gallery/v2/styles/style.css',
'stylesheet'));
$this->AddIncludeFile(new IncludeFile('text/css',
'http://images.habbo.com/habboweb/%web_build%/web-gallery/v2/styles/buttons.css',
'stylesheet'));
$this->AddIncludeFile(new IncludeFile('text/css',
'http://images.habbo.com/habboweb/%web_build%/web-gallery/v2/styles/boxes.css',
'stylesheet'));
$this->AddIncludeFile(new IncludeFile('text/css',
'http://images.habbo.com/habboweb/%web_build%/web-gallery/v2/styles/tooltips.css',
'stylesheet'));
break;
}
}
public function AddGeneric($tplName)
{
$tpl = new Template($tplName);
$this->outputData .= $tpl->GetHtml();
}
public function AddTemplate($tpl)
{
$this->outputData .= $tpl->GetHtml();
}
public function SetParam($param, $value)
{
$this->params[$param] = is_object($value) ? $value->fetch() :
$value;
}
public function UnsetParam($param)
{
unset($this->params[$param]);
}
public function AddIncludeFile($incFile)
{
$this->includeFiles[] = $incFile;
}
public function WriteIncludeFiles()
{
foreach ($this->includeFiles as $f)
{
$this->Write($f->GetHtml() . LB);
}
}
public function Write($str)
{
$this->outputData .= $str;
}
public function FilterParams($str)
{
foreach ($this->params as $param => $value)
{
$str = str_ireplace('%' . $param . '%', $value, $str);
}
return $str;
}
public function Output()
{
global $core;
$this->Write(LB . LB . '' . LB . LB);
echo $this->FilterParams($this->outputData);
}
}
class Template
{
private $params = Array();
private $tplName = '';
public function Template($tplName)
{
$this->tplName = $tplName;
}
public function GetHtml()
{
global $users;
extract($this->params);
$file = CWD . 'inc/tpl/' . $this->tplName . '.tpl';
if (!file_exists($file))
{
uberCore::SystemError('Erro de Template !', 'Não foi possível encontrar o
Template: ' . $this->tplName);
}
ob_start();
include($file);
$data = ob_get_contents();
ob_end_clean();
return $this->FilterParams($data);
}
public function FilterParams($str)
{
foreach ($this->params as $param => $value)
{
if (is_object($value))
{
continue;
}
$str = str_ireplace('%' . $param . '%', $value, $str);
}
return $str;
}
public function SetParam($param, $value)
{
$this->params[$param] = $value;
}
public function UnsetParam($param)
{
unset($this->params[$param]);
}
}
class IncludeFile
{
private $type;
private $src;
private $rel;
private $name;
public function IncludeFile($type, $src, $rel = '', $name = '')
{
global $tpl;
$this->type = $type;
$this->src = $src;
$this->rel = $rel;
$this->name = $name;
}
public function GetHtml()
{
switch ($this->type)
{
case 'application/rss+xml':
return '';
case 'text/javascript':
return '';
case 'text/css':
default:
return '';
}
}
}
?>
Fatal error: Class 'uberTpl' not found in C:\Program Files\VertrigoServ\www\global.php on line 48
- Conteúdo patrocinado
Re: [ajuda] olha o que aparece quando abro o meu hotel [ajuda]
- Toda vez que eu abro meu client para jogar, aparece isso
- Habbo Hotel COM VAGAS
- Quando abro o emulador aparece "o ... emulador encontrou um problema e precisa ser fechado" (ajuda)
- (ajuda) coloquei mobis no meu hotel mais quando clico neles hotel cai (ajuda)
- xtreme me ajude com meu habbo igual o br quando eu vou entrar no client aparece isso
Permissões neste sub-fórum
Não podes responder a tópicos