Jump to content
  • 0

Ajuda Website


StrikersBR12

Question

Recommended Posts

  • 1
1 hora atrás, StrikersBR12 disse:

mudei de htdocs voltei a usar um antigo que eu msm editei pra ficar mais fácil http://prntscr.com/p4e1oi

 

mas ai quero saber como eu faço uma coisa eu n mecho com php a muito tempo por isso não lembro essas coisas básicas mas como coloco o rank top level ali http://prntscr.com/p4e23u

 

 

Usa esse index.tpl

Spoiler

<html>
   <head>
      <link rel="stylesheet" href="{$path}/templates/new/css/modern.css" type="text/css"/>
      <link href="https://fonts.googleapis.com/css?family=Oswald" rel="stylesheet">
      <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.2.0/css/all.css" integrity="sha384-hWVjflwFxL6sNzntih27bfxkr27PmbbK/iSvJ+a4+0owXq79v+lsFkW54bOGbiDQ" crossorigin="anonymous">
      <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
      <script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
      <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
      <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
      <link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet">
      <link href="https://fonts.googleapis.com/css?family=Armata" rel="stylesheet">
      <link href="https://fonts.googleapis.com/css?family=Quicksand" rel="stylesheet">
      <link rel="shortcut icon" href="{$path}/templates/new/favicon.ico" type="image/x-icon">
      <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
      <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
      <title>{$title}</title>
   </head>
   <body>
      <div class="mainbody">
      <div class="dex" style="background-image:url('{$path}/templates/new/images/dex/oddish.gif')"></div>
      <div id="header">
         <div class="logo">
            <img src="{$path}/templates/new/images/new-logo.png">
         </div>
         <div class="navbar" id="navbar">
            <div class="menuNavbar">
               <a href="{$path}">
                  <div class="menu1">Principal</div>
               </a>
               <i class="fa fa-adjust" style=" color: #48a6cc; transform: rotate(90deg); "></i>
               <a href="{$path}/index.php/account/create" id="menu2-link">
                  <div class="menu2">Criar Conta</div>
               </a>
               <i class="fa fa-adjust" style=" color: #48a6cc; transform: rotate(90deg); "></i>
               <a href="{$path}/index.php/p/v/downloads">
                  <div class="menu3">Download Game</div>
               </a>
               <hr size="1" class="navbarDivisor">
            </div>
            <div class="navbuttons">
               <a href="https://fb.com/pokestarwind" target="_blank" alt="Page Facebook">
                  <div class="buttons buttonFacebook">facebook</div>
               </a>
               <a href="https://pokestarwind.com/" target="_blank" alt="Forum">
                  <div class="buttons buttonForum">forum</div>
               </a>
               <a href="https://pokestarwind.com" target="_blank" alt="Blog">
                  <div class="buttons buttonBlog">blog</div>
               </a>
            </div>
         </div>
      </div>
      <div class="menu_nav" style="">
         <div id="navigation_button">
            Account
            <div class="icon_menu_title"><img src="{$path}/templates/new/images/navigation.png" width="40" height="40" title="Manage Account" alt="Manage Account"></div>
         </div>
         {if $logged == 1}
         <div class="nav_links_logged">
            <a href="{$path}/index.php/account"><img src="{$path}/templates/new/images/menuBalliconGreen.png" class="nav_link_icon">Gerenciar Conta</a>
            <br><a href="{$path}/index.php/character/create_character"><img src="{$path}/templates/new/images/menuBalliconGreen.png" class="nav_link_icon">Criar Personagem</a>
            <br><a href="{$path}/index.php/account/logout" reload="true"><img src="{$path}/templates/new//images/menuBalliconGreen.png" class="nav_link_icon"><i class="fa fa-sign-out"></i>Deslogar</a>
            <br>
    </div>
         {else}
         <div class="nav_links">
         <form action="{$path}/index.php/account/login.ide" method="post" class="unlogged submitLoggin">
            <center>
               <input type="hidden" class="backurl" name="backurl" value="">
               <input onfocus="javascript:this.value=''" type="text" class="input loggin_account" name="name" placeholder="account" for="username">
               <input onfocus="javascript:this.value=''" type="password" class="input loggin_account" name="pass" placeholder="password" for="password">
            </center>
            <center>
               <input type="Submit" class="loginbutton" name="Submit" value="Login">
            </center>
         </form>
         <div class="nav_links_green unlogged">
            <a href="{$path}/index.php/account/create"><img src="{$path}/templates/new/images/menuBalliconGreen.png" class="nav_link_icon">Criar Conta</a>
            <br><a href="{$path}/index.php/account/lost"><img src="{$path}/templates/new/images/menuBalliconGreen.png" class="nav_link_icon">Recuperar Conta</a>
            <br>
         </div>
       </div>
         {/if}
         <div id="community_button">
            Community
            <div class="icon_menu_title"><img src="{$path}/templates/new/images/community.png" width="40" height="40" title="Community"></div>
         </div>
         <div class="nav_links">
            <div class="nav_links_blue">
               <a href="{$path}/index.php/p/v/learn"><img src="{$path}/templates/new/images/menuBalliconBlue.png" class="nav_link_icon">Aprenda a Jogar</a>
               <br><a href="{$path}/index.php/p/v/downloads"><img src="{$path}/templates/new/images/menuBalliconBlue.png" class="nav_link_icon">Download Game</a>
			   <br><a href="{$path}/index.php/p/v/shop"><img src="{$path}/templates/new/images/menuBalliconBlue.png" class="nav_link_icon">Shop</a>
			   <br><a href="{$path}/index.php/p/v/pagseguro"><img src="{$path}/templates/new/images/menuBalliconBlue.png" class="nav_link_icon">Comprar Pontos</a>
               <br>
            </div>
            <div class="nav_links_red">
               <br><a href="{$path}/index.php/p/v/map"><img src="{$path}/templates/new/images/menuBalliconRed.png" class="nav_link_icon">Mapa Pokemon</a>
               <br><a href="{$path}/index.php/houses/main"><img src="{$path}/templates/new/images/menuBalliconRed.png" class="nav_link_icon">Casas</a>
               <br><a href="{$path}/index.php/guilds"><img src="{$path}/templates/new/images/menuBalliconRed.png" class="nav_link_icon">Guilds</a>
               <br><a href="{$path}/index.php/highscores"><img src="{$path}/templates/new/images/menuBalliconRed.png" class="nav_link_icon">Ranking</a>
               <br><a href="{$path}/index.php/p/v/deaths"><img src="{$path}/templates/new/images/menuBalliconRed.png" class="nav_link_icon">Ultimas Mortes</a>
               <br><a href="{$path}/index.php/character/view"><img src="{$path}/templates/new/images/menuBalliconRed.png" class="nav_link_icon">Personagens</a>
               <br>
            </div>
            <div class="nav_links_purple">
               <br><a href="{$path}/index.php/p/v/rules"><img src="{$path}/templates/new/images/menuBalliconPurple.png" class="nav_link_icon">Regras</a>
               <br><a href="{$path}/index.php/p/v/fasites"><img src="{$path}/templates/new/images/menuBalliconPurple.png" class="nav_link_icon">Fa Sites</a>
               <br><a href="{$path}/index.php/forum"><img src="{$path}/templates/new/images/menuBalliconPurple.png" class="nav_link_icon">Forum</a>
               <br>
            </div>
         </div>
         <div id="search_button">
            Search Player
            <div class="icon_menu_title"><img src="{$path}/templates/new/images/search.png" width="40" height="40" title="Search"></div>
         </div>
         <div class="nav_links_search">
            <form action="{$path}/index.php/character/view" method="post">
               <input type="text" id="search" class="keyboardInput searchBar" name="name">
               <input value="Go" style="position: absolute;margin-top: 9px;" type="submit">
            </form>		
         </div>
         <div id="toplevel_button">
            Top Level	
            <div class="icon_menu_title"><img src="{$path}/templates/new/images/toplevel.png" width="40" height="40" title="Top Level"></div>
         </div>
         <div class="nav_links_highscores">
		 {include_php file='templates/new/level.php'}
         </div>
      </div>
      <div class="newscont">
         <center>
            <h1><span style="font-size:40%;">Bem vindo ao mundo {$title} Online</h1>			
         </center>
         </span>
         {$main}
         <div class="copyrights">		 
            Community PokemonStarWind BRAZIL fan site - Contact: weverton1940(a)outlook.com - Pokemon Online
            <br><small> Pokémon Copyright © 1995 - 2018 Nintendo/Creatures Inc./GAME FREAK Inc.
            Pokemon And All Respective Names are Trademarks of Nintendo 1996-2018
            PokemonStarWind is not affiliated with Nintendo, Creatures Inc. and GAME FREAK Inc.</small>
         </div>
      </div>
   </body>
