Ir para conteúdo

Help! - Most powerful guilds - Versão 8.6 Gesior


DudaLima

Posts Recomendados

Procure por

$main_content .= '<div class="NewsHeadline"> 

ou

div class="Border_1" style="background-image:url('.$layout_name.'/images/content/border-1.gif);"></div>
<div class="CornerWrapper-b"><div class="Corner-bl" style="background-image:url('.$layout_name.'/images/content/corner-bl.gif);"></div></div>
<div class="CornerWrapper-b"><div class="Corner-br" style="background-image:url('.$layout_name.'/images/content/corner-br.gif);"></div></div>
</div>

Adicione em baixo

<td style="text-align: center; font-weight: bold;"> 
            <div class="MostHeadlineText"><font color="white">Most powerfull guilds</font></div> 
        </td> 
        </tr> 
        </table> 
        </div> 
</div> 
<table border="0" cellspacing="3" cellpadding="4" width="100%"> 
        <tr>'; 

foreach($SQL->query('SELECT `g`.`id` AS `id`, `g`.`name` AS `name`, 
        `g`.`logo_gfx_name` AS `logo`, COUNT(`g`.`name`) as `frags` 
FROM `killers` k 
        LEFT JOIN `player_killers` pk ON `k`.`id` = `pk`.`kill_id` 
        LEFT JOIN `players` p ON `pk`.`player_id` = `p`.`id` 
        LEFT JOIN `guild_ranks` gr ON `p`.`rank_id` = `gr`.`id` 
        LEFT JOIN `guilds` g ON `gr`.`guild_id` = `g`.`id` 
WHERE `k`.`unjustified` = 1 AND `k`.`final_hit` = 1 
        GROUP BY `name` 
        ORDER BY `frags` DESC, `name` ASC 
        LIMIT 0, 4;') as $guild) 
        $main_content .= '        <td style="width: 25%; text-align: center;"> 
                        <a href="?subtopic=guilds&action=show&guild=' . $guild['id'] . '"><img src="guilds/' . ((!empty($guild['logo']) && file_exists('guilds/' . $guild['logo'])) ? $guild['logo'] : 'default_logo.gif') . '" width="64" height="64" border="0"/><br />' . $guild['name'] . '</a><br />' . $guild['frags'] . ' kills 
                </td>'; 
Link para o comentário
Compartilhar em outros sites

abaixo de :

<?php
if(!defined('INITIALIZED'))
	exit;

add

   // top kills - guilds
    $main_content .= '<center><div class="NewsHeadline">
        <div class="NewsHeadlineBackground" style="background-image:url(' . $layout_name . '/images/news/newsheadline_background.gif);">
            <table border="0">
                <tr>
                    <td style="text-align: center; font-weight: bold;">
                        <font color="white">Most powerfull guilds</font>
                    </td>
                </tr>
            </table>
        </div>
    </div>
    <table border="0" cellspacing="3" cellpadding="4" width="100%"><tr>';
   
    foreach($SQL->query('SELECT `g`.`id` AS `id`, `g`.`name` AS `name`, COUNT(`g`.`name`) as `frags` FROM `players` p LEFT JOIN `player_deaths` pd ON `pd`.`killed_by` = `p`.`name` LEFT JOIN `guild_membership` gm ON `p`.`id` = `gm`.`player_id` LEFT JOIN `guilds` g ON `gm`.`guild_id` = `g`.`id` WHERE `g`.`id` > 0 AND `pd`.`unjustified` = 1 GROUP BY `name` ORDER BY `frags` DESC, `name` ASC LIMIT 4;') as $guild)
    $main_content .= '<td style="width: 25%; text-align: center;"><a href="?subtopic=guilds&action=show&guild=' . $guild['id'] . '"><img src="guild_image.php?id=' . $guild['id'] . '" width="64" height="64" border="0"/> <br />' . $guild['name'] . '</a><br />' . $guild['frags'] . ' kills
    </td>';
    $main_content .= '</tr></table></center>';
Link para o comentário
Compartilhar em outros sites

  • 4 weeks later...
  • 1 month later...

O tópico foi fechado e movido para lixeira por estar inativo a mais de 10 dias. Caso seja preciso reabrir o mesmo, favor entrar em contato com a equipe.

Link para o comentário
Compartilhar em outros sites

Visitante
Este tópico está impedido de receber novos posts.
×
×
  • Criar Novo...