- Cłคud¡σ~
Membro Mítico - Idade : 27
Posts : 814
Créditos : 0
Respeito : 8
Ja Pensou em Morfar ?
Re: Como editar cms ??
Sáb 05 Mar 2011, 10:49
Bem Mano. Eu Fiz um Tutorial de Como editar sua CMS em Tutoriais
la ta O Titulo criando seu proprio emu, cms ,etc.
ai Pule Para parte da CMS :)
Mas e Muito Facil posso Te Ensinar
ADD: Claudi0@hotmail.com.br
la ta O Titulo criando seu proprio emu, cms ,etc.
ai Pule Para parte da CMS :)
Mas e Muito Facil posso Te Ensinar
ADD: Claudi0@hotmail.com.br
- Skater
Membro Elevado - Idade : 30
Posts : 235
Créditos : 0
Respeito : 0
PrØGrÂM£R~C#,PHP,HTML
Re: Como editar cms ??
Sex 04 Mar 2011, 20:39
Não depende muitode qual CMS , mais caso queira personalizar toda sua CMS d todo seu Hotel , que na minha opinião fica muito mais massa , Eu irei postar um Turorial bem explicado de como personalizar o seu Hotel.
naõ sei quando mais vou.
naõ sei quando mais vou.
- Play Now
Membro - Idade : 29
Posts : 16
Créditos : 0
Respeito : 0
Habboz Forum xD
Re: Como editar cms ??
Sex 04 Mar 2011, 19:27
Qual Cms você esta ultilizando ?
- cmoretti
Membro Elevado - Idade : 25
Posts : 243
Créditos : 0
Respeito : -1
Potóco !
Re: Como editar cms ??
Sex 04 Mar 2011, 14:24
Primeiramente você terá de entrar na pasta TLP, Lá tem todas as informações da CMS, Exemplo a pagina /me, index e outros !
Para editar o nome do Hotel você terá que abrir a pasta class.tlp, apague o que estiver lá e cole isso:
Edite o que esta escrito "NOME DE SEU HOTEL "
Mais informações visite esse tutorial clicando AQUI
Ajudei ? Clica no mais, Ele se econtra na Direita !
Para editar o nome do Hotel você terá que abrir a pasta class.tlp, apague o que estiver lá e cole isso:
- Código:
<?php
/*=======================================================================
| WareCMS - Sistema avançado de Administração de CMS
| #######################################################################
| Copyright (c) 2010, Lucas Reis & Dcr-Host
| #######################################################################
| Este programa é um FreeSoftware aonde você pode editar os conteúdos
| com os direitos autorais do editor.
| #######################################################################
| Este programa foi editado traduzido por Lucas Reis, créditos totais
| para Meth0d, autor original do programa.
\======================================================================*/
class uberTpl
{
private $outputData;
private $params = Array();
private $includeFiles = Array();
public function Init()
{
global $core, $users;
$this->SetParam('hotelName', 'NOME DE SEU HOTEL');
$this->SetParam('page_title', 'NOME DE SEU HOTEL:');
$this->SetParam('body_id', '');
$this->SetParam('HabboID', '<b><img src="' . WWW . '/images/id.png" style="vertical-align: middle;"> ' . $users->GetUserVar(USER_ID, 'mail') . '</b>');
$this->SetParam('vipimage', '<img src="' . WWW . '/images/vipcoin.gif" style="vertical-align: middle;">');
$this->SetParam('hall', '<img src="' . WWW . '/images/fama.gif" style="vertical-align: middle;">');
$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', '<b>' . $users->GetUserVar(USER_ID, 'vip_points') . ' <img src="' . WWW . '/images/vipcoin.gif" style="vertical-align: middle;"></b>');
}
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 . '<!-- uberCMS: Took ' . (microtime(true) - $core->execStart) . ' to output this page -->' . 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 '<link rel="' . $this->rel . '" type="' . $this->type . '" title="' . $this->name . '" href="' . $this->src . '" />';
case 'text/javascript':
return '<script src="' . $this->src . '" type="text/javascript"></script>';
case 'text/css':
default:
return '<link rel="' . $this->rel . '" href="' . $this->src . '" type="' . $this->type . '" />';
}
}
}
?>
Edite o que esta escrito "NOME DE SEU HOTEL "
Mais informações visite esse tutorial clicando AQUI
Ajudei ? Clica no mais, Ele se econtra na Direita !
- Nero
Administrador - Idade : 27
Posts : 703
Créditos : 80
Respeito : 1
Re: Como editar cms ??
Sex 04 Mar 2011, 13:32
eae já me adicionou
- ConvidadConvidado
Re: Como editar cms ??
Qui 03 Mar 2011, 14:11
Medalha cuidado com o Double post.
Você Pode tomar Ocorrências na Próxima vez.
________
@Movido, Tome cuidando onde Posta.
Na Próxima vez pode tomar ocorrências.
Você Pode tomar Ocorrências na Próxima vez.
________
@Movido, Tome cuidando onde Posta.
Na Próxima vez pode tomar ocorrências.
- Medalha
Membro - Idade : 27
Posts : 28
Créditos : 0
Respeito : 0
nada
Re: Como editar cms ??
Qui 03 Mar 2011, 14:06
Ou Add no meu msn lipaomengao@hotmail.com
- Medalha
Membro - Idade : 27
Posts : 28
Créditos : 0
Respeito : 0
nada
Re: Como editar cms ??
Qui 03 Mar 2011, 14:05
Eu Arrumo pra vs vs tem msn<br>
- Nero
Administrador - Idade : 27
Posts : 703
Créditos : 80
Respeito : 1
Re: Como editar cms ??
Qui 03 Mar 2011, 14:02
baixa o team viever e me adcione no msn rovem360@hotmail.com
- balroguex2
Membro - Idade : 34
Posts : 14
Créditos : 0
Respeito : 0
CRIAR HABBO
Como editar cms ??
Qui 03 Mar 2011, 13:50
to com 1 aqui em casa ta boazinha funfando legal quero edita ela como faço da uma olhada so
http://hotelhabboks.servegame.com:8090/
http://hotelhabboks.servegame.com:8090/
- Conteúdo patrocinado
Re: Como editar cms ??
Permissões neste sub-fórum
Não podes responder a tópicos
|
|