<?php
/* Smarty version 3.1.29, created on 2016-10-31 01:11:47
  from "/var/www/fr8992/data/www/evomu.ru/views/templates/evomu/rankings/guild.tpl" */

if ($_smarty_tpl->smarty->ext->_validateCompiled->decodeProperties($_smarty_tpl, array (
  'has_nocache_code' => false,
  'version' => '3.1.29',
  'unifunc' => 'content_5816702367b0c8_90034096',
  'file_dependency' => 
  array (
    '841f864a52b60d758400569f3cee6a60b22ae671' => 
    array (
      0 => '/var/www/fr8992/data/www/evomu.ru/views/templates/evomu/rankings/guild.tpl',
      1 => 1477865505,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_5816702367b0c8_90034096 ($_smarty_tpl) {
?>
<div class=" view-guild">
<div class="title1">
    <h1>Информация о гильдии</h1>
</div>
<div id="content_center">
    <div class="box-style1" style="margin-bottom:25px;">
        <div class="entry">
            <div>
                <table width="100%" style="margin-bottom:12px; border-radius: 2px; border: 1px solid rgb(226, 180, 142);">

                    <tr>
                        <td class="no-bg" rowspan="10" style="text-align: center;"><img src="<?php echo $_smarty_tpl->tpl_vars['Guild']->value[0]['G_Mark'];?>
" /></td>
                        <th>Название</th>
                        <td><a href="/statistic/guild/<?php echo $_smarty_tpl->tpl_vars['Guild']->value[0]['G_Name'];?>
/<?php echo $_smarty_tpl->tpl_vars['TopDb']->value;?>
"><?php echo $_smarty_tpl->tpl_vars['Guild']->value[0]['G_Name'];?>
</a></td>
                    </tr>
                    <tr>
                        <th>Мастер</th>
                        <td><a href="/statistic/player/<?php echo $_smarty_tpl->tpl_vars['Guild']->value[0]['G_Master'];?>
/<?php echo $_smarty_tpl->tpl_vars['TopDb']->value;?>
"><?php echo $_smarty_tpl->tpl_vars['Guild']->value[0]['G_Master'];?>
</a></td>
                    </tr>
                    <tr>
                        <th>Очков</th>
                        <td><?php echo $_smarty_tpl->tpl_vars['Guild']->value[0]['G_Score'];?>
</td>
                    </tr>
                    <tr>
                        <th>Альянс</th>
                        <th>
                        <?php if ($_smarty_tpl->tpl_vars['Guild']->value[0]['Aliance'] == '') {?>
                            -/-
                        <?php } else { ?>
                            <a href="/statistic/guild/<?php echo $_smarty_tpl->tpl_vars['Guild']->value[0]['Aliance'];?>
/<?php echo $_smarty_tpl->tpl_vars['TopDb']->value;?>
"><?php echo $_smarty_tpl->tpl_vars['Guild']->value[0]['Aliance'];?>
</a>
                        <?php }?>
                        </th>
                    </tr>
                </table>
                <h1>Информация об учасниках</h1>
                <table id="l2top" class="table-member" width="100%">
                    <tr class="header-ranking-table">
                        <th>№</th>
                        <th>Ник</th>
                        <th>Класс</th>
                        <th>Уровень</th>
                        <th>Ресет</th>
                        <th>Гранд Ресет</th>
                        <th>Статус</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['Guild']->value;
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
$__foreach_member_0_saved_item = isset($_smarty_tpl->tpl_vars['member']) ? $_smarty_tpl->tpl_vars['member'] : false;
$_smarty_tpl->tpl_vars['member'] = new Smarty_Variable();
$_smarty_tpl->tpl_vars['member']->_loop = false;
foreach ($_from as $_smarty_tpl->tpl_vars['member']->value) {
$_smarty_tpl->tpl_vars['member']->_loop = true;
$__foreach_member_0_saved_local_item = $_smarty_tpl->tpl_vars['member'];
?>
                        <?php if ($_smarty_tpl->tpl_vars['i']->value%2 == 0) {?>
                            <tr class="ranking-zebra">
                                <?php } else { ?>
                            <tr>
                        <?php }?>
                        <?php if ($_smarty_tpl->tpl_vars['member']->value['Online']) {?>
                            <td style="background: green;"><?php echo $_smarty_tpl->tpl_vars['i']->value;?>
</td>
                        <?php } else { ?>
                            <td style="background: rgba(187, 81, 81, 0.7);"><?php echo $_smarty_tpl->tpl_vars['i']->value;?>
</td>
                        <?php }?>
                            <td><a href="/statistic/player/<?php echo $_smarty_tpl->tpl_vars['member']->value['Name'];?>
/<?php echo $_smarty_tpl->tpl_vars['TopDb']->value;?>
"><?php echo $_smarty_tpl->tpl_vars['member']->value['Name'];?>
</a></td>
                            <?php if ($_smarty_tpl->tpl_vars['member']->value['Hide']) {?>
                                <td><img src="/web/templates/default/images/hide.png" height="20" alt=""></td>
                                <td><img src="/web/templates/default/images/hide.png" height="20" alt=""></td>
                                <td><img src="/web/templates/default/images/hide.png" height="20" alt=""></td>
                                <td><img src="/web/templates/default/images/hide.png" height="20" alt=""></td>
                            <?php } else { ?>
                                <td><?php echo Character::GetClassName($_smarty_tpl->tpl_vars['member']->value['Class']);?>
</td>
                                <td><?php echo $_smarty_tpl->tpl_vars['member']->value['cLevel'];?>
</td>
                                <td><?php echo $_smarty_tpl->tpl_vars['member']->value['Resets'];?>
</td>
                                <td><?php echo $_smarty_tpl->tpl_vars['member']->value['GrandResets'];?>
</td>
                            <?php }?>
                            <td><?php echo $_smarty_tpl->tpl_vars['member']->value['G_Status'];?>
</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['member'] = $__foreach_member_0_saved_local_item;
}
if ($__foreach_member_0_saved_item) {
$_smarty_tpl->tpl_vars['member'] = $__foreach_member_0_saved_item;
}
?>
                </table>
            </div>
        </div>
    </div>
</div>
</div><?php }
}
