<div class="statistic"><!-- Nav tabs -->
        <div id="info1">
            <h2>ОБЩАЯ СТАТИСТИКА</h2>
            {if $CountDB > 1}
                {for $num_db=0 to $CountDB-1 max=5}
                    <a class="select-server-statistic" href="/statistic/index/{$num_db}">{$NamesDB[$num_db]}</a>
                {/for}
            {/if}
            <hr />
            <div class="caption1">
                <ul class="statistic-link-pages">
                    <li><a href="/statistic/players">Топ персонажей</a></li>
                    <li><a href="/statistic/guilds">Топ гильдий</a></li>
                    <li><a href="/statistic/pk">Убийцы</a></li>
                    <li><a href="/statistic/prisons">Заключенные</a></li>
                    <li><a href="/statistic/castle">Замок</a></li>
                    <div style="clear:both;"></div>
                </ul>
                <table width="100%">
                    <tr>
                        <td colspan="2" style="text-align: center; background: rgba(243, 97, 97, 0.1); font-weight: bold; color #fff; ">Общая статистика</td>
                    </tr>
                    <tr>
                        <td>Играют</td>
                        <td style="color: #9ADC00;">{$Statistic.Online}</td>
                    </tr>
                    <tr>
                        <td>Аккаунтов</td>
                        <td>{$Statistic.Accounts}</td>
                    </tr>
                    <tr>
                        <td>Персонажей</td>
                        <td>{$Statistic.Players}</td>
                    </tr>
                    <tr>
                        <td>Гильдий</td>
                        <td>{$Statistic.Guilds}</td>
                    </tr>
                    <tr>
                        <td>Версия игры</td>
                        <td>Season <span style="color: #fecf75;">4</span> Episode <span style="color: red;">Ultra</span></td>
                    </tr>
                    <tr>
                        <td>Опыт</td>
                        <td>х35</td>
                    </tr>
                    <tr>
                        <td>Дроп</td>
                        <td>х60</td>
                    </tr>
                </table>
                <hr>
                <table width="100%">
                    <tr>
                        <td colspan="4" style="text-align: center; background: rgba(243, 97, 97, 0.1); font-weight: bold; color #fff; ">Статистика персонажей</td>
                    </tr>
                    <tr>
                        <td style="color: #fecf75;">Класс</td>
                        <td style="color: #fecf75;">1 професия</td>
                        <td style="color: #fecf75;">2 професия</td>
                        <td style="color: #fecf75;">3 професия</td>
                    </tr>
                    <tr>
                        <td>DW/SM/GM</td>
                        <td>{$Statistic.Count.DW}</td>
                        <td>{$Statistic.Count.SM}</td>
                        <td>{$Statistic.Count.GM}</td>
                    </tr>
                    <tr>
                        <td>DK/BK/BM</td>
                        <td>{$Statistic.Count.DK}</td>
                        <td>{$Statistic.Count.BK}</td>
                        <td>{$Statistic.Count.BM}</td>
                    </tr>
                    <tr>
                        <td>FE/ME/HE</td>
                        <td>{$Statistic.Count.FE}</td>
                        <td>{$Statistic.Count.ME}</td>
                        <td>{$Statistic.Count.HE}</td>
                    </tr>
                    <tr>
                        <td>SUM/BS/DiS</td>
                        <td>{$Statistic.Count.SUM}</td>
                        <td>{$Statistic.Count.BS}</td>
                        <td>{$Statistic.Count.DiM}</td>
                    </tr>
                    <tr>
                        <td>MG/DM</td>
                        <td>-/-</td>
                        <td>{$Statistic.Count.MG}</td>
                        <td>{$Statistic.Count.DM}</td>
                    </tr>
                    <tr>
                        <td>DL/LE</td>
                        <td>-/-</td>
                        <td>{$Statistic.Count.DL}</td>
                        <td>{$Statistic.Count.LE}</td>
                    </tr>
                </table>
                <hr>
                <table width="100%" border="0" class="tableMain">
                    <tr colspan="4" style="text-align: center; background: rgba(243, 97, 97, 0.1); font-weight: bold; color #fff; "><td colspan="4">Владельцы Замка</td></tr>
                    {if $Castle.ownerg != ""}
                        <tr colspan="4" style="text-align: center;"><td colspan="4"><span style="color: #fecf75;"><a href="/statistic/guild/{$Castle.ownerg}">{$Castle.ownerg}</a></span></td></tr>
                    {else}
                        <tr colspan="4" style="text-align: center"><td colspan="4">Замок не захвачен</td></tr>
                    {/if}
                </table>
                <table width="100%" border="0" class="tableMain">
                    <tr colspan="4" style="text-align: center; background: rgba(243, 97, 97, 0.1); font-weight: bold; color #fff; "><td colspan="4">Crywolf</td></tr>
                    {if ($Statistic.Crywolf == 1)}
                        <tr colspan="4"><td colspan="4">Crywolf захвачен</td></tr>
                    {else}
                        <tr colspan="4" style="text-align: center"><td colspan="4">Crywolf не захвачен</td></tr>
                    {/if}
                </table>

                {*
                {var_dump($Castle)}
                {var_dump($Statistic)}*}
            </div>
            <div style="clear: both;"></div>
        </div>
    <div style="clear: both;"></div>
</div>