</html>

 

Aí vc coloca esse level.php em templates/new 

e testa ^^ 

 

level.rar

Link to comment
Share on other sites

  • 0
17 minutos atrás, StrikersBR12 disse:

eu n lembro onde edito essa parte alguém ajuda?

 

@Ayron5 tu sabe como edito essa parte?

 

untitled.png

e a parte inicial do site

No caso vc quer colocar postagens aí ou colocar a caixa do facebook? 

Link to comment
Share on other sites

  • 0
15 minutos atrás, Ayron5 disse:

Blz, já já te respondo kk

já consegui por oq eu queria mas quero ajeitar duas coisas

 

http://prntscr.com/p40uqp segue o print ae

 

a 1 coisa é esse negocio do facebook ae que n consigo tirar por nada

 

a outra é a parte la encima com interrogações >> etc 

20 minutos atrás, StrikersBR12 disse:

já consegui por oq eu queria mas quero ajeitar duas coisas

 

http://prntscr.com/p40uqp segue o print ae

 

a 1 coisa é esse negocio do facebook ae que n consigo tirar por nada

 

a outra é a parte la encima com interrogações >> etc 

corrigi o negocio do facebook

 

falta so isso aqui 

untitled.png

Link to comment
Share on other sites

  • 0
59 minutos atrás, StrikersBR12 disse:

