<?php
/* Smarty version 3.1.29, created on 2017-12-20 09:49:24
  from "/var/www/user1291/data/www/mudream.ru/views/templates/Freyamu/rankings/players.tpl" */

if ($_smarty_tpl->smarty->ext->_validateCompiled->decodeProperties($_smarty_tpl, array (
  'has_nocache_code' => false,
  'version' => '3.1.29',
  'unifunc' => 'content_5a3a07f4194dc0_80086162',
  'file_dependency' => 
  array (
    'e53e22c7c3512dabd74d9230b75cdb09a516194c' => 
    array (
      0 => '/var/www/user1291/data/www/mudream.ru/views/templates/Freyamu/rankings/players.tpl',
      1 => 1504219293,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_5a3a07f4194dc0_80086162 ($_smarty_tpl) {
?>
<style type="text/css">
  footer{
    margin-top: 200px;
  }
</style>
<div class="animated" style="animation-delay: 0.5s; animation-name: zoomIn;">
    <img src="/web/templates/Freyamu/images/stats-title.png" class="wr_title title_rating">


    <div class="content-center">

<!--
<?php echo '<script'; ?>
>
    $(document).ready(function() {
        var destination = $( ".title_rating" ).offset().top;
        jQuery( "html:not(:animated),body:not(:animated)" ).animate( { scrollTop: destination }, 800 );
        return false;
    });
<?php echo '</script'; ?>
>
-->
<?php echo '<script'; ?>
 type="text/javascript">
    $(function(){
        //setTimeout("$('body,html').stop().animate({ scrollTop:315},1000)",500);
$('#b_tabs_stats_0').addClass('active'); // добавить класс
$('#b_tabs_stats_serv_0').addClass('active'); // добавить класс
});
<?php echo '</script'; ?>
>


<div id="b_tabs_stats_0" class="b_playertop_all s0 active">
    <div class="b_b-content ptop">
        <div class="b_playertop_0 active">
            <div class="scroller">
                <div id="cbar">
                    <!-- <h3 class="right">Phoenix x30 - Top 10 DK/BK/BM</h3>
                    <div class="spacer1"></div>
                    <div>
                        В ТОП рейтингах отображаются активные игроки за последние 30 дней.<br>
                        <img src="images/premium/top_gold.png" alt=""> / <img src="images/premium/top_silver.png" alt="">/ <img src="images/premium/top_bronze.png" alt=""> - Символ Premium статуса, больше возможностей, увеличенные рейты и многое другое, подробнее в разделе <a href="premiumclub">Premium статус</a>.
                    </div> -->
                    <div class="spacer2"></div>
                    <ul class="class-list">
                        <li><a href="/statistic/players">ВСЕ</a></li>
                        <li><a href="/statistic/players/0/dw">DW/SM/GM</a></li>
                        <li><a href="/statistic/players/0/dk">DK/BK/BM</a></li>
                        <li><a href="/statistic/players/0/elf">FE/ME/HE</a></li>
                        <li><a href="/statistic/players/0/mg">MG/DM</a></li>
                        <li><a href="/statistic/players/0/dl">DL/LE</a></li>
                        <li><a href="/statistic/players/0/sum">SU/BS/DS</a></li>
                    </ul>
                    <div class="spacer2"></div>
                    <table class="topics">
                        <tbody>
                           
                        <tr>
                            <th class="st6">#</th>
                            <th>Персонаж</th>
                            <th class="center">Premium</th>
                            <th class="st6">Класс</th>
                            <th class="st5">Уровень</th>
                            <th class="st5">Ресеты</th>
                            <th class="st5">Ребирты</th><!-- 
                            <th class="st6">Gens</th> -->
                            <th class="st6"></th>
                        </tr>
                        <?php $_smarty_tpl->tpl_vars['i'] = new Smarty_Variable(1, null);
$_smarty_tpl->ext->_updateScope->updateScope($_smarty_tpl, 'i', 0);?>
                         <?php
$_from = $_smarty_tpl->tpl_vars['Players']->value;
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
$__foreach_player_0_saved_item = isset($_smarty_tpl->tpl_vars['player']) ? $_smarty_tpl->tpl_vars['player'] : false;
$_smarty_tpl->tpl_vars['player'] = new Smarty_Variable();
$_smarty_tpl->tpl_vars['player']->_loop = false;
foreach ($_from as $_smarty_tpl->tpl_vars['player']->value) {
$_smarty_tpl->tpl_vars['player']->_loop = true;
$__foreach_player_0_saved_local_item = $_smarty_tpl->tpl_vars['player'];
?>
                            <?php if ($_smarty_tpl->tpl_vars['i']->value%2 != 0) {?>
                           <tr class="rowclass">
                           <?php } else { ?>
                           <tr>
                           <?php }?>
                            <td class="st6">
                            <?php if ($_smarty_tpl->tpl_vars['i']->value <= 3) {?>
                            <div class="rank<?php echo $_smarty_tpl->tpl_vars['i']->value;?>
"><?php echo $_smarty_tpl->tpl_vars['i']->value;?>
</div>
                           <?php } else { ?>
                            <?php echo $_smarty_tpl->tpl_vars['i']->value;?>

                           <?php }?>
                            </td>
                            <td><a href="/statistic/player/<?php echo $_smarty_tpl->tpl_vars['player']->value['Name'];?>
"><?php echo $_smarty_tpl->tpl_vars['player']->value['Name'];?>
</a></td>
                            <td>
                            <?php if ($_smarty_tpl->tpl_vars['player']->value['AccountLevel'] == 1) {?>
                            <div title="VIP 1 LeveL" class="acc_bronze">&nbsp;</div> 
                            <?php } elseif ($_smarty_tpl->tpl_vars['player']->value['AccountLevel'] == 2) {?>
                            <div title="VIP 2 LeveL" class="acc_silver">&nbsp;</div> 
                            <?php } elseif ($_smarty_tpl->tpl_vars['player']->value['AccountLevel'] == 3) {?>
                            <div title="VIP 3 LeveL" class="acc_gold">&nbsp;</div> 
                            <?php }?>
                            <!-- -->
                            </td>
                            <td class="st6 help_text" title="<?php echo $_smarty_tpl->tpl_vars['player']->value['Class'];?>
"><?php echo $_smarty_tpl->tpl_vars['player']->value['Class2'];?>
</td>
                
                            <td class="st5"><?php echo $_smarty_tpl->tpl_vars['player']->value['cLevel'];?>
</td>
              
                
                            <td class="st5"><?php echo $_smarty_tpl->tpl_vars['player']->value['Resets'];?>
</td>
              
                
                            <td class="st5"><?php echo $_smarty_tpl->tpl_vars['player']->value['GrandResets'];?>
</td>
              
                            <!-- 
                            <td class="st6"><img class="help_text" src="images/gens/small/d14.png" title="Duprian - Private" alt=""></td> -->
                            <?php if ($_smarty_tpl->tpl_vars['player']->value['status'] == 1) {?>
                            <td class="st6"><img class="help_text" src="/web/templates/Freyamu/images/online.png" title="Online" alt=""></td>
                            <?php } else { ?>
                            <td class="st6"><img class="help_text" src="/web/templates/Freyamu/images/offline.png" title="Offline" alt=""></td>
                            <?php }?>
                        </tr>
                               <?php $_smarty_tpl->tpl_vars['i'] = new Smarty_Variable($_smarty_tpl->tpl_vars['i']->value+1, null);
$_smarty_tpl->ext->_updateScope->updateScope($_smarty_tpl, 'i', 0);?>
                           <?php
$_smarty_tpl->tpl_vars['player'] = $__foreach_player_0_saved_local_item;
}
if ($__foreach_player_0_saved_item) {
$_smarty_tpl->tpl_vars['player'] = $__foreach_player_0_saved_item;
}
?>
                       
                    </tbody></table>
                </div>
                                           </div></div>
               <div class="b_playertop_0">
                    <div class="scroller">
                     <div id="cbar" style="    width: 100%;">
       
            
                    <table class="topics" width="100%">
                        <tbody>
                           
                        <tr>
                            <th class="st6">#</th>
                           <th class="st5">Ник</th>
                           <th class="st5">Класс</th>
                           <th class="st5">Левел</th>
                           <th class="st5">Ресет</th>
                           <th class="st6">Убийств</th>
                
                        </tr>

                        <?php $_smarty_tpl->tpl_vars['i'] = new Smarty_Variable(1, null);
$_smarty_tpl->ext->_updateScope->updateScope($_smarty_tpl, 'i', 0);?>

                           <?php $_smarty_tpl->tpl_vars['i'] = new Smarty_Variable(1, null);
$_smarty_tpl->ext->_updateScope->updateScope($_smarty_tpl, 'i', 0);?>
                           <?php
$_from = $_smarty_tpl->tpl_vars['TopPK']->value;
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
$__foreach_pk_1_saved_item = isset($_smarty_tpl->tpl_vars['pk']) ? $_smarty_tpl->tpl_vars['pk'] : false;
$_smarty_tpl->tpl_vars['pk'] = new Smarty_Variable();
$_smarty_tpl->tpl_vars['pk']->_loop = false;
foreach ($_from as $_smarty_tpl->tpl_vars['pk']->value) {
$_smarty_tpl->tpl_vars['pk']->_loop = true;
$__foreach_pk_1_saved_local_item = $_smarty_tpl->tpl_vars['pk'];
?>
                                 <?php if ($_smarty_tpl->tpl_vars['i']->value%2 != 0) {?>
                           <tr class="rowclass">
                           <?php } else { ?>
                           <tr>
                           <?php }?>
                            <td class="st6">
                            <?php if ($_smarty_tpl->tpl_vars['i']->value <= 3) {?>
                            <div class="rank<?php echo $_smarty_tpl->tpl_vars['i']->value;?>
"><?php echo $_smarty_tpl->tpl_vars['i']->value;?>
</div>
                           <?php } else { ?>
                            <?php echo $_smarty_tpl->tpl_vars['i']->value;?>

                           <?php }?>
                            </td>
                            <td><a href="/statistic/player/<?php echo $_smarty_tpl->tpl_vars['pk']->value['Name'];?>
"><?php echo $_smarty_tpl->tpl_vars['pk']->value['Name'];?>
</a></td>
                            
                                   <td class="st6"><?php echo $_smarty_tpl->tpl_vars['pk']->value['Class'];?>
</td>
                            <td class="st5"><?php echo $_smarty_tpl->tpl_vars['pk']->value['cLevel'];?>
</td>
                            <td class="st5"><?php echo $_smarty_tpl->tpl_vars['pk']->value['Resets'];?>
</td>
                                    <td class="st6"><?php echo $_smarty_tpl->tpl_vars['pk']->value['PkCount'];?>
</td>
                        </tr>
                               <?php $_smarty_tpl->tpl_vars['i'] = new Smarty_Variable($_smarty_tpl->tpl_vars['i']->value+1, null);
$_smarty_tpl->ext->_updateScope->updateScope($_smarty_tpl, 'i', 0);?>
                           <?php
$_smarty_tpl->tpl_vars['pk'] = $__foreach_pk_1_saved_local_item;
}
if ($__foreach_pk_1_saved_item) {
$_smarty_tpl->tpl_vars['pk'] = $__foreach_pk_1_saved_item;
}
?>

                    
                    </tbody></table>
                </div>

                   </div></div>

                <div class="b_playertop_0">
                   <div class="scroller">
                      <div id="cbar" style="    width: 100%;">
       
            
                    <table class="topics" width="100%">
                        <tbody>
                           
                        <tr>
                            <th class="st6">#</th>
                           <th class="st5">Название</th>
                           <th class="st5">Мастер</th>
                           <th class="st5">3н.</th>
                           <th class="st5">Игроков</th>
                        </tr>

                        <?php $_smarty_tpl->tpl_vars['i'] = new Smarty_Variable(1, null);
$_smarty_tpl->ext->_updateScope->updateScope($_smarty_tpl, 'i', 0);?>

                           <?php $_smarty_tpl->tpl_vars['i'] = new Smarty_Variable(1, null);
$_smarty_tpl->ext->_updateScope->updateScope($_smarty_tpl, 'i', 0);?>
                           <?php
$_from = $_smarty_tpl->tpl_vars['Guilds']->value;
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
$__foreach_guild_2_saved_item = isset($_smarty_tpl->tpl_vars['guild']) ? $_smarty_tpl->tpl_vars['guild'] : false;
$_smarty_tpl->tpl_vars['guild'] = new Smarty_Variable();
$_smarty_tpl->tpl_vars['guild']->_loop = false;
foreach ($_from as $_smarty_tpl->tpl_vars['guild']->value) {
$_smarty_tpl->tpl_vars['guild']->_loop = true;
$__foreach_guild_2_saved_local_item = $_smarty_tpl->tpl_vars['guild'];
?>
                                 <?php if ($_smarty_tpl->tpl_vars['i']->value%2 != 0) {?>
                           <tr class="rowclass">
                           <?php } else { ?>
                           <tr>
                           <?php }?>
                            <td class="st6">
                            <?php if ($_smarty_tpl->tpl_vars['i']->value <= 3) {?>
                            <div class="rank<?php echo $_smarty_tpl->tpl_vars['i']->value;?>
"><?php echo $_smarty_tpl->tpl_vars['i']->value;?>
</div>
                           <?php } else { ?>
                            <?php echo $_smarty_tpl->tpl_vars['i']->value;?>

                           <?php }?>
                            </td>
                            <td><a href="/statistic/guild/<?php echo $_smarty_tpl->tpl_vars['guild']->value['G_Name'];?>
"><?php echo $_smarty_tpl->tpl_vars['guild']->value['G_Name'];?>
</a></td>
                            <td class="st6"><a href="/statistic/player/<?php echo $_smarty_tpl->tpl_vars['guild']->value['G_Master'];?>
"><?php echo $_smarty_tpl->tpl_vars['guild']->value['G_Master'];?>
</a></td>
                            <td class="st5"><img src="<?php echo $_smarty_tpl->tpl_vars['guild']->value['G_Mark'];?>
"/></td>
                            <td class="st5"><?php echo $_smarty_tpl->tpl_vars['guild']->value['CountMember'];?>
</td>
                        </tr>
                               <?php $_smarty_tpl->tpl_vars['i'] = new Smarty_Variable($_smarty_tpl->tpl_vars['i']->value+1, null);
$_smarty_tpl->ext->_updateScope->updateScope($_smarty_tpl, 'i', 0);?>
                           <?php
$_smarty_tpl->tpl_vars['guild'] = $__foreach_guild_2_saved_local_item;
}
if ($__foreach_guild_2_saved_item) {
$_smarty_tpl->tpl_vars['guild'] = $__foreach_guild_2_saved_item;
}
?>

                    
                    </tbody></table>
                </div>

                </div></div>
    <div class="b_playertop_0">
        <div class="scroller">
                    <table valign="center" cellspacing="0" cellpadding="0" width="25%" border="0" class="tableMain">
                        <?php if ($_smarty_tpl->tpl_vars['Castle']->value['owner'] != '') {?>
                        <tbody>
                            <tr>
                                <td rowspan="2" valign="center"><img border="0" src="<?php echo $_smarty_tpl->tpl_vars['Castle']->value['mark'];?>
"></td>
                                <td style="font-weight:bold">Владельцы</td>
                            </tr>
                            <tr align="left">
                                <td><a href="/statistic/guild/<?php echo $_smarty_tpl->tpl_vars['Castle']->value['ownerg'];?>
"><?php echo $_smarty_tpl->tpl_vars['Castle']->value['ownerg'];?>
</a></td>
                            </tr>
                        </tbody>
                        <?php } else { ?>
                        <tr>
                            <td align="center" colspan="2"><?php echo $_smarty_tpl->tpl_vars['Lang']->value['CastleEmpty'];?>
</td>
                        </tr>
                        <?php }?>
                    </td>
                </tr>
                </table>
                <table width="100%">
                    <tr>
                        <td colspan="2" align="center" style="background: rgba(243, 97, 97, 0.1);">Информация</td>
                    </tr>
                    <tr class="trcs"><td><?php echo $_smarty_tpl->tpl_vars['Lang']->value['CastleMoney'];?>
</td><td><?php echo number_format($_smarty_tpl->tpl_vars['Castle']->value['money']);?>
 Zen</td></tr>
                    <tr class="trcs"><td><?php echo $_smarty_tpl->tpl_vars['Lang']->value['CastleChaosMachineRate'];?>
</td><td><?php echo $_smarty_tpl->tpl_vars['Castle']->value['chaos_tax'];?>
%</td></tr>
                    <tr class="trcs"><td><?php echo $_smarty_tpl->tpl_vars['Lang']->value['CastleTaxRate'];?>
</td><td><?php echo $_smarty_tpl->tpl_vars['Castle']->value['store_tax'];?>
%</td></tr>
                    <tr class="trcs"><td><?php echo $_smarty_tpl->tpl_vars['Lang']->value['CastleEntryPrice'];?>
</td><td><?php echo number_format($_smarty_tpl->tpl_vars['Castle']->value['zone_tax']);?>
 Zen</td></tr>
                </table>
                <table align="right" valign="top" cellspacing="0" cellpadding="0" width="100%" style=" border-collapse: separate; border-spacing: 2px;empty-cells: hide;">
                    <tbody><tr>
                        <td colspan="2" align="center" style="background: rgba(243, 97, 97, 0.1);"><?php echo $_smarty_tpl->tpl_vars['Lang']->value['CastleSchedule'];?>
</td>
                    </tr>
                    <tr class="trcs">
                        <td align="center"><?php echo $_smarty_tpl->tpl_vars['Lang']->value['CastleStartPeriod'];?>
</td><td><?php echo $_smarty_tpl->tpl_vars['Castle']->value['cs_start'];?>
</td>
                    </tr>
                    <tr class="trcs">
                        <td align="center"><?php echo $_smarty_tpl->tpl_vars['Lang']->value['CastleStatusPeriod'];?>
</td><td><?php echo $_smarty_tpl->tpl_vars['Castle']->value['cs_period'];?>
</td>
                    </tr>
                    <tr class="trcs">
                        <td align="center"><?php echo $_smarty_tpl->tpl_vars['Lang']->value['CastleEndPeriod'];?>
</td><td><?php echo $_smarty_tpl->tpl_vars['Castle']->value['cs_end'];?>
</td>
                    </tr>
                </tbody></table>
                <table align="right" valign="top" cellspacing="0" cellpadding="0" width="100%">
                    <tr><td align="center" colspan="2" style="background: rgba(243, 97, 97, 0.1);"><?php echo $_smarty_tpl->tpl_vars['Lang']->value['CastlePretends'];?>
</td></tr>

                    <?php
$_from = $_smarty_tpl->tpl_vars['Castle']->value['g_registed'];
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
$__foreach_value_3_saved_item = isset($_smarty_tpl->tpl_vars['value']) ? $_smarty_tpl->tpl_vars['value'] : false;
$_smarty_tpl->tpl_vars['value'] = new Smarty_Variable();
$_smarty_tpl->tpl_vars['value']->_loop = false;
foreach ($_from as $_smarty_tpl->tpl_vars['value']->value) {
$_smarty_tpl->tpl_vars['value']->_loop = true;
$__foreach_value_3_saved_local_item = $_smarty_tpl->tpl_vars['value'];
?>
                    <tr  class="trcs"><td><a href="/statistic/guild/<?php echo $_smarty_tpl->tpl_vars['value']->value['guild'];?>
"> <?php echo $_smarty_tpl->tpl_vars['value']->value['guild'];?>
 </a></td><td><img src="<?php echo $_smarty_tpl->tpl_vars['value']->value['marks'];?>
" alt=""></td></tr>
                    <?php
$_smarty_tpl->tpl_vars['value'] = $__foreach_value_3_saved_local_item;
}
if ($__foreach_value_3_saved_item) {
$_smarty_tpl->tpl_vars['value'] = $__foreach_value_3_saved_item;
}
?>
                </table>
        </div>
    </div>

        <div class="b_playertop_0">
            <div class="scroller">
                <div id="cbar" style="    width: 100%;">
       
            
                    <table class="topics" width="100%">
                        <tbody>
                           
                        <tr>
                            <th class="st6">#</th>
                            <th>Никнейм</th>
                            <th class="center">Голосов</th>
                
                        </tr>
                        <?php $_smarty_tpl->tpl_vars['i'] = new Smarty_Variable(1, null);
$_smarty_tpl->ext->_updateScope->updateScope($_smarty_tpl, 'i', 0);?>
                         <?php
$_from = $_smarty_tpl->tpl_vars['Voters']->value;
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
$__foreach_voter_4_saved_item = isset($_smarty_tpl->tpl_vars['voter']) ? $_smarty_tpl->tpl_vars['voter'] : false;
$_smarty_tpl->tpl_vars['voter'] = new Smarty_Variable();
$_smarty_tpl->tpl_vars['voter']->_loop = false;
foreach ($_from as $_smarty_tpl->tpl_vars['voter']->value) {
$_smarty_tpl->tpl_vars['voter']->_loop = true;
$__foreach_voter_4_saved_local_item = $_smarty_tpl->tpl_vars['voter'];
?>
                            <?php if ($_smarty_tpl->tpl_vars['i']->value%2 != 0) {?>
                           <tr class="rowclass">
                           <?php } else { ?>
                           <tr>
                           <?php }?>
                            <td class="st6">
                            <?php if ($_smarty_tpl->tpl_vars['i']->value <= 3) {?>
                            <div class="rank<?php echo $_smarty_tpl->tpl_vars['i']->value;?>
"><?php echo $_smarty_tpl->tpl_vars['i']->value;?>
</div>
                           <?php } else { ?>
                            <?php echo $_smarty_tpl->tpl_vars['i']->value;?>

                           <?php }?>
                            </td>
                            <td align="left" style="padding-left: 10px;"><a href="/statistic/player/<?php echo $_smarty_tpl->tpl_vars['voter']->value['CharInfo']['Name'];?>
"><?php echo $_smarty_tpl->tpl_vars['voter']->value['CharInfo']['Name'];?>
</a></td>
                            <td class="st9"><?php echo $_smarty_tpl->tpl_vars['voter']->value['CountVoteMMOTop'];?>
</td>
                        </tr>
                               <?php $_smarty_tpl->tpl_vars['i'] = new Smarty_Variable($_smarty_tpl->tpl_vars['i']->value+1, null);
$_smarty_tpl->ext->_updateScope->updateScope($_smarty_tpl, 'i', 0);?>
                           <?php
$_smarty_tpl->tpl_vars['voter'] = $__foreach_voter_4_saved_local_item;
}
if ($__foreach_voter_4_saved_item) {
$_smarty_tpl->tpl_vars['voter'] = $__foreach_voter_4_saved_item;
}
?>
                       
                    </tbody></table>
                </div>
           </div></div>
        <div class="b_playertop_0">
            <div class="scroller">
                <div id="cbar" style="    width: 100%;">
       
            
                    <table class="topics" width="100%">
                        <tbody>
                           
                        <tr>
                            <th class="st6">#</th>
                            <th>Персонаж</th>
                            <th class="center">Очки</th>
                
                        </tr>
                        <?php $_smarty_tpl->tpl_vars['i'] = new Smarty_Variable(1, null);
$_smarty_tpl->ext->_updateScope->updateScope($_smarty_tpl, 'i', 0);?>
                         <?php
$_from = $_smarty_tpl->tpl_vars['BC']->value;
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
$__foreach_bcPlayer_5_saved_item = isset($_smarty_tpl->tpl_vars['bcPlayer']) ? $_smarty_tpl->tpl_vars['bcPlayer'] : false;
$_smarty_tpl->tpl_vars['bcPlayer'] = new Smarty_Variable();
$_smarty_tpl->tpl_vars['bcPlayer']->_loop = false;
foreach ($_from as $_smarty_tpl->tpl_vars['bcPlayer']->value) {
$_smarty_tpl->tpl_vars['bcPlayer']->_loop = true;
$__foreach_bcPlayer_5_saved_local_item = $_smarty_tpl->tpl_vars['bcPlayer'];
?>
                            <?php if ($_smarty_tpl->tpl_vars['i']->value%2 != 0) {?>
                           <tr class="rowclass">
                           <?php } else { ?>
                           <tr>
                           <?php }?>
                            <td class="st6">
                            <?php if ($_smarty_tpl->tpl_vars['i']->value <= 3) {?>
                            <div class="rank<?php echo $_smarty_tpl->tpl_vars['i']->value;?>
"><?php echo $_smarty_tpl->tpl_vars['i']->value;?>
</div>
                           <?php } else { ?>
                            <?php echo $_smarty_tpl->tpl_vars['i']->value;?>

                           <?php }?>
                            </td>
                            <td align="left" style="padding-left: 10px;"><a href="/statistic/player/<?php echo $_smarty_tpl->tpl_vars['bcPlayer']->value['CharInfo']['Name'];?>
"><?php echo $_smarty_tpl->tpl_vars['bcPlayer']->value['Name'];?>
</a></td>
                            <td class="st9"><?php echo $_smarty_tpl->tpl_vars['bcPlayer']->value['Score'];?>
</td>
                        </tr>
                               <?php $_smarty_tpl->tpl_vars['i'] = new Smarty_Variable($_smarty_tpl->tpl_vars['i']->value+1, null);
$_smarty_tpl->ext->_updateScope->updateScope($_smarty_tpl, 'i', 0);?>
                           <?php
$_smarty_tpl->tpl_vars['bcPlayer'] = $__foreach_bcPlayer_5_saved_local_item;
}
if ($__foreach_bcPlayer_5_saved_item) {
$_smarty_tpl->tpl_vars['bcPlayer'] = $__foreach_bcPlayer_5_saved_item;
}
?>
                       
                    </tbody></table>
                </div>
           </div></div>
        <div class="b_playertop_0">
            <div class="scroller">
                <div id="cbar" style="    width: 100%;">
       
            
                    <table class="topics" width="100%">
                        <tbody>
                           
                        <tr>
                            <th class="st6">#</th>
                            <th>Персонаж</th>
                            <th class="center">Очки</th>
                
                        </tr>
                        <?php $_smarty_tpl->tpl_vars['i'] = new Smarty_Variable(1, null);
$_smarty_tpl->ext->_updateScope->updateScope($_smarty_tpl, 'i', 0);?>
                         <?php
$_from = $_smarty_tpl->tpl_vars['DS']->value;
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
$__foreach_dsPlayer_6_saved_item = isset($_smarty_tpl->tpl_vars['dsPlayer']) ? $_smarty_tpl->tpl_vars['dsPlayer'] : false;
$_smarty_tpl->tpl_vars['dsPlayer'] = new Smarty_Variable();
$_smarty_tpl->tpl_vars['dsPlayer']->_loop = false;
foreach ($_from as $_smarty_tpl->tpl_vars['dsPlayer']->value) {
$_smarty_tpl->tpl_vars['dsPlayer']->_loop = true;
$__foreach_dsPlayer_6_saved_local_item = $_smarty_tpl->tpl_vars['dsPlayer'];
?>
                            <?php if ($_smarty_tpl->tpl_vars['i']->value%2 != 0) {?>
                           <tr class="rowclass">
                           <?php } else { ?>
                           <tr>
                           <?php }?>
                            <td class="st6">
                            <?php if ($_smarty_tpl->tpl_vars['i']->value <= 3) {?>
                            <div class="rank<?php echo $_smarty_tpl->tpl_vars['i']->value;?>
"><?php echo $_smarty_tpl->tpl_vars['i']->value;?>
</div>
                           <?php } else { ?>
                            <?php echo $_smarty_tpl->tpl_vars['i']->value;?>

                           <?php }?>
                            </td>
                            <td align="left" style="padding-left: 10px;"><a href="/statistic/player/<?php echo $_smarty_tpl->tpl_vars['dsPlayer']->value['CharInfo']['Name'];?>
"><?php echo $_smarty_tpl->tpl_vars['dsPlayer']->value['Name'];?>
</a></td>
                            <td class="st9"><?php echo $_smarty_tpl->tpl_vars['dsPlayer']->value['Score'];?>
</td>
                        </tr>
                               <?php $_smarty_tpl->tpl_vars['i'] = new Smarty_Variable($_smarty_tpl->tpl_vars['i']->value+1, null);
$_smarty_tpl->ext->_updateScope->updateScope($_smarty_tpl, 'i', 0);?>
                           <?php
$_smarty_tpl->tpl_vars['dsPlayer'] = $__foreach_dsPlayer_6_saved_local_item;
}
if ($__foreach_dsPlayer_6_saved_item) {
$_smarty_tpl->tpl_vars['dsPlayer'] = $__foreach_dsPlayer_6_saved_item;
}
?>
                       
                    </tbody></table>
                </div>
           </div></div>
        <div class="b_playertop_0">
            <div class="scroller">
                <div id="cbar" style="    width: 100%;">
       
            
                    <table class="topics" width="100%">
                        <tbody>
                           
                        <tr>
                            <th class="st6">#</th>
                            <th>Персонаж</th>
                            <th class="center">Очки</th>
                
                        </tr>
                        <?php $_smarty_tpl->tpl_vars['i'] = new Smarty_Variable(1, null);
$_smarty_tpl->ext->_updateScope->updateScope($_smarty_tpl, 'i', 0);?>
                         <?php
$_from = $_smarty_tpl->tpl_vars['BC']->value;
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
$__foreach_bcPlayer_7_saved_item = isset($_smarty_tpl->tpl_vars['bcPlayer']) ? $_smarty_tpl->tpl_vars['bcPlayer'] : false;
$_smarty_tpl->tpl_vars['bcPlayer'] = new Smarty_Variable();
$_smarty_tpl->tpl_vars['bcPlayer']->_loop = false;
foreach ($_from as $_smarty_tpl->tpl_vars['bcPlayer']->value) {
$_smarty_tpl->tpl_vars['bcPlayer']->_loop = true;
$__foreach_bcPlayer_7_saved_local_item = $_smarty_tpl->tpl_vars['bcPlayer'];
?>
                            <?php if ($_smarty_tpl->tpl_vars['i']->value%2 != 0) {?>
                           <tr class="rowclass">
                           <?php } else { ?>
                           <tr>
                           <?php }?>
                            <td class="st6">
                            <?php if ($_smarty_tpl->tpl_vars['i']->value <= 3) {?>
                            <div class="rank<?php echo $_smarty_tpl->tpl_vars['i']->value;?>
"><?php echo $_smarty_tpl->tpl_vars['i']->value;?>
</div>
                           <?php } else { ?>
                            <?php echo $_smarty_tpl->tpl_vars['i']->value;?>

                           <?php }?>
                            </td>
                            <td align="left" style="padding-left: 10px;"><a href="/statistic/player/<?php echo $_smarty_tpl->tpl_vars['bcPlayer']->value['CharInfo']['Name'];?>
"><?php echo $_smarty_tpl->tpl_vars['bcPlayer']->value['Name'];?>
</a></td>
                            <td class="st9"><?php echo $_smarty_tpl->tpl_vars['bcPlayer']->value['Score'];?>
</td>
                        </tr>
                               <?php $_smarty_tpl->tpl_vars['i'] = new Smarty_Variable($_smarty_tpl->tpl_vars['i']->value+1, null);
$_smarty_tpl->ext->_updateScope->updateScope($_smarty_tpl, 'i', 0);?>
                           <?php
$_smarty_tpl->tpl_vars['bcPlayer'] = $__foreach_bcPlayer_7_saved_local_item;
}
if ($__foreach_bcPlayer_7_saved_item) {
$_smarty_tpl->tpl_vars['bcPlayer'] = $__foreach_bcPlayer_7_saved_item;
}
?>
                       
                    </tbody></table>
                </div>
           </div></div>
        <div class="b_playertop_0">
            <div class="scroller">
                <div id="cbar" style="    width: 100%;">
       
            
                    <table class="topics" width="100%">
                        <tbody>
                           
                        <tr>
                            <th class="st6">#</th>
                            <th>Персонаж</th>
                            <th class="center">Очки</th>
                
                        </tr>
                        <?php $_smarty_tpl->tpl_vars['i'] = new Smarty_Variable(1, null);
$_smarty_tpl->ext->_updateScope->updateScope($_smarty_tpl, 'i', 0);?>
                         <?php
$_from = $_smarty_tpl->tpl_vars['CC']->value;
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
$__foreach_ccPlayer_8_saved_item = isset($_smarty_tpl->tpl_vars['ccPlayer']) ? $_smarty_tpl->tpl_vars['ccPlayer'] : false;
$_smarty_tpl->tpl_vars['ccPlayer'] = new Smarty_Variable();
$_smarty_tpl->tpl_vars['ccPlayer']->_loop = false;
foreach ($_from as $_smarty_tpl->tpl_vars['ccPlayer']->value) {
$_smarty_tpl->tpl_vars['ccPlayer']->_loop = true;
$__foreach_ccPlayer_8_saved_local_item = $_smarty_tpl->tpl_vars['ccPlayer'];
?>
                            <?php if ($_smarty_tpl->tpl_vars['i']->value%2 != 0) {?>
                           <tr class="rowclass">
                           <?php } else { ?>
                           <tr>
                           <?php }?>
                            <td class="st6">
                            <?php if ($_smarty_tpl->tpl_vars['i']->value <= 3) {?>
                            <div class="rank<?php echo $_smarty_tpl->tpl_vars['i']->value;?>
"><?php echo $_smarty_tpl->tpl_vars['i']->value;?>
</div>
                           <?php } else { ?>
                            <?php echo $_smarty_tpl->tpl_vars['i']->value;?>

                           <?php }?>
                            </td>
                            <td align="left" style="padding-left: 10px;"><a href="/statistic/player/<?php echo $_smarty_tpl->tpl_vars['ccPlayer']->value['CharInfo']['Name'];?>
"><?php echo $_smarty_tpl->tpl_vars['ccPlayer']->value['Name'];?>
</a></td>
                            <td class="st9"><?php echo $_smarty_tpl->tpl_vars['ccPlayer']->value['Score'];?>
</td>
                        </tr>
                               <?php $_smarty_tpl->tpl_vars['i'] = new Smarty_Variable($_smarty_tpl->tpl_vars['i']->value+1, null);
$_smarty_tpl->ext->_updateScope->updateScope($_smarty_tpl, 'i', 0);?>
                           <?php
$_smarty_tpl->tpl_vars['ccPlayer'] = $__foreach_ccPlayer_8_saved_local_item;
}
if ($__foreach_ccPlayer_8_saved_item) {
$_smarty_tpl->tpl_vars['ccPlayer'] = $__foreach_ccPlayer_8_saved_item;
}
?>
                       
                    </tbody></table>
                </div>
           </div></div>
    <div class="b_line_0"><i class="b_line_0_sw" style="left: 0px;"></i></div>
    <ul class="b_tabs_sub_0" style="top: -32px;">
        <li class="b_0_pvp active">Player</li><li class="b_0_pk">PK</li><li class="b_0_clan">Guild</li><li class="b_0_castl">Castle</li> <!--<li class="b_0_voters">Voters</li> --> <br><li class="b_0_bc">BC</li> <li class="b_0_bc">DS</li><li class="b_0_bc">CC</li> 
    </ul>
</div>
</div>



</div>


</div><?php }
}
