ProPixel

Participe do fórum, é rápido e fácil

ProPixel
ProPixel
Gostaria de reagir a esta mensagem? Crie uma conta em poucos cliques ou inicie sessão para continuar.

Como editar cms ??

+3
Medalha
Nero
balroguex2
7 participantes
Ir para baixo
Cłคud¡σ~
Cłคud¡σ~
Membro Mítico

<b>Idade</b> Idade : 27
<b>Posts</b> Posts : 814
<b>Créditos</b> Créditos : 0
<b>Respeito</b> Respeito : 8
Ja Pensou em Morfar ?
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
Skater
Skater
Membro Elevado

<b>Idade</b> Idade : 30
<b>Posts</b> Posts : 235
<b>Créditos</b> Créditos : 0
<b>Respeito</b> Respeito : 0
PrØGrÂM£R~C#,PHP,HTML
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.
Play Now
Play Now
Membro

<b>Idade</b> Idade : 29
<b>Posts</b> Posts : 16
<b>Créditos</b> Créditos : 0
<b>Respeito</b> Respeito : 0
Habboz Forum xD
Qual Cms você esta ultilizando ?
cmoretti
cmoretti
Membro Elevado

<b>Idade</b> Idade : 25
<b>Posts</b> Posts : 243
<b>Créditos</b> Créditos : 0
<b>Respeito</b> Respeito : -1
Potóco !
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:

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
Nero
Administrador

<b>Idade</b> Idade : 27
<b>Posts</b> Posts : 703
<b>Créditos</b> Créditos : 80
<b>Respeito</b> Respeito : 1
eae já me adicionou
avatar
Convidad
Convidado
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.
Medalha
Medalha
Membro

<b>Idade</b> Idade : 27
<b>Posts</b> Posts : 28
<b>Créditos</b> Créditos : 0
<b>Respeito</b> Respeito : 0
nada
Ou Add no meu msn lipaomengao@hotmail.com
Medalha
Medalha
Membro

<b>Idade</b> Idade : 27
<b>Posts</b> Posts : 28
<b>Créditos</b> Créditos : 0
<b>Respeito</b> Respeito : 0
nada
Eu Arrumo pra vs vs tem msn<br>
Nero
Nero
Administrador

<b>Idade</b> Idade : 27
<b>Posts</b> Posts : 703
<b>Créditos</b> Créditos : 80
<b>Respeito</b> Respeito : 1
baixa o team viever e me adcione no msn rovem360@hotmail.com
balroguex2
balroguex2
Membro

<b>Idade</b> Idade : 34
<b>Posts</b> Posts : 14
<b>Créditos</b> Créditos : 0
<b>Respeito</b> Respeito : 0
CRIAR HABBO
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/
Conteúdo patrocinado
Ir para o topo
Permissões neste sub-fórum
Não podes responder a tópicos