já consegui por oq eu queria mas quero ajeitar duas coisas

 

http://prntscr.com/p40uqp segue o print ae

 

a 1 coisa é esse negocio do facebook ae que n consigo tirar por nada

 

a outra é a parte la encima com interrogações >> etc 

corrigi o negocio do facebook

 

falta so isso aqui 

untitled.png

Mano eu testei aqui essa index.tpl que vc passou e aqui não tem essas coisas kkkk 

Spoiler

hhhhhhhhh.thumb.png.4a0f383020dc309ec5354f0f3a8d1efa.png

Acho que tem algo errado e não é na tpl .-. kdsjfksdjfd

Link to comment
Share on other sites

  • 0
6 horas atrás, Ayron5 disse:

Mano eu testei aqui essa index.tpl que vc passou e aqui não tem essas coisas kkkk 

  Ocultar conteúdo

hhhhhhhhh.thumb.png.4a0f383020dc309ec5354f0f3a8d1efa.png

Acho que tem algo errado e não é na tpl .-. kdsjfksdjfd

tem alguma ideia de onde pode ser?

Link to comment
Share on other sites

  • 0
1 hora atrás, StrikersBR12 disse:

deu certo n , já tava em utf-8 e mudei para ANSI deu na mesma

Olha faz isso aqui kkk

Usa esse index.tpl

Spoiler

<body oncontextmenu="return false" onselectstart="return false" ondragstart="return false">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
<meta http-equiv="Content-Language" content="pt-br">
<title> PokeStarWind | Pokemon Online</title>
<meta name="robots" content="index,follow">
<meta http-equiv="CONTENT-LANGUAGE" content="pt,ptb,pt-br">
<meta name="title" content="PokeStarWind | Pokemon Online">
<meta name="domain" content="PokeStarWind">
<meta name="url" content="PokeStarWind">
<meta name="keywords" content="Pokemon Online, Pokemon, Tibia Pokemon, Jogue Pokemon, Pokémon Online, Tibia Pokémon, Jogue Pokémon, Jogar Pokemon Online">
<meta name="description" content="O maior e melhor servidor de Tibia Pokemon do Brasil, um MMORPG que Mistura Tibia com Pokémon uma aventura incrivel te espera no mundo de starwind">
<meta name="autor" content="Jackson Marques">
<meta name="company" content="otpokemon">
<meta name="revisit-after" content="5">
<script type="text/javascript">
</script>
{$head}        
<link rel="stylesheet" href="{$path}/templates/pokemon/system/style.css" type="text/css" />
<link type="text/css" href="{$path}/htdocs/public/css/system.css" rel="stylesheet" /><link type="text/css" href="{$path}/htdocs/public/css/smoothness/jquery-ui-1.7.2.custom.css" rel="stylesheet" /><script type="text/javascript" src="{$path}/htdocs/public/js/jquery-1.4.2.min.js"></script><script type="text/javascript" src="{$path}/htdocs/public/js/jquery.ui.datetimepicker.js"></script><script type="text/javascript" src="{$path}/htdocs/public/js/system.js"></script><script type="text/javascript" src="{$path}/htdocs/public/js/jquery-ui-1.8.custom.min.js"></script><link rel="stylesheet" href="{$path}/htdocs/public/css/tipsy.css" type="text/css" /><script type="text/javascript" src="{$path}/htdocs/public/js/jquery.tipsy.js"></script><link rel="stylesheet" type="text/css" href="{$path}/htdocs/public/css/tooltip.css" /> <script type="text/javascript" src="{$path}/htdocs/public/js/tooltip.js"></script>

