<?php
/* Smarty version 3.1.29, created on 2017-08-13 16:40:29
  from "/var/www/isbvqaph/data/www/freyamu.ru/views/templates/Freyamu/cabinet/panel.tpl" */

if ($_smarty_tpl->smarty->ext->_validateCompiled->decodeProperties($_smarty_tpl, array (
  'has_nocache_code' => false,
  'version' => '3.1.29',
  'unifunc' => 'content_599056cde79c33_64151819',
  'file_dependency' => 
  array (
    'da96c623c82399f7a9c100d95297b5660c731206' => 
    array (
      0 => '/var/www/isbvqaph/data/www/freyamu.ru/views/templates/Freyamu/cabinet/panel.tpl',
      1 => 1502471933,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_599056cde79c33_64151819 ($_smarty_tpl) {
if (!is_callable('smarty_modifier_date_format')) require_once '/var/www/isbvqaph/data/www/freyamu.ru/library/Smarty/plugins/modifier.date_format.php';
?>
<style type="text/css">
    .widget.large {
    height: 388px;
}
.widget.large .body {
    height: 366px;
}
</style>
<div class="section_view col-md-8"><section class="widget">
        <header>
            <h4>
                <i class="fa fa-group "></i>
                Информация
                <small>
                    о персонажах.
                </small>
            </h4>
        </header>
        <div class="body">
            <ul id="myTab" class="nav nav-tabs">
                <?php if ($_smarty_tpl->tpl_vars['Chars']->value != "Персонажей не найдено") {?>
               <?php
$_from = $_smarty_tpl->tpl_vars['Chars']->value;
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
$__foreach_char_0_saved_item = isset($_smarty_tpl->tpl_vars['char']) ? $_smarty_tpl->tpl_vars['char'] : false;
$_smarty_tpl->tpl_vars['char'] = new Smarty_Variable();
$_smarty_tpl->tpl_vars['char']->_loop = false;
foreach ($_from as $_smarty_tpl->tpl_vars['char']->value) {
$_smarty_tpl->tpl_vars['char']->_loop = true;
$__foreach_char_0_saved_local_item = $_smarty_tpl->tpl_vars['char'];
?> 
                    <?php if ($_smarty_tpl->tpl_vars['char']->value['Name'] != null) {?>
                        <li><a href="#<?php echo $_smarty_tpl->tpl_vars['char']->value['Name'];?>
" data-toggle="tab"><?php echo $_smarty_tpl->tpl_vars['char']->value['Name'];?>
</a></li>
                    <?php }?>
                <?php
$_smarty_tpl->tpl_vars['char'] = $__foreach_char_0_saved_local_item;
}
if ($__foreach_char_0_saved_item) {
$_smarty_tpl->tpl_vars['char'] = $__foreach_char_0_saved_item;
}
?>
                <?php }?>
            </ul>
            <div id="myTabContent" class="tab-content">
                <style>
                    .small-t  > tbody > tr > td {
                        padding: 3px;
                    }
                    .pull-left2 {
                        padding-left: 10px;
                        float: left;
                        float: left !important;
                    }
                </style>
                <?php if ($_smarty_tpl->tpl_vars['Chars']->value == "Персонажей не найдено") {?>
                <div class="tab-pane fade in active">
                    <?php echo $_smarty_tpl->tpl_vars['Chars']->value;?>

                </div>
                <?php } else { ?>
                <?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['Chars']->value;
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
$__foreach_char_1_saved_item = isset($_smarty_tpl->tpl_vars['char']) ? $_smarty_tpl->tpl_vars['char'] : false;
$_smarty_tpl->tpl_vars['char'] = new Smarty_Variable();
$_smarty_tpl->tpl_vars['char']->_loop = false;
foreach ($_from as $_smarty_tpl->tpl_vars['char']->value) {
$_smarty_tpl->tpl_vars['char']->_loop = true;
$__foreach_char_1_saved_local_item = $_smarty_tpl->tpl_vars['char'];
?> 
                    <?php if ($_smarty_tpl->tpl_vars['char']->value['Name'] != null) {?>
                            <div class="tab-pane fade in 
                            <?php if ($_smarty_tpl->tpl_vars['i']->value == 1) {?>
                                active
                            <?php }?>
                            " id="<?php echo $_smarty_tpl->tpl_vars['char']->value['Name'];?>
">

                            <div class="block" style="padding: 10px;">
                                <div class="char">
                                  <!--   <div class="char_name" style="font-weight: bold;"><?php echo $_smarty_tpl->tpl_vars['char']->value['Name'];?>
 <?php echo $_smarty_tpl->tpl_vars['char']->value['ClassID'];?>
</div> -->
                                    <div class="char-img"><img src="<?php echo Character::GetImageCharacter($_smarty_tpl->tpl_vars['char']->value['ClassID']);?>
"></div>
                                </div>


                                <table style="width: 70%;">
                                    <tbody><tr>
                                        <td valign="top" style="width: 72px;padding-top: 14px;">
                                        </td>
                                        <td>
                                            <table class="small-t table table-bordered" style="margin-left: 25px;width: 95%;">
                                                <tbody>
                                                <tr>
                                                    <td>
                                                        <span class="key-icon">Ник: </span>
                                                    </td>
                                                    <td>
                                                        <div class="value pull-right"><?php echo $_smarty_tpl->tpl_vars['char']->value['Name'];?>
</div>
                                                    </td>
                                                </tr>

                                                <tr>
                                                    <td>
                                                        <span class="key-icon">Класс: </span>
                                                    </td>
                                                    <td>
                                                        <div class="value pull-right"><?php echo $_smarty_tpl->tpl_vars['char']->value['Class'];?>
</div>
                                                    </td>
                                                </tr>

                                                <tr>
                                                    <td>
                                                        <span class="key-icon">Уровень: </span>
                                                    </td>
                                                    <td>
                                                        <div class="value pull-right"><?php echo $_smarty_tpl->tpl_vars['char']->value['cLevel'];?>
</div>
                                                    </td>
                                                </tr>

                                                <tr>
                                                    <td>
                                                        <span class="key-icon">Ресет: </span>
                                                    </td>
                                                    <td>
                                                        <div class="value pull-right"><?php echo $_smarty_tpl->tpl_vars['char']->value['Resets'];?>
</div>
                                                    </td>
                                                </tr>

                                                <tr>
                                                    <td>
                                                        <span class="key-icon">Гранд ресет: </span>
                                                    </td>
                                                    <td>
                                                        <div class="value pull-right"><?php echo $_smarty_tpl->tpl_vars['char']->value['GrandResets'];?>
</div>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td>
                                                        <span class="key-icon">Гильдия: </span>
                                                    </td>
                                                    <td>
                                                        <div class="value pull-right"><?php echo $_smarty_tpl->tpl_vars['char']->value['Guild'];?>
</div>
                                                    </td>
                                                </tr>

                                                </tbody></table>
                                        </td>
                                    </tr>
                                    </tbody></table>
                                    <br><br><br>
                                    <div style="height: 1px; background: rgba(200,200,200,0.6);"></div>
                                    <?php echo '<script'; ?>
 src="/web/templates/default/js/tooltip.js" type="text/javascript"><?php echo '</script'; ?>
>
        <div class="inv-bg" style="margin: 0 auto; width: 400px;">
            <?php echo $_smarty_tpl->tpl_vars['char']->value['Inv'];?>

            <div style="clear: both;"></div>
        </div>

                            </div>
                        </div>
                    <?php }?>
                                    <?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['char'] = $__foreach_char_1_saved_local_item;
}
if ($__foreach_char_1_saved_item) {
$_smarty_tpl->tpl_vars['char'] = $__foreach_char_1_saved_item;
}
?>
                <?php }?>
               
            </div>
        </div>
    </section></div>
<div class="section_view col-md-4">
   
    <section class="widget widget-tabs">
            <!-- <header>
                <ul class="nav nav-tabs">
                    <li class="active">
                        <a href="#refarals" data-toggle="tab">Валюта</a>
                    </li>
                    <li>
                        <a href="#information" data-toggle="tab">Информация</a>
                    </li>
                </ul>
            </header> -->
            <div class="body tab-content">
                <!-- <div id="refarals" class="tab-pane active clearfix">
                    <h5 class="tab-header"><i class="fa fa-money"></i> Информация о ваших валютах.</h5>
                    <ul class="news-list">


             
                        
                    </ul>
                </div> -->
                <div id="information" class="tab-pane active">
                    <h5 class="tab-header"><i class="fa fa-info-circle"></i> Информация о Аккаунте.</h5>
                    <ul class="news-list news-list-no-hover">
                        <li>
                            <div class="news-item-info">
                                <div class="position">Текущий IP адрес :   <?php echo $_smarty_tpl->tpl_vars['AccountInfo']->value['CurrentIP'];?>
</div>
                            </div>
                        </li>
                        <li>
                            <div class="news-item-info">
                                <div class="position">E-Mail :   <?php echo $_smarty_tpl->tpl_vars['AccountInfo']->value['Mail'];?>
</div>
                            </div>
                        </li>
                        <li>
                            <div class="news-item-info">
                                <div class="position">Дата регистрации :   <?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['AccountInfo']->value['RegisterDate'],"%D %H:%M");?>
</div>
                            </div>
                        </li>


                      
                        <li>
                            <div class="news-item-info">
                                <div class="position">
                                    Аккаунт :
                                    <?php if ($_smarty_tpl->tpl_vars['AccountInfo']->value['AccountOnline'] == true) {?>
                                        Active
                                    <?php } else { ?>
                                        Offline
                                    <?php }?>
                                    </div>
                            </div>
                        </li>

                    </ul>
                </div>

                <div id="loglist" class="tab-pane">
                    <h5 class="tab-header"><i class="fa fa-desktop"></i> Logs 5 last operations</h5>
                    <ul class="news-list">
                        <li>
                            <div class="news-item-info">
                                <div class="name">Login to Members Area.</div>
                                <div class="comment">Дата: 2016-11-29<br>
                                    Ip: 93.79.220.74
                                </div>
                            </div>
                        </li>  <li>
                            <div class="news-item-info">
                                <div class="name">Register</div>
                                <div class="comment">Дата: 2016-11-29<br>
                                    Ip: 93.79.220.74
                                </div>
                            </div>
                        </li>
                    </ul>
                </div>
            </div>
        </section>
        <section class="widget large">
            <header>
                <h4>
                    <i class="fa fa-comments-o"></i>
                    Последнее на форуме
                </h4>
                <!--div class="actions">
            <button class="btn btn-transparent btn-xs">{ forum} <i class="fa fa-arrow-down"></i></button>
        </div-->
            </header>
            <div class="body">
                <div class="slimScrollDiv" style="position: relative; overflow: hidden; width: auto; height: 366px;"><div id="feed" class="feed" style="overflow: hidden; height: 366px;">
                        <div class="wrapper">
                            <div class="vertical-line"></div>
                            <ul class="news-list">
                       
                            <?php
$_from = $_smarty_tpl->tpl_vars['InWidgetForum']->value;
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
$__foreach_item_2_saved_item = isset($_smarty_tpl->tpl_vars['item']) ? $_smarty_tpl->tpl_vars['item'] : false;
$_smarty_tpl->tpl_vars['item'] = new Smarty_Variable();
$_smarty_tpl->tpl_vars['item']->_loop = false;
foreach ($_from as $_smarty_tpl->tpl_vars['item']->value) {
$_smarty_tpl->tpl_vars['item']->_loop = true;
$__foreach_item_2_saved_local_item = $_smarty_tpl->tpl_vars['item'];
?>
                             <li>
                            <div class="news-item-info">
                               
                                <section class="feed-item">
                                    <div class="icon pull-left">
                                        <i class="fa fa-comment"></i>
                                    </div>
                                    <div class="feed-item-body">
                                        <div class="text">
                                            <a href="<?php echo $_smarty_tpl->tpl_vars['item']->value['link'];?>
" target="_blank"><?php echo $_smarty_tpl->tpl_vars['item']->value['title'];?>
</a>.
                                        </div>
                                        <div class="time pull-left">
                                            <?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['item']->value['date'],"%d %m:%y");?>

                                        </div>
                                    </div>
                                </section>
                            </div>
                        </li> 
                            <?php
$_smarty_tpl->tpl_vars['item'] = $__foreach_item_2_saved_local_item;
}
if ($__foreach_item_2_saved_item) {
$_smarty_tpl->tpl_vars['item'] = $__foreach_item_2_saved_item;
}
?>
                    </ul>
                        </div>
                    </div>
                </div>
            </div>
        </section>

        <?php echo '<script'; ?>
>

            $("#feed").slimscroll({
                size: '5px',
                alwaysVisible: true,
                railVisible: true
            });
        <?php echo '</script'; ?>
></div><?php }
}
