<?php
/* Smarty version 3.1.29, created on 2017-07-29 16:00:29
  from "/var/www/h3ysh156/data/www/freyamu.ru/views/templates/Freyamu/rankings/guilds.tpl" */

if ($_smarty_tpl->smarty->ext->_validateCompiled->decodeProperties($_smarty_tpl, array (
  'has_nocache_code' => false,
  'version' => '3.1.29',
  'unifunc' => 'content_597c86ed3b2226_15966958',
  'file_dependency' => 
  array (
    '1aeeed2938b88ed45a38032ed221db9164d92205' => 
    array (
      0 => '/var/www/h3ysh156/data/www/freyamu.ru/views/templates/Freyamu/rankings/guilds.tpl',
      1 => 1501329311,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_597c86ed3b2226_15966958 ($_smarty_tpl) {
?>
<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">
                        <table class="table_bs" cellspacing="0">
                            <thead>
                            <tr>
                                <th>#</th>
                                <th>Название</th>
                                <th>Мастер</th>
                                <th>Лого</th>
                                <th>Игроков</th>
                            </tr>
                            </thead>
                            <tbody>

                            <?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_0_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_0_saved_local_item = $_smarty_tpl->tpl_vars['guild'];
?>
                                <tr>
                                    <td align="center" width="10%"><?php echo $_smarty_tpl->tpl_vars['i']->value;?>
</td>
                                    <td width="3%"><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><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 style="color: #e0d1b8;" align="center" width="15%"><img src="<?php echo $_smarty_tpl->tpl_vars['guild']->value['G_Mark'];?>
"/></td>
                                    <td align="center" width="20%"><?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_0_saved_local_item;
}
if ($__foreach_guild_0_saved_item) {
$_smarty_tpl->tpl_vars['guild'] = $__foreach_guild_0_saved_item;
}
?>
                            </tbody>
                        </table>
                    </div></div>
            </div>
            <ul class="b_tabs_sub_0">
                <li class="b_0_pvp "><a href="/statistic/players">Игроков</a></li><li class="b_0_pk"><a
                            href="/statistic/pk">Убийц</a></li><li class="b_0_clan active"><a href="/statistic/guilds">Кланов</a></li><li class="b_0_castl">
                    <a href="/statistic/castle">Замок</a></li>
            </ul>
        </div>

    </div>
<?php }
}