<link rel="shortcut icon" href="{$path}/templates/pokemon/otp.ico">        

<script type="text/javascript" src="{$path}/templates/pokemon/system/js.js"></script>
        
<script type="text/javascript">
        var url = 0; var url = "http://www.pokemon.com";
    </script>
<script>
!function(d,s,id){
var js,fjs=d.getElementsByTagName(s)[0];
if(!d.getElementById(id)){
js=d.createElement(s);
js.id=id;js.src="//platform.twitter.com/widgets.js";
fjs.parentNode.insertBefore(js,fjs);}
}
(document,"script","twitter-wjs");
</script> 
<body>

<div class="page">
<div class="mainbody">
<a href="{$path}"><div class="header"><div class="dex" style="background-image:url('{$path}/templates/pokemon/images/dex/Metagross.gif')"></div></div></a>
<div class="navbar">

<a href="{$path}"><div class="navbar_link">| Principal | </div></a>
<a href="{$path}/index.php/account/create"><div class="navbar_link">| Criar conta | </div></a>
<a href="{$path}/index.php/p/v/gallery"><div class="navbar_link">| Mapa | </div></a>
<a href="/index.php/p/v/downloads"><div class="navbar_link">| Download Client |</div></a>
<a href="{$path}/index.php/highscores"><div class="navbar_link">| Ranking | </div></a>
<a href="{$path}/index.php/houses/main"><div class="navbar_link">| Houses | </div></a>
<a href="{$path}/index.php/character/online"><div class="navbar_link">|    Jogadores Online {$serverPlayers[0]}   |</div></a>
</div> 
<div class="slider">
<div class="slider_bg">
<center>
<link rel="stylesheet" href="{$path}/templates/pokemon/system/slider/orbit.css">
<!--[if IE]>
<style type="text/css">
.timer { 
display: none !important; 
}
div.caption {
    background:transparent;
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000,endColorstr=#99000000);
    zoom: 1; 
}
</style>
        <![endif]-->
 
<script src="{$path}/templates/pokemon/system/slider/jquery.min.js" type="text/javascript"></script>
<script src="{$path}/templates/pokemon/system/slider/jquery.orbit.min.js" type="text/javascript"></script>
</head>
<body>
<div id="featured">
<img src="{$path}/templates/pokemon/system/slider/pics/jpg/zoroark.png" alt="otpokemon"/>
<img src="{$path}/templates/pokemon/system/slider/pics/jpg/2.jpg" alt="otpokemon"/>
<img src="{$path}/templates/pokemon/system/slider/pics/jpg/3.jpg" alt="otpokemon"/>
 
<script type="text/javascript">
     $(window).load(function() { 
         $("#featured").orbit();
     });
</script>
</center>
</div>
<div class="navbox_right">
<a href="https://discord.gg/GgwKWda" target="_blank"><div class="twt_button"></div></a>
<a target="_blank" href="https://www.facebook.com/PokeStarWind/"><div class="fb_button"></div></a>
<div class="acc_box">
<div class="box_cont">
<div class="pOnline" align="center">
<font style="background-color: #3399FF;" color="#3399FF">**</font>
<font color="#00FF00">{$serverPlayers[0]}</font>
</center></div><a href="/index.php/createaccount"><div class="accbox_button">Criar Conta</div></a><a href="/index.php/p/v/downloads"><div class="accbox_button_"> Download Cliente 1.0</div></a>
</div>
</div>
</div>
<div class="newscont">
    {$main}
    {$admin}
<div class="addthis_toolbox addthis_32x32_style addthis_default_style">

</div>
<div id="twitter_div">
<div id="fb-root"></div>
<script>(function(d, s, id) {
          var js, fjs = d.getElementsByTagName(s)[0];
          if (d.getElementById(id)) return;
          js = d.createElement(s); js.id = id;
          js.src = "templates/connect.facebook.net/pt_BR/all.js#xfbml=1";
          fjs.parentNode.insertBefore(js, fjs);
        }(document, 'script', 'facebook-jssdk'));</script>

