kimokimo
Kimo
This is znote acc default template edited and this is the first time i edite a template i don't know anything about html or css i made it logicly and with some help from w3schools.com.
I used some resources from old templates like freeq template.
1 -Open Znote folder and replace layout folder with my layout.
2 -Replace index.php with the one below.
Download:
Enjoy.
I used some resources from old templates like freeq template.
1 -Open Znote folder and replace layout folder with my layout.
2 -Replace index.php with the one below.
PHP:
<?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*****malware.localhost/faZrt/layout.rar
or:
http://speedy*****malware.localhost/faZrt/layout-1.rar
Last edited by a moderator: