<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="active" ><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"><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>Заключённые</h2>
            {if $CountDB > 1}
                {for $num_db=0 to $CountDB-1 max=5}
                    <a class="select-server-statistic" href="/statistic/prisons/{$num_db}">{$NamesDB[$num_db]}</a>
                {/for}
            {/if}
            <hr />
            <div class="caption1">
                <div id="banlist">
                    <table width="100%" class="ranking-table" style="text-align:center;">
                        <tr class="header-ranking-table">
                            <th>Ник</th>
                            <th>Причина</th>
                            <th>Дата освобождения</th>
                        </tr>
                        {$i = 1}
                        {foreach $Prisons as $prison}
                            {if $i%2 == 0}
                                <tr class="ranking-zebra">
                                    {else}
                                <tr>
                            {/if}
                            <td style="color: #ee4646; text-decoration: none;">{$prison.Name}</td>
                            {if	$prison.ban_desc == ""}
                                <td>Без причины</td>
                            {else}
                                <td>{$prison.ban_desc}</td>
                            {/if}
                            {if $prison.ban_time == 1}
                                <td>Пожизненно</td>
                            {else}
                                <td>{$prison.ban_time|date_format:"%D %H:%M"}</td>
                            {/if}
                            </tr>
                            {$i=$i+1}
                        {/foreach}
                    </table>
                </div>

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