<?php
/* Smarty version 3.1.29, created on 2017-08-11 19:11:42
  from "/var/www/isbvqaph/data/www/test.freyamu.ru/views/templates/Freyamu/cabinet/clan.tpl" */

if ($_smarty_tpl->smarty->ext->_validateCompiled->decodeProperties($_smarty_tpl, array (
  'has_nocache_code' => false,
  'version' => '3.1.29',
  'unifunc' => 'content_598dd73e417055_53376269',
  'file_dependency' => 
  array (
    'f4ae971e5dca08df6624bdce4235e3698f3cacb2' => 
    array (
      0 => '/var/www/isbvqaph/data/www/test.freyamu.ru/views/templates/Freyamu/cabinet/clan.tpl',
      1 => 1502310194,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_598dd73e417055_53376269 ($_smarty_tpl) {
?>
<section class="widget">
    <div class="body">

        <table class="table-bordered" style="width: 50%;">
            <tbody><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><?php echo $_smarty_tpl->tpl_vars['Guild']->value[0]['G_Name'];?>
</td>
            </tr>
            <tr>
                <th>Лидер</th>
                <td><?php echo $_smarty_tpl->tpl_vars['Guild']->value[0]['G_Master'];?>
</td>
            </tr>
            <tr>
                <th>Очков</th>
                <td><?php echo $_smarty_tpl->tpl_vars['Guild']->value[0]['G_Score'];?>
</td>
            </tr>
            <tr>
                <th>Альянс</th>
                <td>
                    <?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['Guild']->value[0]['Aliance'];?>
</a>
                    <?php }?>
                </td>
            </tr>
            </tbody></table>

        <table class="table table-hover">
            <thead>
            <tr>
                <th>№</th>
                <th>Ник</th>
                <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['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'];
?>
                <tr>
                <?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.31);"><?php echo $_smarty_tpl->tpl_vars['i']->value;?>
</td>
                <?php }?>
                <td><a><?php echo $_smarty_tpl->tpl_vars['member']->value['Name'];?>
</a></td>
                <?php if ($_smarty_tpl->tpl_vars['member']->value['PremiumTime'] > 0) {?>
                    <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;
}
?>
            </tbody>
        </table>

    </div>
</section>

<?php }
}
