private function loadTopGuildWar() { global $ldTpl, $RANKING_HOME_CONFIGS; $findTopsQ = $this->query("SELECT TOP ".$RANKING_HOME_CONFIGS['TOPAMOUNT']." G_Name, G_Score, G_Mark FROM ".DATABASE_CHARACTERS.".dbo.webRankingGuildWar ORDER BY G_Score DESC"); while($findTops = mssql_fetch_row($findTopsQ)) { $tmpLogo = urlencode(bin2hex($findTops[2])); $tempTpl .= sprintf("<td align=\"center\"><a href=\"?page=rankings&type=8&name=%s\"><strong>%s</strong><br /><img src=\"modules/classes/logoGuildDecode.php?decode=%s\" width=\"100\" height=\"100\" /><br />Pontos: %d</a></td>", $findTops[0],$findTops[0],$tmpLogo,$findTops[1]); } $ldTpl->set("RANK_TOP_GUILDWAR_HOME", $tempTpl); unset($tempTpl); } } }
Script para contar o total de resets do membros das guilds do servidor, use para fazer um raking ou algo do tipo. abraçolouis