<?php
/* Smarty version 3.1.29, created on 2017-01-26 16:14:33
  from "/var/www/plfesycd/data/www/freyamu.ru/views/templates/Freyamu/cabinet/main.tpl" */

if ($_smarty_tpl->smarty->ext->_validateCompiled->decodeProperties($_smarty_tpl, array (
  'has_nocache_code' => false,
  'version' => '3.1.29',
  'unifunc' => 'content_588a1259eedbb5_54064078',
  'file_dependency' => 
  array (
    '804d852cd2d81cd51ee2a217e3980cff0790a7be' => 
    array (
      0 => '/var/www/plfesycd/data/www/freyamu.ru/views/templates/Freyamu/cabinet/main.tpl',
      1 => 1485417672,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_588a1259eedbb5_54064078 ($_smarty_tpl) {
?>

<!DOCTYPE html>
<html>
<head>
    <title>Личный кабинет - FreyaMu.RU - Пожалуй лучший сервер MuOnline</title>
    <link href="/web/templates/Freyamu/cabinet/css/application_black.min.css" rel="stylesheet">
    <link rel="shortcut icon" href="/favicon.png">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="">
    <meta charset="utf-8">
    <link href="/web/templates/Freyamu/cabinet/libs/owl.carousel/owl.carousel.css" rel="stylesheet">
    <link href="/web/templates/Freyamu/cabinet/libs/owl.carousel/owl.theme.css" rel="stylesheet">


    <?php echo '<script'; ?>
 src="/web/templates/Freyamu/cabinet/libs/jquery-2.0.3.min.js"><?php echo '</script'; ?>
>
    <?php echo '<script'; ?>
 src="/web/templates/Freyamu/cabinet/libs/jquery.slimscroll.js"><?php echo '</script'; ?>
>
    <?php echo '<script'; ?>
 src="/web/templates/Freyamu/cabinet/libs/bootstrap/modal.js"><?php echo '</script'; ?>
>
</head>
<body class="background-dark">

<div class="logo">
</div>
<nav id="sidebar" class="sidebar">
    <ul id="side-nav" class="side-nav">


        <li class="active">
            <a href="#index" data-post="/cabinet/index/ajax">
                <i class="fa fa-home"></i>
                <span class="name">Главная</span>
            </a>
        </li>
       <!--  <li class="panel">
            <a class="accordion-toggle collapsed" data-toggle="collapse"
               data-parent="#side-nav" href="#forms-shop">
                <i class="fa  fa-shopping-cart"></i>
                <span class="name">Кузница</span>
            </a>
            <ul id="forms-shop" class="panel-collapse collapse">
                <li><a class="fa" href="#shop" data-post="shop=armor"> Armor</a></li>
                <li><a class="fa" href="#shop" data-post="shop=weapon"> Weapon</a></li>
                <li><a class="fa" href="#shop" data-post="shop=jewerly"> Jewelry</a></li>
                <li><a class="fa" href="#shop" data-post="shop=accessories"> Аксессуары</a></li>
            </ul>
        </li> -->

        <li class="panel">
            <a href="#statistic" data-post="/cabinet/statistic/ajax">
                <i class="fa fa-globe"></i>
                <span class="name"> Статистика</span>
            </a>
        </li>

        <li class="panel">
            <a href="#settings" data-post="/cabinet/settings/ajax">
                <i class="fa fa-wrench"></i>
                <span class="name">Настройки</span>
            </a>
        </li>
        <li class="panel">
            <a href="#vote" data-post="/cabinet/vote/ajax">
                <i class="fa fa-thumbs-o-up"></i>
                <span class="name">Голосование</span>
            </a>
        </li>
<!-- 
        <li class="panel">
            <a href="#pay" data-post="/cabinet/pay/ajax">
                <i class="fa fa-rub"></i>
                <span class="name">Пополнить баланс</span>
            </a>
        </li> -->
        <li class="panel">
            <a target="_blank" href="/">
                <i class="fa fa-arrow-circle-o-right"></i>
                <span class="name">На сайт</span>
            </a>
        </li>
        <li class="panel">
            <a target="_blank" href="http://forum.freyamu.ru/">
                <i class="fa fa-bullhorn"></i>
                <span class="name">На форум</span>
            </a>
        </li>
    </ul>


</nav>
<div class="wrap">
    <header class="page-header">


        <div class="navbar">
            <ul class="nav navbar-nav navbar-right pull-right">

                <li class="visible-phone-landscape">
                    <a href="#" id="search-toggle">
                        <i class="fa fa-search"></i>
                    </a>
                </li>


                <li class="dropdown">

                    <ul id="support-menu" class="dropdown-menu support" role="menu">

                        <div class="support-ticket">
                            <div class="details">
                                У нас действует система бонусов за приглашение новых игроков!
                                Подробно можно прочитать на форуме.

                                Ваш реферальный код: 5711@3287
                            </div>
                        </div>

                        <li role="presentation">
                            <a href="#" class="support-ticket" id="copy-button"
                               data-clipboard-text="aware.pro/register/5711@3287">
                                <div class="picture">
                                    <span class="label label-important"><i class="fa fa-plus"></i></span>
                                </div>
                                <div class="details">
                                    Copy to clipboard
                                </div>
                            </a>
                        </li>

                    </ul>
                </li>
                <li class="divider"></li>
                <li class="hidden-xs">
                    <a href="#" id="settings"
                       title="Settings"
                       data-toggle="popover"
                       data-placement="bottom">
                        <i class="fa fa-cog"></i>
                    </a>
                </li>


                <li class="visible-xs">
                    <a href="javascript:;"
                       class="btn-navbar"
                       data-toggle="collapse"
                       data-target=".sidebar"
                       title="">
                        <i class="fa fa-bars"></i>
                    </a>
                </li>
                <li class="hidden-xs"><a href="/cabinet/logout"><i class="fa fa-sign-out"></i></a>
                </li>
            </ul>



            <div class="notifications pull-right">
                <div id="refresh" class="alert pull-right">
                
<a data-placement="bottom" href="#buyprem" data-post="/cabinet/buyprem/ajax" data-original-title="Покупка Премиум Аккаунта" class="transfer label label-success don">
                            <i class="fa  fa-trophy"></i> Купить Premium Account
                        </a>
                    <a href="#pay" data-post="/cabinet/pay/ajax" data-placement="bottom" data-original-title="Пополнение вашего баланса" class="transfer label label-info bal" style="font-weight: normal;"><i class="fa fa-credit-card"></i> Пополнить баланс</a> &nbsp;

                    <span style="font-size: 13px;"><?php
$_from = $_smarty_tpl->tpl_vars['MainValutes']->value;
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
$__foreach_valute_0_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_0_saved_local_item = $_smarty_tpl->tpl_vars['valute'];
?>
                            <?php if ($_smarty_tpl->tpl_vars['valute']->value['Name'] != 'Zen') {?>
                       
                                <b><?php echo $_smarty_tpl->tpl_vars['valute']->value['Name'];?>
</b>: &ensp;
                                <?php if ($_smarty_tpl->tpl_vars['valute']->value['Count'] == '') {?>0<?php } else {
echo $_smarty_tpl->tpl_vars['valute']->value['Count'];
}?>
                        
                            <?php }?>

                       <?php
$_smarty_tpl->tpl_vars['valute'] = $__foreach_valute_0_saved_local_item;
}
if ($__foreach_valute_0_saved_item) {
$_smarty_tpl->tpl_vars['valute'] = $__foreach_valute_0_saved_item;
}
?> <i class="fa fa-rub"></i></span>&nbsp;&nbsp;&nbsp;


                    <!--<span data-placement="bottom" data-original-title="Buy vote coin" data-toggle="modal" data-target="#transfer_vote"
                          class="transfer label label-success" style="cursor: pointer;">
                        <i class="fa fa-heart"></i> Vote <span id="vote">0</span>
                    </span> &nbsp;

                    <span data-placement="bottom" data-original-title="Translation exchange auction" data-toggle="modal" data-target="#transfer_auction"
                          class="transfer label label-primary" style="cursor: pointer;">
                        <i class="fa fa-legal"></i> Auction <span id="auction">0</span>
                    </span> &nbsp;-->

                    <i class="glyphicon glyphicon-refresh" style="cursor: pointer;"></i>
                </div>
            </div>

        </div>
    </header>
    <div class="content container ajaxContent" style="display: block;">
        <?php echo $_smarty_tpl->tpl_vars['CabinetPage']->value;?>

       </div>
    <div class="loader-wrap" style="display: none;">
        <i class="fa fa-spinner fa-spin"></i>
    </div>
</div>





<!-- div id="transfer_balance" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true" style="display: none;">
    <div class="modal-dialog">
        <div class="modal-content">

            <form  name="transfer_balance" class="form-horizontal" method="post" onsubmit="return false;">

                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                    <h4 class="modal-title" id="myModalLabel">Купить Премиум Аккаунт</h4>
                </div>
                <div class="modal-body">
                    <center><p>(ВРЕМЕННО НЕ РАБОТАЕТ!)</p></center>
                    <hr>
                    <input id="plagin" type="hidden" name="plagin" value="transfer_money">
                    <input id="price" type="hidden" value="35">

                    <br>
                    <div class="control-group">
                        <label for="city" class="control-label">Amount in balance</label>
                        <div class="controls form-group">
                            <div class="col-xs-12 col-sm-6">
                                <input id="balance_coin" class="form-control parsley-validated" type="number" min="0" name="balance" maxlength="6">
                            </div>
                        </div>
                    </div>
                    <div class="control-group">
                        <label for="city" class="control-label">Coin</label>
                        <div class="controls form-group">
                            <div class="col-xs-12 col-sm-6">
                                <input id="coin_balance" class="form-control parsley-validated" type="number" min="0" name="coin_balance" maxlength="6">
                            </div>
                        </div>
                    </div>


                    <div class="control-group">
                        <label for="state" class="control-label">Select character </label>
                        <div class="controls form-group">
                            <select name="char_id" id="char_id" class="col-xs-12 col-sm-6  chzn-select"  data-width="off"
                                    data-minimum-results-for-search="10"
                                    tabindex="-1"><option>You have no characters</option></select>
                        </div>
                    </div>

                </div>



                <div class="modal-footer">
                    <center>1 Уровень = х110 Experience</center>
                    <center>2 Уровень = х120 Experience</center>
                    <center>3 Уровень = х130 Experience</center>
                    <div class="show_transfer_balance"></div>

                    <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
                    <button type="button" class="btn btn-primary submit-btn">Buy</button>

                </div>
            </form>
        </div><!-- /.modal-content -->
    </div><!-- /.modal-dialog -->
</div><!-- /.modal-dialog -->

<div id="transfer_vote" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel2" aria-hidden="true" style="display: none;">
    <div class="modal-dialog">
        <div class="modal-content">

            <form  name="transfer_vote" class="form-horizontal" method="post" onsubmit="return false;">


                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                    <h4 class="modal-title" id="myModalLabe2">Transfer vote</h4>
                </div>
                <div class="modal-body">
                    <p>Enter the number of votes that you want to transfer to the selected character.</p>
                    <hr>
                    <input id="plagin" type="hidden" name="plagin" value="transfer_vote">
                    <input id="price" type="hidden" value="35">
                    <input id="discount" type="hidden" value="0">

                    <div class="control-group">
                        <label for="city" class="control-label">Vote </label>
                        <div class="controls form-group">
                            <div class="col-xs-12 col-sm-6">
                                <input class="form-control parsley-validated" min="0" type="number" name="coin_vote" maxlength="6">
                            </div>
                        </div>
                    </div>



                    <div class="control-group">
                        <label for="state" class="control-label">Select character </label>
                        <div class="controls form-group">
                            <select name="char_id" id="char_id" class="col-xs-12 col-sm-6  chzn-select"  data-width="off"
                                    data-minimum-results-for-search="10"
                                    tabindex="-1"><option>You have no characters</option></select>
                        </div>
                    </div>

                </div>



                <div class="modal-footer">
                    <div class="show_transfer_vote"></div>
                    <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
                    <button type="button" class="btn btn-primary submit-btn">Enroll </button>
                </div>
            </form>
        </div><!-- /.modal-content -->
    </div><!-- /.modal-dialog -->
</div><!-- /.modal-dialog -->



<div id="transfer_auction" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel2" aria-hidden="true" style="display: none;">
    <div class="modal-dialog">
        <div class="modal-content">

            <form  name="transfer_auction" class="form-horizontal" method="post" onsubmit="return false;">


                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                    <h4 class="modal-title" id="myModalLabe2">Translation auction currency on the principal balance </h4>
                </div>
                <div class="modal-body">
                    <p>You can follow any responses to transfer funds earned on the principal balance , or bring them to your preferred account.
                        To display the currency auction you need to create a ticket to the theme messages while withdrawal and follow the instructions of the manager Saporta.</p>
                    <hr>
                    <input id="plagin" type="hidden" name="plagin" value="transfer_auction">



                    <div class="control-group">
                        <label for="city" class="control-label">Auction </label>
                        <div class="controls form-group">
                            <div class="col-xs-12 col-sm-6">
                                <input class="form-control parsley-validated" min="0" type="number" name="auction_count" maxlength="6">
                            </div>
                        </div>
                    </div>

                </div>



                <div class="modal-footer">
                    <div class="show_transfer_auction"></div>
                    <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
                    <button type="button" class="btn btn-primary submit-btn">Transfer </button>
                </div>
            </form>
        </div><!-- /.modal-content -->
    </div><!-- /.modal-dialog -->
</div><!-- /.modal-dialog -->

<!-- jquery and friends -->
<?php echo '<script'; ?>
 src="/web/templates/Freyamu/cabinet/js/jquery.cookie.js"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
 src="/web/templates/Freyamu/cabinet/libs/jquery.pjax.js"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
 src="/web/templates/Freyamu/cabinet/libs/select2.js"><?php echo '</script'; ?>
>

<!-- jquery plugins -->
<?php echo '<script'; ?>
 src="/web/templates/Freyamu/cabinet/libs/jquery.icheck.js"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
 src="/web/templates/Freyamu/cabinet/libs/jquery.sparkline.js"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
 src="/web/templates/Freyamu/cabinet/libs/jquery-ui-1.10.3.custom.js"><?php echo '</script'; ?>
>

<?php echo '<script'; ?>
 src="/web/templates/Freyamu/cabinet/libs/jquery.dataTables.min.js"><?php echo '</script'; ?>
>


<!--backbone and friends-->
<?php echo '<script'; ?>
 src="/web/templates/Freyamu/cabinet/libs/backbone/underscore-min.js"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
 src="/web/templates/Freyamu/cabinet/libs/backbone/backbone-min.js"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
 src="/web/templates/Freyamu/cabinet/libs/backbone/backbone.localStorage-min.js"><?php echo '</script'; ?>
>

<!-- bootstrap default plugins-->
<?php echo '<script'; ?>
 src="/web/templates/Freyamu/cabinet/libs/bootstrap/transition.js"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
 src="/web/templates/Freyamu/cabinet/libs/bootstrap/collapse.js"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
 src="/web/templates/Freyamu/cabinet/libs/bootstrap/alert.js"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
 src="/web/templates/Freyamu/cabinet/libs/bootstrap/tooltip.js"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
 src="/web/templates/Freyamu/cabinet/libs/bootstrap/popover.js"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
 src="/web/templates/Freyamu/cabinet/libs/bootstrap/button.js"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
 src="/web/templates/Freyamu/cabinet/libs/bootstrap/tab.js"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
 src="/web/templates/Freyamu/cabinet/libs/bootstrap/dropdown.js"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
 src="/web/templates/Freyamu/cabinet/libs/jquery.metadata.min.js"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
 src="/web/templates/Freyamu/cabinet/libs/jquery.tableFormSynch.documented.js"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
 src="/web/templates/Freyamu/cabinet/libs/bootstrap-select.js"><?php echo '</script'; ?>
>

<!-- basic application js-->
<?php echo '<script'; ?>
 type="text/javascript" src="/web/templates/Freyamu/cabinet/js/app.js"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
 type="text/javascript" src="/web/templates/Freyamu/cabinet/js/settings.js"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
 type="text/javascript" src="/web/templates/Freyamu/cabinet/js/cabinet.js"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
 type="text/javascript" src="/web/templates/Freyamu/cabinet/js/auction.js"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
 type="text/javascript" src="/web/templates/Freyamu/cabinet/js/support.js"><?php echo '</script'; ?>
>


<?php echo '<script'; ?>
 type="text/javascript" src="/web/templates/Freyamu/cabinet/js/notiJ.js"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
 type="text/javascript" src="/web/templates/Freyamu/cabinet/js/scroll.js"><?php echo '</script'; ?>
>

<?php echo '<script'; ?>
 type="text/javascript" src="/web/templates/Freyamu/cabinet/libs/owl.carousel/owl.carousel.min.js"><?php echo '</script'; ?>
>

<?php echo '<script'; ?>
>
    <?php
$_from = $_smarty_tpl->tpl_vars['Messages']->value;
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
$__foreach_message_1_saved_item = isset($_smarty_tpl->tpl_vars['message']) ? $_smarty_tpl->tpl_vars['message'] : false;
$_smarty_tpl->tpl_vars['message'] = new Smarty_Variable();
$_smarty_tpl->tpl_vars['message']->_loop = false;
foreach ($_from as $_smarty_tpl->tpl_vars['message']->value) {
$_smarty_tpl->tpl_vars['message']->_loop = true;
$__foreach_message_1_saved_local_item = $_smarty_tpl->tpl_vars['message'];
?>
    $.notij('<?php echo $_smarty_tpl->tpl_vars['message']->value;?>
',{ 'type':'error'});
    <?php
$_smarty_tpl->tpl_vars['message'] = $__foreach_message_1_saved_local_item;
}
if ($__foreach_message_1_saved_item) {
$_smarty_tpl->tpl_vars['message'] = $__foreach_message_1_saved_item;
}
echo '</script'; ?>
>

<!-- page specific
<?php echo '<script'; ?>
 src="/web/templates/Freyamu/cabinet/js/index.js"><?php echo '</script'; ?>
>-->

<?php echo '<script'; ?>
 src="/web/templates/Freyamu/cabinet/js/ZeroClipboard.js"><?php echo '</script'; ?>
>

<?php echo '<script'; ?>
>
    $(".transfer").tooltip();

    $(".chzn-select").each(function(){
        $(this).select2($(this).data());
    });


<?php echo '</script'; ?>
>
<?php echo '<script'; ?>
 type="text/template" id="settings-template">
    <div class="setting clearfix">
        <div>Background</div>
        <div id="background-toggle" class="pull-left btn-group" data-toggle="buttons-radio">
            <?php echo '<%';?> dark = background == 'dark'; light = background == 'light';<?php echo '%>';?>
            <button type="button" data-value="dark" class="btn btn-sm btn-transparent <?php echo '<%';?>= dark? 'active' : '' <?php echo '%>';?>">Dark
            </button>
            <button type="button" data-value="dark" class="btn btn-sm btn-transparent <?php echo '<%';?>= light? 'active' : '' <?php echo '%>';?>">
                Light
            </button>
        </div>
    </div>
    <div class="setting clearfix">
        <div>Language</div>
        <div class="pull-left btn-group" data-toggle="buttons-radio">


            <button type="button" lang="rus" class="btn btn-sm btn-transparent">Rus</button>
            <button type="button" lang="eng" class="btn btn-sm btn-transparent">Eng</button>
        </div>
    </div>
<?php echo '</script'; ?>
>
</body>
</html><?php }
}
