se nao me engano ja tem esse template aqui e voce ainda postou na area errada, procure a seção correta antes de postar!
- Fórum
- OTServ
- Recursos
- Websites & Layouts
- [Znote AAC] Templates
2
3.9k
info
Grupo: Herói
Registrado: 23/12/08
Posts: 2.4k
Reputação: +359
Gênero: Masculino
Char no Tibia: Gordo Warlike

23 de abril de 2015 às 14:59

info
Grupo: Marquês
Registrado: 24/12/09
Posts: 1k
Reputação: +326
Gênero: Masculino
Char no Tibia: Necromanser
Como Trocar
1-Abra a pasta zNote e substituir pasta layout com meu layout.
2-Substitua index.php com a abaixo.
<?php require_once 'engine/init.php'; include 'layout/overall/header.php'; ?> <div id="menu-top"></div> <div id="menu-bar"> <?PHP echo '<table border="1" cellspacing="1"><tr class="yellow"><td><center>Server Information</center></td></tr> <tr><td>'; $getshit11 = mysql_query("SELECT `id`, `name` FROM `players` ORDER BY `id` DESC LIMIT 1"); $fetchshitt = mysql_fetch_assoc($getshit11); $getshit1 = mysql_query("SELECT COUNT(*) as `shit` FROM `players` "); $fetchshit = mysql_fetch_assoc($getshit1); $getshit2 = mysql_query("SELECT `name`, `level` FROM `players` ORDER BY `level` DESC LIMIT 1"); $fetchshit2 = mysql_fetch_assoc($getshit2); $getshit3 = mysql_query("SELECT COUNT(*) as `shiter` FROM `accounts` "); $fetchshit3 = mysql_fetch_assoc($getshit3); $getshit4 = mysql_query("SELECT COUNT(*) as `yea` FROM `guilds` "); $fetchshit4 = mysql_fetch_assoc($getshit4); echo '<center>Welcome to our newest player: <a href="characterprofile.php?name='.$fetchshitt['name'].'">'.$fetchshitt['name'].'</a></center></td></tr>'; echo '<tr><td><center>The best player is: <a href="characterprofile.php?name='.$fetchshit2['name'].'">'.$fetchshit2['name'].'</a> level: '.$fetchshit2['level'].' congratulations!</center></td></tr>'; echo '<tr><td><center>We have <b>'.$fetchshit3['shiter'].'</b> accounts in our database, <b>'.$fetchshit['shit'].'</b> players, and <b>'.$fetchshit4['yea'].' </b>guilds </center></td></tr>'; echo '</table>'; ?> <hr /> <br /> <ul> <?php $getnews = mysql_query("SELECT * FROM znote_news ORDER BY id DESC LIMIT 3")or die(mysql_error()); while ($parsenews = mysql_fetch_assoc($getnews)) { $title = $parsenews['title']; $body = $parsenews['body']; $date = $parsenews['date']; $author = $parsenews['author']; echo '<table border="1" cellspacing="1"><tr class="yellow"><tr>'; echo '<td><strong><p>'.$title.'</strong> - posted on <strong>'.$date.'</strong> - by <strong>'.$author.'</strong></p></tr></td>'; echo '<td>'.$body.'</td></tr></table>'; }?> </ul> </div> <div id="menu-bot"></div> <?php include 'layout/overall/footer.php'; ?>Download:
Code:
http://speedy.sh/faZrt/layout.rar
or:
http://speedy.sh/faZrt/layout-1.rar
Creditos: kimokimo
[Znote AAC] Sorcerer Layout
Download: http://www.mediafire...q3dfnoucddj8lfy
Créditos na IMG