Páginas Na cms aXDR 2.0

+2
Secad4ever
Seth0r
6 participantes

Seth0r Seth0r  • 06.04.15 23:53

Páginas Na cms aXDR 2.0 Empty Páginas Na cms aXDR 2.0 06.04.15 23:53

Print de meu erro: Desnecessario.

Qual é meu erro: Páginas Na cms aXDR 2.0

CMS Que estou utilizando: aXDR 2.0

SWF que estou utilizando: aXDR 2.0 (Azure)

Versão de meu hotel: NewCrypto

Se escolheu outros, especifique: -

Comentários adicionais: Olá, queria saber se há como adicionar Páginas na minha CMS. pois ela é a aXRD 2.0 e queria adicionar "Hall da Fama" , é possivél?

Secad4ever Secad4ever  • 07.04.15 0:19

Páginas Na cms aXDR 2.0 Empty Re: Páginas Na cms aXDR 2.0 07.04.15 0:19

PHP:

PRONTO, basta construir.  Páginas Na cms aXDR 2.0 Emoticon-with-look-of-triumph  Páginas Na cms aXDR 2.0 Winking-face-facebook-symbol

Seth0r Seth0r  • 07.04.15 0:28

Páginas Na cms aXDR 2.0 Empty Re: Páginas Na cms aXDR 2.0 07.04.15 0:28

Não há uma já pronta? :/

Secad4ever Secad4ever  • 07.04.15 0:31

Páginas Na cms aXDR 2.0 Empty Re: Páginas Na cms aXDR 2.0 07.04.15 0:31

[quote=Je4NR]Não há uma já pronta? :/[/quote]

