<div class="statistic"><!-- Nav tabs -->
    <div class="col-lg-3">
        <div class="sidebar-head">
            <h2>навигация</h2>
        </div>
        <hr />
        <hr />
        <hr />
        <ul class="nav nav-tabs" role="tablist">
            <li role="presentation" class="" ><a href="/statistic"><span style="color:#9ADC00">ОБЩАЯ СТАТИСТИКА</span></a></li>
            <li role="presentation" class="" ><a href="/statistic/players">TOP PLAYERS</a></li>
            <li role="presentation" class="active"><a href="/statistic/guilds">TOP GUILDS</a></li>
            <li role="presentation"><a href="/statistic/pk">TOP PK</a></li>
            <li role="presentation"><a href="/statistic/castle">CASTLE</a></li>
            <li role="presentation"><a href="/statistic/prisons">BAN LIST</a></li>
        </ul>
    </div>

    <div class="tab-content col-lg-9">
        <div class="tab-pane fade in active" id="info1">
<h2>{$Lang.TopGuildsTitle}</h2>
            {if $CountDB > 1}
                {for $num_db=0 to $CountDB-1 max=5}
                    <a class="select-server-statistic" href="/statistic/guilds/{$num_db}">{$NamesDB[$num_db]}</a>
                {/for}
            {/if}
            <hr>
            <div class="caption1">
<div>
    {if $Guilds == 0}
        <p>{$Lang.TopGuildsListEmpty}</p>
    {else}
        <table class="ranking-table" width="100%" style="text-align:center;">
            <tr class="header-ranking-table">
                <th>{$Lang.TopGuildsNomer}</th>
                <th>{$Lang.TopGuildsName}</th>
                {*<th>{$Lang.TopGuildsScore}</th>*}
                <th>{$Lang.TopGuildsMaster}</th>
                <th>{$Lang.TopGuildsMark}</th>
                <th>{$Lang.TopGuildsMembers}</th>
            </tr>
            {$i = 1}
            {foreach $Guilds as $guild}
                {if $i%2 == 0}
                    <tr class="ranking-zebra">
                        {else}
                    <tr>
                {/if}
                <td>{$i}</td>

                <td><a href="/statistic/guild/{$guild.G_Name}">{$guild.G_Name}</a></td>
                {*<td>{$guild.G_Score}</td>*}
                <td>{$guild.G_Master}</td>
                <td><img src="{$guild.G_Mark}"/></td>
                <td>{$guild.CountMember}</td>
                </tr>
                {$i=$i+1}
            {/foreach}
        </table>
    {/if}
</div>
            </div>
        </div>
    </div>
</div>
