<?php

require_once 'core/system.php';








head('Лига Великих');




reg(); 


?><style> .section._decor {    padding: 10px 18px 15px 18px;}.section._decor {    background:         url('/img/section/decor-tl.png') 0 0 no-repeat,         url('/img/section/decor-tr.png') 100% 0 no-repeat,         url('/img/section/decor-bl.png') 0 100% no-repeat,        url('/img/section/decor-br.png') 100% 100% no-repeat #16161e !important;    color: inherit;} .section._decor {        background-image: url('/img/section/decor_tl_x2.png'),        url('/img/section/decor_tr_x2.png'),        url('/img/section/decor_bl_x2.png'),        url('/img/section/decor_br_x2.png') !important;        background-size: 22px 22px !important;    } </style><?


?><img src="/img/ivent/titan.png" width="100%"><?  


?><div class="section _decor mt2">
<div class="font14 center text-gold">Добывай кубки в сражениях.  и получай награды. Достойные Великих</div>





<table width="100%" border="0" cellpadding="0" cellspacing="0" class="mt5 table-raiting">
<tbody>
<tr valign="top">
</td></br></br><?



$yh = 0;

$by = $dbc->query("SELECT * FROM `users` WHERE `trof`>0  ORDER BY `trof` desc limit 20");




$gold = 2100; //сколько даем золота







?><table width="100%" border="0" cellpadding="0" cellspacing="0" class="mt5 table-raiting">
<tbody>
<?

while($de=$by->fetch_assoc()){


$gold  = $gold -100;


$yh++;

?>
<tr valign="top">
<td><span><?=$yh?>.</span>
<span class="nowrap"><img src="img/class/<?=$de['storona']?>/<?=$de['pers']?>/pers.png" width="14" height="14" alt="*"><b><a href="pers.php?ank=<?=$de['id']?>"><?=$de['login']?></b></a>(<img src="img/money/money.png"><?=$gold?>)<td align="right"> (<img src="img/icon/trof.png"><?=$de['trof']?>)</td></span>




















</td>

</div></div></div><?




}




?></tr>


</tbody>
</table>

</div><?


































foot();