Não até onde eu sei. Não acompanho a mesma; :(

eaxgames eaxgames  • 07.04.15 0:41

Páginas Na cms aXDR 2.0 Empty Re: Páginas Na cms aXDR 2.0 07.04.15 0:41

Olá, o sr. deseja uma página em php com hall da fama? Eu tenho uma aqui, envia mensagem privado que lhe envio.

avatar VitorVictor  • 07.04.15 1:02

Páginas Na cms aXDR 2.0 Empty Re: Páginas Na cms aXDR 2.0 07.04.15 1:02

1. Primeiramente vá a sua área de trabalho/desktop.

Crie uma pasta com o nome "Hall da fama", depois dentro desta pasta crie uma pasta chamada "inc" e dentro da pasta inc crie uma pasta chamada "tpl".

Agora vamos abrir um bloco de notas e colocar este conteudo dentro dele:




Código:
/*=======================================================================
| UberCMS - Advanced Website and Content Management System for uberEmu
| #######################################################################
| Copyright (c) 2010, Roy 'Meth0d'
| http://www.meth0d.org
| #######################################################################
| This program is free software: you can redistribute it and/or modify
| it under the terms of the GNU General Public License as published by
| the Free Software Foundation, either version 3 of the License, or
| (at your option) any later version.
| #######################################################################
| This program is distributed in the hope that it will be useful,
| but WITHOUT ANY WARRANTY; without even the implied warranty of
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
| GNU General Public License for more details.
\======================================================================*/ 
define('TAB_ID', 19);
define('PAGE_ID', 21);

require_once "global.php";

if (!LOGGED_IN)
{
    header("Location: /");
    exit;
}

$tpl->Init();

$tpl->AddGeneric('head-init');

$tpl->AddIncludeSet('generic');
$tpl->WriteIncludeFiles();

$tpl->AddGeneric('head-overrides-generic');
$tpl->AddGeneric('head-bottom');
$tpl->AddGeneric('generic-top');
    
$tpl->Write('');
$tpl->AddGeneric('respeitos');
$tpl->Write('
');

$tpl->Write('');
$tpl->Write('
');

$tpl->AddGeneric('generic-column3');
$tpl->SetParam('page_title', 'Respeitos');
$tpl->SetParam('body_id', 'home');

$tpl->Output();
    
?>


Agora vamos salvar na pasta "Hall da Fama" que criamos no inicio do tutorial com o nome "respeitos.php"

Agora vamos abrir outro bloco de notas e colocar este conteudo dentro dele:




Código:
/*=======================================================================
| UberCMS - Advanced Website and Content Management System for uberEmu
| #######################################################################
| Copyright (c) 2010, Roy 'Meth0d'
| http://www.meth0d.org
| #######################################################################
| This program is free software: you can redistribute it and/or modify
| it under the terms of the GNU General Public License as published by
| the Free Software Foundation, either version 3 of the License, or
| (at your option) any later version.
| #######################################################################
| This program is distributed in the hope that it will be useful,
| but WITHOUT ANY WARRANTY; without even the implied warranty of
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
| GNU General Public License for more details.
\======================================================================*/ 
define('TAB_ID', 19);
define('PAGE_ID', 24);

require_once "global.php";

if (!LOGGED_IN)
{
    header("Location: /");
    exit;
}

$tpl->Init();

$tpl->AddGeneric('head-init');

$tpl->AddIncludeSet('generic');
$tpl->WriteIncludeFiles();

$tpl->AddGeneric('head-overrides-generic');
$tpl->AddGeneric('head-bottom');
$tpl->AddGeneric('generic-top');
    
$tpl->Write('');
$tpl->AddGeneric('ricos');
$tpl->Write('
');

$tpl->Write('');
$tpl->Write('
');

$tpl->AddGeneric('generic-column3');
$tpl->SetParam('page_title', 'Ricos');
$tpl->SetParam('body_id', 'home');

$tpl->Output();
    
?>


Agora vamos salvar na pasta "Hall da famas" que criamos no inicio do tutorial com o nome "ricos.php"

Agora vamos abrir outro bloco de notas e colocar este conteúdo dentro dele:




Código:
<?php
$get_cc = mysql_query("SELECT * FROM users WHERE credits IS NOT NULL /*AND rank < 5*/ ORDER BY credits DESC LIMIT 20") or die(mysql_error());  
?>

<div class="habblet-container ">      
<div class="cbb clearfix orange "> 

<h2 class="title">Hall da Fama !</h2>
  
<div class="box-content">

<p>
<center>Olá <b>%habboName%</b> ! Veja abaixo os Habbos mais ricos em nosso hotel.</center>
</p>
<br>
<p>
</p>
<p>
<strong>Nota:</strong> <i>Os membros de nossa equipe não irão ganhar prêmios, por isso colocamos os 20 mais ricos de nosso hotel.</i>
</p>
<p>
<br>
<div id="contentRight"> 
    <div class="contentHolder"> 
      <div class="contentHeader">
      </div>  
                        <div id='credits-promo' class='box-content credits-info'>  
    <div class='credit-info-text clearfix'>  
      
<div class='tableborder'>  
 <tab[b][/b]le cellpadding='4' cellspacing='0' width='100%'>  
 <tr>  
  <td class='tablesubheader' width='50%' align='center'><b>Usuário</b></td>  
  <td class='tablesubheader' width='50%' align='center'><b>Moedas</b></td>    
 </tr>

<?php  

while($row = mysql_fetch_assoc($get_cc)){  
    printf(" <tr>  
  <td class='tablerow1' align='center'><a href=\"home/%s\">%s</a></td>  
  <td class='tablerow2' align='center'>%s</td>  
</tr>", $row['username'], $row['username'], $row['credits']);  
}  
?>


Agora vamos salva-lo na pasta "Hall da Fama > inc > tpl" com o nome "ricos.tpl"

Agora vamos abrir mais um bloco de notas(O Último) e colocar este conteudo dentro dele:





Código:
<?php
$get_cc = mysql_query("SELECT * FROM users WHERE respect IS NOT NULL /*AND rank < 5*/ ORDER BY respect DESC LIMIT 15") or die(mysql_error());  
?>

<div class="habblet-container ">      
<div class="cbb clearfix orange "> 

<h2 class="title">Hall da Fama !</h2>
  
<div class="box-content">

<p>
<center>Olá <b>%habboName%</b> ! Veja abaixo os Habbos mais famosos em nosso hotel.</center>
</p>
<br>
<p>
</p>
<p>
<strong>Nota:</strong> <i>Os membros de nossa equipe não irá ganhar prêmios, por isso colocamos os 15 mais respeitados.</i>
</p>
<p>
<br>
<div id="contentRight"> 
    <div class="contentHolder"> 
      <div class="contentHeader">
      </div>  
                        <div id='credits-promo' class='box-content credits-info'>  
    <div class='credit-info-text clearfix'>  
      
<div class='tableborder'>  
 <tab[b][/b]le cellpadding='4' cellspacing='0' width='100%'>  
 <tr>  
  <td class='tablesubheader' width='50%' align='center'><b>Usuário</b></td>  
  <td class='tablesubheader' width='50%' align='center'><b>Respeitos</b></td>    
 </tr>  

<?php  

while($row = mysql_fetch_assoc($get_cc)){  
    printf(" <tr>  
  <td class='tablerow1' align='center'><a href=\"home/%s\">%s</a></td>  
  <td class='tablerow2' align='center'>%s</td>  
</tr>", $row['username'], $row['username'], $row['respect']);  
}  
?> 
<script type="text/javascript">if (!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script>


Agora vamos salva-lo na pasta "Hall da Fama > inc > tpl" com o nome "respeitos
.tpl"

Agora nós vamos ir na pasta "Hall da fama" e copiar tudo o que esta nela e colar na pasta principal da cms!

Pronto o hall da fama está criado, agora vamos criar o menu!

Basta ir na sua database > SQL e colocar este código:




Código:
--
-- Extraindo dados da tabela `site_navi`
--

INSERT INTO `site_navi` (`id`, `parent_id`, `order_id`, `caption`, `class`, `url`, `visibility`) VALUES
(500, 0, 4, 'Hall da fama', 'tab-register-now', '/respeitos.php', '2'),
(501, 500, 1, 'Inicio', '', '/respeitos.php', '1'),
(502, 500, 2, 'Habbos mais ricos', '', '/ricos.php', '2');

Seth0r Seth0r  • 07.04.15 1:12

Páginas Na cms aXDR 2.0 Empty Re: Páginas Na cms aXDR 2.0 07.04.15 1:12

Victor, desejo um Hall da Fama com eventos e promoções, como hotéis da atualidades de hoje. só que para aXDR 2.0

avatar VitorVictor  • 07.04.15 1:23

Páginas Na cms aXDR 2.0 Empty Re: Páginas Na cms aXDR 2.0 07.04.15 1:23

Comprieendo! Acesse este LINK, espero ter ajudado.




Creditos:


VitorVictor (Divulgação)
Livєя (Pelo Repost)
rtiago (Pelo tópico)




Link Editado.

Brytch Brytch  • 07.04.15 8:46

Páginas Na cms aXDR 2.0 Empty Re: Páginas Na cms aXDR 2.0 07.04.15 8:46

@SUPORTE 
Autor possui 48H Para informar se está ou não satisfeito!

Seth0r Seth0r  • 07.04.15 11:20

Páginas Na cms aXDR 2.0 Empty Re: Páginas Na cms aXDR 2.0 07.04.15 11:20

Pode fechar, resolvi já.

Vong Vong  • 07.04.15 12:44

Páginas Na cms aXDR 2.0 Empty Re: Páginas Na cms aXDR 2.0 07.04.15 12:44

Moderação
Fechado
Permissões neste sub-fórum
Não podes responder a tópicos

BH Servers

Recomendamos a BH Servers com proteção DDOS gratuita em Cloud Server de alta performance. Entrega imediata.