<?php
/* Smarty version 3.1.29, created on 2016-12-25 16:21:51
  from "/var/www/plfesycd/data/www/freyamu.ru/views/templates/Freyamu/user/panel.tpl" */

if ($_smarty_tpl->smarty->ext->_validateCompiled->decodeProperties($_smarty_tpl, array (
  'has_nocache_code' => false,
  'version' => '3.1.29',
  'unifunc' => 'content_585fe40f9ae8f1_85319976',
  'file_dependency' => 
  array (
    'e23593b122d41db44cf857e0a265e66ae170e420' => 
    array (
      0 => '/var/www/plfesycd/data/www/freyamu.ru/views/templates/Freyamu/user/panel.tpl',
      1 => 1482679200,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_585fe40f9ae8f1_85319976 ($_smarty_tpl) {
if (!is_callable('smarty_modifier_date_format')) require_once '/var/www/plfesycd/data/www/freyamu.ru/library/Smarty/plugins/modifier.date_format.php';
?>
<img src="/web/templates/Freyamu/images/acc-panel.png">
<br>
<br>
<div class="scroller">
<table width="100%" id="user-info" style="background: #191919;">
    <tr>
        <td><?php echo $_smarty_tpl->tpl_vars['Lang']->value['UserPanelName'];?>
</td>
        <td><?php echo $_smarty_tpl->tpl_vars['Info']->value['memb_name'];?>
</td>
    </tr>
    <tr>
        <td><?php echo $_smarty_tpl->tpl_vars['Lang']->value['UserPanelEmail'];?>
</td>
        <td><?php echo $_smarty_tpl->tpl_vars['Info']->value['mail_addr'];?>
</td>
    </tr>
    <tr>
        <td><?php echo $_smarty_tpl->tpl_vars['Lang']->value['UserPanelRegDate'];?>
</td>
        <td><?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['Info']->value['rdate'],"%D %H:%M");?>
</td>
    </tr>
    <tr><td colspan="2"><br></td></tr>
    <tr style="background: rgba(33,33,33,0.3); border: 1px solid #3c3c3c">
        <td><?php echo $_smarty_tpl->tpl_vars['Lang']->value['UserPanelSelectedChar'];?>
</td>
        <td>
		<form method="post">
			
            <select class="input-group" style="color: White" name="active_player" id="" onchange="this.form.submit()">
                <?php
$_from = $_smarty_tpl->tpl_vars['ListPlayers']->value;
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
$__foreach_nick_0_saved_item = isset($_smarty_tpl->tpl_vars['nick']) ? $_smarty_tpl->tpl_vars['nick'] : false;
$_smarty_tpl->tpl_vars['nick'] = new Smarty_Variable();
$_smarty_tpl->tpl_vars['nick']->_loop = false;
foreach ($_from as $_smarty_tpl->tpl_vars['nick']->value) {
$_smarty_tpl->tpl_vars['nick']->_loop = true;
$__foreach_nick_0_saved_local_item = $_smarty_tpl->tpl_vars['nick'];
?>
                    <?php if ($_smarty_tpl->tpl_vars['nick']->value['Name'] == $_smarty_tpl->tpl_vars['Player']->value['Name']) {?>
                        <option value="<?php echo $_smarty_tpl->tpl_vars['nick']->value['Name'];?>
" selected><?php echo $_smarty_tpl->tpl_vars['nick']->value['Name'];?>
</option>
                    <?php } else { ?>
                        <option value="<?php echo $_smarty_tpl->tpl_vars['nick']->value['Name'];?>
"><?php echo $_smarty_tpl->tpl_vars['nick']->value['Name'];?>
</option>
                    <?php }?>
                <?php
$_smarty_tpl->tpl_vars['nick'] = $__foreach_nick_0_saved_local_item;
}
if ($__foreach_nick_0_saved_item) {
$_smarty_tpl->tpl_vars['nick'] = $__foreach_nick_0_saved_item;
}
?>
            </select>
		</form>
        </td>
    </tr>
    <tr>
        <td><?php echo $_smarty_tpl->tpl_vars['Lang']->value['UserPanelLevel'];?>
</td>
        <td><?php echo $_smarty_tpl->tpl_vars['Player']->value['cLevel'];?>
</td>
    </tr>
    <tr>
        <td><?php echo $_smarty_tpl->tpl_vars['Lang']->value['UserPanelReset'];?>
</td>
        <td><?php echo $_smarty_tpl->tpl_vars['Player']->value['Resets'];?>
</td>
    </tr>
    <tr>
        <td><?php echo $_smarty_tpl->tpl_vars['Lang']->value['UserPanelGrandReset'];?>
</td>
        <td><?php echo $_smarty_tpl->tpl_vars['Player']->value['GrandResets'];?>
</td>
    </tr>
    <?php
$_from = $_smarty_tpl->tpl_vars['Valutes']->value;
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
$__foreach_valute_1_saved_item = isset($_smarty_tpl->tpl_vars['valute']) ? $_smarty_tpl->tpl_vars['valute'] : false;
$_smarty_tpl->tpl_vars['valute'] = new Smarty_Variable();
$_smarty_tpl->tpl_vars['valute']->_loop = false;
foreach ($_from as $_smarty_tpl->tpl_vars['valute']->value) {
$_smarty_tpl->tpl_vars['valute']->_loop = true;
$__foreach_valute_1_saved_local_item = $_smarty_tpl->tpl_vars['valute'];
?>
       <tr>
           <td><?php echo $_smarty_tpl->tpl_vars['valute']->value['Name'];?>
</td>
           <td><?php echo $_smarty_tpl->tpl_vars['valute']->value['Count'];?>
</td>
       </tr>

   <?php
$_smarty_tpl->tpl_vars['valute'] = $__foreach_valute_1_saved_local_item;
}
if ($__foreach_valute_1_saved_item) {
$_smarty_tpl->tpl_vars['valute'] = $__foreach_valute_1_saved_item;
}
?>
</table>
<div style="width: 92%">
    <ul id="user-menu" style="padding: 0; margin-top: 12px">
    <li><a href="/user/changename">Смена Никнейма </a></li>
    <li><a href="/user/vote">Голосование </a></li>
    <li><a href="/user/resetstats">Ресет статов</a></li>
    <li><a href="/user/hideinfo">Закрыть инфу</a></li>
        <li><a href="/user/logout"><?php echo $_smarty_tpl->tpl_vars['Lang']->value['UserPanelLogout'];?>
</a></li>


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