<center><div class="fb-like-box" data-href="" data-width="650" data-height="700" data-show_border="false" data-show-faces="false" data-stream="false" data-header="false"></div></div>
<script type="text/javascript" src="templates/s7.addthis.com/js/250/addthis_widget.js#username=ratoextreme"></script>
</center>
<div class="copyrights">
otPok&eacute;mon.com BRASIL MGarcia 2018
<br/><small> 1995-2010 Nintendo/Creature Inc./GAME FREAK inc. Pok&eacute;mon and Pok&eacute;mon character names are trademarks of Nintendo.</small>
<br>
</div>
</div>
<div class="menu_nav">
<div id="community_button"></div>
<div class="nav_links"><a href="/index.php/account/create"><img src="/templates/pokemon/images/img/BALL4.png"> Criar Conta <img src="/templates/pokemon/images/img/HOT.gif"></a></br><a href="/index.php/account/lost"><img src="/templates/pokemon/images/img/BALL4.png"> Recuperar Conta <img src="/templates/pokemon/images/img/HOT.gif"></a>
</br><a href="/index.php/p/v/downloads"><img src="/templates/pokemon/images/img/BALL2.png"> Download Client <img src="/templates/pokemon/images/img/HOT.gif"></a>
</br><a href="{$path}/index.php/p/v/gallery"><img src="/templates/pokemon/images/img/BALL2.png"> Mapa PokeStarWind </a>
</br><a href="/index.php/highscores"><img src="/templates/pokemon/images/img/BALL2.png"> Ranking <img src="/templates/pokemon/images/img/HOT.gif"></a>
</br><a href="{$path}/index.php/character/online"><img src="/templates/pokemon/images/img/BALL3.png"> Jogadores Online</a>
</br><a href="{$path}/index.php/p/v/deaths"><img src="/templates/pokemon/images/img/BALL3.png"> Ultimas Mortes</a>
</br><a href="/index.php/character/view"><img src="/templates/pokemon/images/img/BALL3.png"> Personagens</a>
</br><a href="/index.php/p/v/doacao"><img src="/templates/pokemon/images/img/BALL3.png"> Fazer Doa&ccedil;&atilde;o </a>
</br><a href="/index.php/p/v/aprender"><img src="/templates/pokemon/images/img/BALL3.png"> Como Jogar ?</a>
</br><a href="/index.php/p/v/staff"><img src="/templates/pokemon/images/img/BALL1.png"> Equipe Wind <img src="/templates/pokemon/images/img/HOT.gif"></a>
</br><a href="/index.php/p/v/regras"><img src="/templates/pokemon/images/img/BALL1.png"> Regras <img src="/templates/pokemon/images/img/HOT.gif"></a>
</br><a href="/index.php/p/v/Shinys"><img src="/templates/pokemon/images/img/BALL1.png"> Shinys <img src="/templates/pokemon/images/img/HOT.gif"></a>
</div>
<div id="navigation_button"></div>
<div class="nav_links">
{if $logged == 1}<a href="/index.php/admin">Administa&ccedil;&atilde;o</a>
<br/><a href="/index.php/account">Gerenciar Conta</a>
<br/><a href="/index.php/createcharacter">Criar Personagem</a>
<br/><a href="/index.php/account/logout">Logout</a>
{/if}
{if $logged == 0}
<form action="{$path}/index.php/account/login.ide" method="post">
<center><input onFocus="javascript:this.value=''" type="text" class="input" name="name" value="account" onclick="clickclear(this, 'name')" onblur="clickrecall(this,'name')" />
<input onFocus="javascript:this.value=''" type="password" class="input" name="pass" value="password" onclick="clickclear(this, 'pass')" onblur="clickrecall(this,'pass')" /></center>       
<center><input type="Submit" class="loginbutton" name="Submit" value=""/></center>
</form>
{/if}
</div>
<div id="s1_h"></div>
<div class="nav_links"> 
<div class="serverstatus">    
            {foreach from=$worlds key=id item=world}
                &nbsp; <b>Status:</b>  
                    {if $serverOnline[$id]}
                        <font color='lime'>Online</font> <b>Uptime:</b> {$serverUptime[$id]} <b>Players:</b>{$serverPlayers[$id]}/{$serverMax[$id]}<br /><br />

                    {else}
                        <font color='red'>Offline</font><br />
                    {/if}
            {/foreach}
</div>
</div>



<div id="s2_h"></div>
<div class="nav_links">
{include_php file='level.php'} 

</div>
</font>
</body>

</script><script src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>

 

E na pasta system/application/views abra o arquivo home.php 

apague o que tem dentro e cole isso...

Spoiler

        <div class='message'>
        <div class='title'>Ultimas Noticias</div>
        <div class='content'>
