diegozenho
Member
- Joined
- Feb 26, 2011
- Messages
- 29
- Solutions
- 1
- Reaction score
- 7
Hello, I can't speak English, so I will be using the google translator, I am using Myaac, and I would like the Kage system, it is basically a "top level" place, I would like to take it away from his place, and put it below the "top guilds "in Latest News.
TY
Here's how it looks at the moment.
And here's how I wanted it to look.
The top guilds are from that topic.
E o codigo do Kage é esse.
@slaw
TY
Here's how it looks at the moment.
And here's how I wanted it to look.
The top guilds are from that topic.
[MyAAC][Plugin] Most powerful guilds (TFS 0.3/4 and 1.0)
This is most powerful guilds plugin for MyAAC. It displays guilds that have most unjustified kills. Requirements: Any version of MyAAC. Installation: Go to Admin Panel, select 'Plugins', and then select powerful-guilds.zip and click upload. That's all! In config.local.php, optionally add...
otland.net
E o codigo do Kage é esse.
PHP:
<div id="box5" class="box-style6">
<div class="entry">
<?php
echo '<div class="">
<h2 class="title2"><center><font size="3"><font color="#FFFFFF">Kages</font></h2></center></font>
</div>';
$topplayers = $SQL->query('SELECT `p`.`name` as `name`, `st`.`player_id` as `pid`, CONVERT(`st`.`value`, UNSIGNED INTEGER) AS `sto_value` FROM `player_storage` st, `players` p WHERE `p`.`id` = `st`.`player_id` AND `key` = 11151 ORDER BY `sto_value` DESC LIMIT 5;');
$number_of_rows4 = 0;
echo '<table border="0" cellspacing="3" cellpadding="4" width="100%"><tr>';
foreach($topplayers as $tplayer)
{
$elopoints = $SQL->query('SELECT `value` FROM `player_storage` WHERE `key` = 11145 AND `player_id` = '.($tplayer['pid']).';');
$number_of_rows4++;
echo '<td style="width: 25%; text-align: center;"><a style="font-weight:bold;text-decoration:none;" href="?characters/'.urlencode($tplayer['name']).'">
<a style="color:white"> <img src="images/kage/'.htmlspecialchars($tplayer['sto_value']).'.png"/></a><br>
<a ><font color="black"></font><a style="color:black">'.htmlspecialchars($tplayer['name']).' <br></a>';
foreach($elopoints as $points) {
echo '<a style="color:black">Elo:<a style="color:red"> '.htmlspecialchars($points['value']).'</a>';
}
echo '</td>';
}
echo '</tr>';
echo '</table>';
?>
</div>
</div>
@slaw