<?php
/* Smarty version 3.1.29, created on 2017-08-04 15:04:23
  from "/var/www/isbvqaph/data/www/freyamu.ru/views/templates/Freyamu/rankings/index.tpl" */

if ($_smarty_tpl->smarty->ext->_validateCompiled->decodeProperties($_smarty_tpl, array (
  'has_nocache_code' => false,
  'version' => '3.1.29',
  'unifunc' => 'content_598462c72df787_61236585',
  'file_dependency' => 
  array (
    'ad57e19acf21cef8d8d12e4ebded382fff4fdb7f' => 
    array (
      0 => '/var/www/isbvqaph/data/www/freyamu.ru/views/templates/Freyamu/rankings/index.tpl',
      1 => 1479256526,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_598462c72df787_61236585 ($_smarty_tpl) {
?>
            <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>
                        <?php if ($_smarty_tpl->tpl_vars['CountDB']->value > 1) {?>
                        <?php
$_smarty_tpl->tpl_vars['num_db'] = new Smarty_Variable;$_smarty_tpl->tpl_vars['num_db']->step = 1;$_smarty_tpl->tpl_vars['num_db']->total = (int) min(ceil(($_smarty_tpl->tpl_vars['num_db']->step > 0 ? $_smarty_tpl->tpl_vars['CountDB']->value-1+1 - (0) : 0-($_smarty_tpl->tpl_vars['CountDB']->value-1)+1)/abs($_smarty_tpl->tpl_vars['num_db']->step)),5);
if ($_smarty_tpl->tpl_vars['num_db']->total > 0) {
for ($_smarty_tpl->tpl_vars['num_db']->value = 0, $_smarty_tpl->tpl_vars['num_db']->iteration = 1;$_smarty_tpl->tpl_vars['num_db']->iteration <= $_smarty_tpl->tpl_vars['num_db']->total;$_smarty_tpl->tpl_vars['num_db']->value += $_smarty_tpl->tpl_vars['num_db']->step, $_smarty_tpl->tpl_vars['num_db']->iteration++) {
$_smarty_tpl->tpl_vars['num_db']->first = $_smarty_tpl->tpl_vars['num_db']->iteration == 1;$_smarty_tpl->tpl_vars['num_db']->last = $_smarty_tpl->tpl_vars['num_db']->iteration == $_smarty_tpl->tpl_vars['num_db']->total;?>
                            <a class="select-server-statistic" href="/statistic/index/<?php echo $_smarty_tpl->tpl_vars['num_db']->value;?>
"><?php echo $_smarty_tpl->tpl_vars['NamesDB']->value[$_smarty_tpl->tpl_vars['num_db']->value];?>
</a>
                        <?php }
}
?>

                        <?php }?>
                        <hr />
                        <div class="caption1">

                            <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;"><?php echo $_smarty_tpl->tpl_vars['Statistic']->value['Online'];?>
</td>
                                </tr>
                                <tr>
                                    <td>Аккаунтов</td>
                                    <td><?php echo $_smarty_tpl->tpl_vars['Statistic']->value['Accounts'];?>
</td>
                                </tr>
                                <tr>
                                    <td>Персонажей</td>
                                    <td><?php echo $_smarty_tpl->tpl_vars['Statistic']->value['Players'];?>
</td>
                                </tr>
                                <tr>
                                    <td>Гильдий</td>
                                    <td><?php echo $_smarty_tpl->tpl_vars['Statistic']->value['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><?php echo $_smarty_tpl->tpl_vars['Statistic']->value['Count']['DW'];?>
</td>
                                    <td><?php echo $_smarty_tpl->tpl_vars['Statistic']->value['Count']['SM'];?>
</td>
                                    <td><?php echo $_smarty_tpl->tpl_vars['Statistic']->value['Count']['GM'];?>
</td>
                                </tr>
                                <tr>
                                    <td>DK/BK/BM</td>
                                    <td><?php echo $_smarty_tpl->tpl_vars['Statistic']->value['Count']['DK'];?>
</td>
                                    <td><?php echo $_smarty_tpl->tpl_vars['Statistic']->value['Count']['BK'];?>
</td>
                                    <td><?php echo $_smarty_tpl->tpl_vars['Statistic']->value['Count']['BM'];?>
</td>
                                </tr>
                                <tr>
                                    <td>FE/ME/HE</td>
                                    <td><?php echo $_smarty_tpl->tpl_vars['Statistic']->value['Count']['FE'];?>
</td>
                                    <td><?php echo $_smarty_tpl->tpl_vars['Statistic']->value['Count']['ME'];?>
</td>
                                    <td><?php echo $_smarty_tpl->tpl_vars['Statistic']->value['Count']['HE'];?>
</td>
                                </tr>
                                <tr>
                                    <td>SUM/BS/DiS</td>
                                    <td><?php echo $_smarty_tpl->tpl_vars['Statistic']->value['Count']['SUM'];?>
</td>
                                    <td><?php echo $_smarty_tpl->tpl_vars['Statistic']->value['Count']['BS'];?>
</td>
                                    <td><?php echo $_smarty_tpl->tpl_vars['Statistic']->value['Count']['DiM'];?>
</td>
                                </tr>
                                <tr>
                                    <td>MG/DM</td>
                                    <td>-/-</td>
                                    <td><?php echo $_smarty_tpl->tpl_vars['Statistic']->value['Count']['MG'];?>
</td>
                                    <td><?php echo $_smarty_tpl->tpl_vars['Statistic']->value['Count']['DM'];?>
</td>
                                </tr>
                                <tr>
                                    <td>DL/LE</td>
                                    <td>-/-</td>
                                    <td><?php echo $_smarty_tpl->tpl_vars['Statistic']->value['Count']['DL'];?>
</td>
                                    <td><?php echo $_smarty_tpl->tpl_vars['Statistic']->value['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>
                                    <?php if ($_smarty_tpl->tpl_vars['Castle']->value['ownerg'] != '') {?>
                                    <tr colspan="4" style="text-align: center;"><td colspan="4"><span style="color: #fecf75;"><a href="/statistic/guild/<?php echo $_smarty_tpl->tpl_vars['Castle']->value['ownerg'];?>
"><?php echo $_smarty_tpl->tpl_vars['Castle']->value['ownerg'];?>
</a></span></td></tr>
                                    <?php } else { ?>
                                    <tr colspan="4" style="text-align: center"><td colspan="4">Замок не захвачен</td></tr>
                                    <?php }?>
                            </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>
                                    <?php if (($_smarty_tpl->tpl_vars['Statistic']->value['Crywolf'] == 1)) {?>
                                    <tr colspan="4"><td colspan="4">Crywolf захвачен</td></tr>
                                    <?php } else { ?>
                                    <tr colspan="4" style="text-align: center"><td colspan="4">Crywolf не захвачен</td></tr>
                                    <?php }?>
                            </table>

                            
                        </div>
                        <div style="clear: both;"></div>
                    </div>
                </div>
                <div style="clear: both;"></div>
            </div>
<?php }
}