<?php 
require("config.php");
$ide = new IDE;
try { $ide->loadInjections("home"); }catch(Exception $e) { error($e->getMessage());}
foreach($news['news'] as $value) {
	echo "<div class='news'>";
	echo "<div class='newsTitle'>".$value['title']."</div>";
	echo "<div class='newsBody'>".$value['body']."</div>";	
	echo "<div class='newsFooter'>";	
	echo "Enviado em: ".UNIX_TimeStamp($value['time'])." </div>";
	echo "<div class='viewComments'><a href='".WEBSITE."/index.php/home/view/".$value['id']."'>Ver comentĂ¡rios</a></div>";
	echo "</div>";
}
echo "<div class='readArchive'><a href='".WEBSITE."/index.php/home/archive'>Ir para o arquivo de mensagens</a></div>";
?>
</div></div>

 

Fazendo isso vai ficar da forma que vc quer... 

Spoiler

hhhhhhhhh.thumb.png.96f2e8b9ee12a3692d9e0324d8fc834c.png

 

Edited by Ayron5
Link to comment
Share on other sites

  • 0
5 minutos atrás, Ayron5 disse:

Olha faz isso aqui kkk

Usa esse index.tpl

  Mostrar conteúdo oculto


<body oncontextmenu="return false" onselectstart="return false" ondragstart="return false">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
<meta http-equiv="Content-Language" content="pt-br">
<title> PokeStarWind | Pokemon Online</title>
<meta name="robots" content="index,follow">
<meta http-equiv="CONTENT-LANGUAGE" content="pt,ptb,pt-br">
<meta name="title" content="PokeStarWind | Pokemon Online">
<meta name="domain" content="PokeStarWind">
<meta name="url" content="PokeStarWind">
<meta name="keywords" content="Pokemon Online, Pokemon, Tibia Pokemon, Jogue Pokemon, Pokémon Online, Tibia Pokémon, Jogue Pokémon, Jogar Pokemon Online">
<meta name="description" content="O maior e melhor servidor de Tibia Pokemon do Brasil, um MMORPG que Mistura Tibia com Pokémon uma aventura incrivel te espera no mundo de starwind">
<meta name="autor" content="Jackson Marques">
<meta name="company" content="otpokemon">
<meta name="revisit-after" content="5">
<script type="text/javascript">
</script>
{$head}        
<link rel="stylesheet" href="{$path}/templates/pokemon/system/style.css" type="text/css" />
<link type="text/css" href="{$path}/htdocs/public/css/system.css" rel="stylesheet" /><link type="text/css" href="{$path}/htdocs/public/css/smoothness/jquery-ui-1.7.2.custom.css" rel="stylesheet" /><script type="text/javascript" src="{$path}/htdocs/public/js/jquery-1.4.2.min.js"></script><script type="text/javascript" src="{$path}/htdocs/public/js/jquery.ui.datetimepicker.js"></script><script type="text/javascript" src="{$path}/htdocs/public/js/system.js"></script><script type="text/javascript" src="{$path}/htdocs/public/js/jquery-ui-1.8.custom.min.js"></script><link rel="stylesheet" href="{$path}/htdocs/public/css/tipsy.css" type="text/css" /><script type="text/javascript" src="{$path}/htdocs/public/js/jquery.tipsy.js"></script><link rel="stylesheet" type="text/css" href="{$path}/htdocs/public/css/tooltip.css" /> <script type="text/javascript" src="{$path}/htdocs/public/js/tooltip.js"></script>

<link rel="shortcut icon" href="{$path}/templates/pokemon/otp.ico">        

<script type="text/javascript" src="{$path}/templates/pokemon/system/js.js"></script>
        
<script type="text/javascript">
        var url = 0; var url = "http://www.pokemon.com";
    </script>
<script>
!function(d,s,id){
var js,fjs=d.getElementsByTagName(s)[0];
if(!d.getElementById(id)){
js=d.createElement(s);
js.id=id;js.src="//platform.twitter.com/widgets.js";
fjs.parentNode.insertBefore(js,fjs);}
}
(document,"script","twitter-wjs");
</script> 
<body>

<div class="page">
<div class="mainbody">
<a href="{$path}"><div class="header"><div class="dex" style="background-image:url('{$path}/templates/pokemon/images/dex/Metagross.gif')"></div></div></a>
<div class="navbar">

<a href="{$path}"><div class="navbar_link">| Principal | </div></a>
<a href="{$path}/index.php/account/create"><div class="navbar_link">| Criar conta | </div></a>
<a href="{$path}/index.php/p/v/gallery"><div class="navbar_link">| Mapa | </div></a>
<a href="/index.php/p/v/downloads"><div class="navbar_link">| Download Client |</div></a>
<a href="{$path}/index.php/highscores"><div class="navbar_link">| Ranking | </div></a>
<a href="{$path}/index.php/houses/main"><div class="navbar_link">| Houses | </div></a>
<a href="{$path}/index.php/character/online"><div class="navbar_link">|    Jogadores Online {$serverPlayers[0]}   |</div></a>
</div> 
<div class="slider">
<div class="slider_bg">
<center>
<link rel="stylesheet" href="{$path}/templates/pokemon/system/slider/orbit.css">
<!--[if IE]>
<style type="text/css">
.timer { 
display: none !important; 
}
div.caption {
    background:transparent;
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000,endColorstr=#99000000);
    zoom: 1; 
}
</style>
        <![endif]-->
 
