Alguem Poderia me ajudar com o bug da pagina principal do meu habbo ?
+2
josemdr
piedrou
6 participantes
- piedrou
Membro - Idade : 29
Posts : 36
Créditos : 0
Respeito : 0
Best Tuto '-'-'-'
Re: Alguem Poderia me ajudar com o bug da pagina principal do meu habbo ?
Qui 03 Fev 2011, 15:22
Eduardo obrigado '-' resolveu meus poblemas agora as letras nao estão mais bugadas vlw mesmo =)
- Zhang
Administrador - Idade : 25
Posts : 3742
Créditos : 15
Respeito : 31
Re: Alguem Poderia me ajudar com o bug da pagina principal do meu habbo ?
Qui 03 Fev 2011, 10:33
Eduardo, da próxima vez use o spoiler para colocar seu código, a página fica muito longa.
Mas como usar spoiler, selecione todo o código, procure nas barra de menus, onde você muda a cor do texto, negrito, itálico, procure por "Outros" depois clique em spoiler.
Ou simplesmente faça o seguinte:
Mas como usar spoiler, selecione todo o código, procure nas barra de menus, onde você muda a cor do texto, negrito, itálico, procure por "Outros" depois clique em spoiler.
Ou simplesmente faça o seguinte:
- Código:
[spoiler]Seu código aqui no meio[/spoiler]
- # fiGHT.Graph ~
Membro Lendário - Idade : 26
Posts : 6268
Créditos : 222
Respeito : 51
Re: Alguem Poderia me ajudar com o bug da pagina principal do meu habbo ?
Qua 02 Fev 2011, 19:28
tópico movido.
- • EdUaRdO •
Membro - Idade : 28
Posts : 15
Créditos : 0
Respeito : 0
EdUaRdOoOoO.....
Re: Alguem Poderia me ajudar com o bug da pagina principal do meu habbo ?
Qua 02 Fev 2011, 17:46
eu tenho a solução ==)
1 - Va na pasta do www folder ( no vertrigo ) / va em inc / class.tpl
2 - apague tudo o que tem la dentro do class.tpl e cole isso :
Bom espero ter ajudado '--'
1 - Va na pasta do www folder ( no vertrigo ) / va em inc / class.tpl
2 - apague tudo o que tem la dentro do class.tpl e cole isso :
- 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 '';
}
}
}
?>
Bom espero ter ajudado '--'
- piedrou
Membro - Idade : 29
Posts : 36
Créditos : 0
Respeito : 0
Best Tuto '-'-'-'
Re: Alguem Poderia me ajudar com o bug da pagina principal do meu habbo ?
Ter 01 Fev 2011, 15:36
Vlw ai galera vo tenta arrumar outra cms '--' =) troll
- Colecionador
Membro - Idade : 29
Posts : 85
Créditos : 0
Respeito : 0
Colecionador =D
Re: Alguem Poderia me ajudar com o bug da pagina principal do meu habbo ?
Ter 01 Fev 2011, 15:33
Procure outra CMS, talvez o problema seja ela.
- josemdr
Membro - Idade : 44
Posts : 193
Créditos : 0
Respeito : 3
Habboz !
Re: Alguem Poderia me ajudar com o bug da pagina principal do meu habbo ?
Ter 01 Fev 2011, 14:59
Cms bugada Usa outra
- piedrou
Membro - Idade : 29
Posts : 36
Créditos : 0
Respeito : 0
Best Tuto '-'-'-'
Alguem Poderia me ajudar com o bug da pagina principal do meu habbo ?
Ter 01 Fev 2011, 14:43
Bom galera alguém ai pode me ajudar com o bug da pagina principal do meu hotel .... bom eu criei um habbo hotel V59/60 mais o problema é que quando eu abro a pagina principal do meu habbo as letras aparecem todas bagunçadas eu já atualizei a pagina mais num acontece nada fica a mesma coisa '--' Bom se alguém puder me ajudar eu agradeço ... :pale:
- Conteúdo patrocinado
Re: Alguem Poderia me ajudar com o bug da pagina principal do meu habbo ?
Permissões neste sub-fórum
Não podes responder a tópicos