Jump to content

[Znote AAC] Templates


Mudrock

Recommended Posts

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'; ?>

l-6q5oH.png


Download:

Code:
http://speedy.sh/faZrt/layout.rar
or:
http://speedy.sh/faZrt/layout-1.rar


Creditos: kimokimo

 

 

[Znote AAC] Sorcerer Layout


layout1.png

Download: http://www.mediafire...q3dfnoucddj8lfy

Créditos na IMG

Link to comment
Share on other sites

×
×
  • Create New...