<script src="{$path}/templates/pokemon/system/slider/jquery.min.js" type="text/javascript"></script>
<script src="{$path}/templates/pokemon/system/slider/jquery.orbit.min.js" type="text/javascript"></script>
</head>
<body>
<div id="featured">
<img src="{$path}/templates/pokemon/system/slider/pics/jpg/zoroark.png" alt="otpokemon"/>
<img src="{$path}/templates/pokemon/system/slider/pics/jpg/2.jpg" alt="otpokemon"/>
<img src="{$path}/templates/pokemon/system/slider/pics/jpg/3.jpg" alt="otpokemon"/>
 
<script type="text/javascript">
     $(window).load(function() { 
         $("#featured").orbit();
     });
</script>
</center>
</div>
<div class="navbox_right">
<a href="https://discord.gg/GgwKWda" target="_blank"><div class="twt_button"></div></a>
<a target="_blank" href="https://www.facebook.com/PokeStarWind/"><div class="fb_button"></div></a>
<div class="acc_box">
<div class="box_cont">
<div class="pOnline" align="center">
<font style="background-color: #3399FF;" color="#3399FF">**</font>
<font color="#00FF00">{$serverPlayers[0]}</font>
</center></div><a href="/index.php/createaccount"><div class="accbox_button">Criar Conta</div></a><a href="/index.php/p/v/downloads"><div class="accbox_button_"> Download Cliente 1.0</div></a>
</div>
</div>
</div>
<div class="newscont">
    {$main}
    {$admin}
<div class="addthis_toolbox addthis_32x32_style addthis_default_style">

</div>
<div id="twitter_div">
<div id="fb-root"></div>
<script>(function(d, s, id) {
          var js, fjs = d.getElementsByTagName(s)[0];
          if (d.getElementById(id)) return;
          js = d.createElement(s); js.id = id;
          js.src = "templates/connect.facebook.net/pt_BR/all.js#xfbml=1";
          fjs.parentNode.insertBefore(js, fjs);
        }(document, 'script', 'facebook-jssdk'));</script>

<center><div class="fb-like-box" data-href="" data-width="650" data-height="700" data-show_border="false" data-show-faces="false" data-stream="false" data-header="false"></div></div>
<script type="text/javascript" src="templates/s7.addthis.com/js/250/addthis_widget.js#username=ratoextreme"></script>
</center>
<div class="copyrights">
otPok&eacute;mon.com BRASIL MGarcia 2018
<br/><small> 1995-2010 Nintendo/Creature Inc./GAME FREAK inc. Pok&eacute;mon and Pok&eacute;mon character names are trademarks of Nintendo.</small>
<br>
</div>
</div>
<div class="menu_nav">
<div id="community_button"></div>
<div class="nav_links"><a href="/index.php/account/create"><img src="/templates/pokemon/images/img/BALL4.png"> Criar Conta <img src="/templates/pokemon/images/img/HOT.gif"></a></br><a href="/index.php/account/lost"><img src="/templates/pokemon/images/img/BALL4.png"> Recuperar Conta <img src="/templates/pokemon/images/img/HOT.gif"></a>
</br><a href="/index.php/p/v/downloads"><img src="/templates/pokemon/images/img/BALL2.png"> Download Client <img src="/templates/pokemon/images/img/HOT.gif"></a>
</br><a href="{$path}/index.php/p/v/gallery"><img src="/templates/pokemon/images/img/BALL2.png"> Mapa PokeStarWind </a>
</br><a href="/index.php/highscores"><img src="/templates/pokemon/images/img/BALL2.png"> Ranking <img src="/templates/pokemon/images/img/HOT.gif"></a>
</br><a href="{$path}/index.php/character/online"><img src="/templates/pokemon/images/img/BALL3.png"> Jogadores Online</a>
</br><a href="{$path}/index.php/p/v/deaths"><img src="/templates/pokemon/images/img/BALL3.png"> Ultimas Mortes</a>
</br><a href="/index.php/character/view"><img src="/templates/pokemon/images/img/BALL3.png"> Personagens</a>
</br><a href="/index.php/p/v/doacao"><img src="/templates/pokemon/images/img/BALL3.png"> Fazer Doa&ccedil;&atilde;o </a>
</br><a href="/index.php/p/v/aprender"><img src="/templates/pokemon/images/img/BALL3.png"> Como Jogar ?</a>
</br><a href="/index.php/p/v/staff"><img src="/templates/pokemon/images/img/BALL1.png"> Equipe Wind <img src="/templates/pokemon/images/img/HOT.gif"></a>
</br><a href="/index.php/p/v/regras"><img src="/templates/pokemon/images/img/BALL1.png"> Regras <img src="/templates/pokemon/images/img/HOT.gif"></a>
</br><a href="/index.php/p/v/Shinys"><img src="/templates/pokemon/images/img/BALL1.png"> Shinys <img src="/templates/pokemon/images/img/HOT.gif"></a>
</div>
<div id="navigation_button"></div>
<div class="nav_links">
{if $logged == 1}<a href="/index.php/admin">Administa&ccedil;&atilde;o</a>
<br/><a href="/index.php/account">Gerenciar Conta</a>
<br/><a href="/index.php/createcharacter">Criar Personagem</a>
<br/><a href="/index.php/account/logout">Logout</a>
{/if}
{if $logged == 0}
<form action="{$path}/index.php/account/login.ide" method="post">
<center><input onFocus="javascript:this.value=''" type="text" class="input" name="name" value="account" onclick="clickclear(this, 'name')" onblur="clickrecall(this,'name')" />
<input onFocus="javascript:this.value=''" type="password" class="input" name="pass" value="password" onclick="clickclear(this, 'pass')" onblur="clickrecall(this,'pass')" /></center>       
<center><input type="Submit" class="loginbutton" name="Submit" value=""/></center>
</form>
{/if}
</div>
<div id="s1_h"></div>
<div class="nav_links"> 
<div class="serverstatus">    
            {foreach from=$worlds key=id item=world}
                &nbsp; <b>Status:</b>  
                    {if $serverOnline[$id]}
                        <font color='lime'>Online</font> <b>Uptime:</b> {$serverUptime[$id]} <b>Players:</b>{$serverPlayers[$id]}/{$serverMax[$id]}<br /><br />

                    {else}
                        <font color='red'>Offline</font><br />
                    {/if}
            {/foreach}
</div>
</div>



<div id="s2_h"></div>
<div class="nav_links">
{include_php file='level.php'} 

</div>
</font>
</body>

</script><script src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>

 

E na pasta system/application/views abra o  coloca arquivo home.php 

apague o que tem dentro e cole isso...

  Mostrar conteúdo oculto


        <div class='message'>
        <div class='title'>Ultimas Noticias</div>
        <div class='content'>
<?php 
require("config.php");
$ide = new IDE;
try { $ide->loadInjections("home"); }catch(Exception $e) { error($e->getMessage());}
foreach($news['news'] as $value) {
	echo "<div class='news'>";
	echo "<div class='newsTitle'>".$value['title']."</div>";
	echo "<div class='newsBody'>".$value['body']."</div>";	
	echo "<div class='newsFooter'>";	
	echo "Enviado em: ".UNIX_TimeStamp($value['time'])." </div>";
	echo "<div class='viewComments'><a href='".WEBSITE."/index.php/home/view/".$value['id']."'>Ver comentĂ¡rios</a></div>";
	echo "</div>";
}
echo "<div class='readArchive'><a href='".WEBSITE."/index.php/home/archive'>Ir para o arquivo de mensagens</a></div>";
?>
</div></div>

 

Fazendo isso vai ficar da forma que vc quer... 

  Ocultar conteúdo

hhhhhhhhh.thumb.png.96f2e8b9ee12a3692d9e0324d8fc834c.png

 

olha como ficou http://prntscr.com/p4dp3k

Link to comment
Share on other sites

  • 0
1 minuto atrás, Ayron5 disse:

Estranhíssimo kkkk 

O que vc andou editando nesse site?

Vc sabe que para postar as noticias vc tem que está logado na conta de adm no site? 

 

eu editei pouca coisa esses bugs de msg tava assim quando peguei pra editar

Edited by StrikersBR12
Link to comment
Share on other sites

  • 0
7 minutos atrás, StrikersBR12 disse:

eu editei pouca coisa esses bugs de msg tava assim quando peguei pra editar

Então foi algo que vc editou mesmo, sugiro que vc pegue a mesma base de website sem as edições 

e faça as alterações que te passei primeiro... vê como fica e depois vc vai arrumando, já que vc sabe tudo que já fez nele kkkk   

Link to comment
Share on other sites

×
×
  • Create New...