<?php
/* Smarty version 3.1.29, created on 2016-11-16 03:53:26
  from "/var/www/plfesycd/data/www/freyamu.ru/views/templates/default/admin/main.tpl" */

if ($_smarty_tpl->smarty->ext->_validateCompiled->decodeProperties($_smarty_tpl, array (
  'has_nocache_code' => false,
  'version' => '3.1.29',
  'unifunc' => 'content_582bae06aaa227_00343881',
  'file_dependency' => 
  array (
    'eafe9f10573497603b3339f4fe7a281daffba799' => 
    array (
      0 => '/var/www/plfesycd/data/www/freyamu.ru/views/templates/default/admin/main.tpl',
      1 => 1479256503,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_582bae06aaa227_00343881 ($_smarty_tpl) {
?>
<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>ExTeamWEB | Admin Panel</title>
    <link rel="stylesheet" href="/web/templates/default/admin/css/style.css">
    <link rel="stylesheet" href="/web/templates/default/admin/css/fonts.css">
    <?php echo '<script'; ?>
 type="text/javascript" src="http://ajax.aspnetcdn.com/ajax/jquery/jquery-2.1.4.min.js"><?php echo '</script'; ?>
>
    <?php echo '<script'; ?>
 src="/web/templates/default/admin/js/script.js"><?php echo '</script'; ?>
>
</head>
<body>
<div class="wrapper">
    <div class="header">
        <div class="logo">
            <a href="/admin"></a>
        </div>
        <a href="#" class="list-decor"></a>
        <div class="top-nav">
            <ul>
                <li><a href="/admin/usermessages">Messages from users</a><span class="top-nav-count"><?php echo WriteAdmin::CountMessages();?>
</span></li>
                
            </ul>
        </div>
        <div class="autor">
            <?php if ($_smarty_tpl->tpl_vars['CountDB']->value > 1) {?>
                <div class="select_db_admin">
                    <form action="/admin/selectdb" method="post">
                        <label for="select_db_admin">Select Server</label><br>
                        <select name="select_db_admin" id="select_db_admin" onchange="form.submit();">
                            <?php
$_smarty_tpl->tpl_vars['num_db'] = new Smarty_Variable;$_smarty_tpl->tpl_vars['num_db']->step = 1;$_smarty_tpl->tpl_vars['num_db']->total = (int) min(ceil(($_smarty_tpl->tpl_vars['num_db']->step > 0 ? $_smarty_tpl->tpl_vars['CountDB']->value-1+1 - (0) : 0-($_smarty_tpl->tpl_vars['CountDB']->value-1)+1)/abs($_smarty_tpl->tpl_vars['num_db']->step)),5);
if ($_smarty_tpl->tpl_vars['num_db']->total > 0) {
for ($_smarty_tpl->tpl_vars['num_db']->value = 0, $_smarty_tpl->tpl_vars['num_db']->iteration = 1;$_smarty_tpl->tpl_vars['num_db']->iteration <= $_smarty_tpl->tpl_vars['num_db']->total;$_smarty_tpl->tpl_vars['num_db']->value += $_smarty_tpl->tpl_vars['num_db']->step, $_smarty_tpl->tpl_vars['num_db']->iteration++) {
$_smarty_tpl->tpl_vars['num_db']->first = $_smarty_tpl->tpl_vars['num_db']->iteration == 1;$_smarty_tpl->tpl_vars['num_db']->last = $_smarty_tpl->tpl_vars['num_db']->iteration == $_smarty_tpl->tpl_vars['num_db']->total;?>
                                <?php if ($_smarty_tpl->tpl_vars['DbInAdmin']->value == $_smarty_tpl->tpl_vars['num_db']->value) {?>
                                <option value="<?php echo $_smarty_tpl->tpl_vars['num_db']->value;?>
" selected="selected"><?php echo $_smarty_tpl->tpl_vars['NamesDB']->value[$_smarty_tpl->tpl_vars['num_db']->value];?>
</option>
                                <?php } else { ?>
                                <option value="<?php echo $_smarty_tpl->tpl_vars['num_db']->value;?>
"><?php echo $_smarty_tpl->tpl_vars['NamesDB']->value[$_smarty_tpl->tpl_vars['num_db']->value];?>
</option>
                                <?php }?>
                            <?php }
}
?>

                        </select>
                    </form>
                </div>
            <?php }?>
        </div>
        <div style="clear: both;"></div>
    </div>
    <div class="center">
        <div class="sidebar">
            <div class="left-nav">
                <ul class="left-nav-ul">
                    <li><a><i class="icon-cog"></i>Main Settings</a>
                        <ul class="podmenu">
                            <li><a href="/admin/general">General</a></li>
                            <li><a href="/admin/general/databases">DataBases</a></li>
                            <li><a href="/admin/general/cache">Cache</a></li>
                            <li><a href="/admin/general/valutemanager">Valute Manager</a></li>
                            <li><a href="/admin/general/lang">Language Config</a></li>
                            <li><a href="/admin/general/novelty">Updater</a></li>
                            <li><a href="/admin/general/user">User Configs</a></li>
                            <li><a href="/admin/general/logs">Logs</a></li>
                        </ul>
                    </li>
                    <li><a><i class="icon-th-large"></i>Widgets</a>
                        <ul class="podmenu">
                            <li><a href="/admin/widgets/forum">Forum</a></li>
                            <li><a href="/admin/widgets/servinfo">Server Info</a></li>
                            <li><a href="/admin/widgets/strongest">Strongest</a></li>
                            <li><a href="/admin/widgets/topguilds">Top Guilds</a></li>
                        </ul>
                    </li>
                    <li><a href=""><i class="icon-tasks"></i>Statistic</a></li>
                    <li><a><i class="icon-user"></i>User Modules</a>
                        <ul class="podmenu">
                            <li><a href="/admin/modules/addstats">Add Stats</a></li>
                            <li><a href="/admin/modules/changeclass">Change Class</a></li>
                            <li><a href="/admin/modules/reset">Reset</a></li>
                            <li><a href="/admin/modules/grandreset">Grand Reset</a></li>
                            <li><a href="/admin/modules/pkclear">PK Clear</a></li>
                            <li><a href="/admin/modules/referral">Referral System</a></li>
                            <li><a href="/admin/modules/vote">Vote System</a></li>
                            <li><a href="/admin/modules/shop">Shop(Smithy)</a></li>
                            <li><a href="/admin/modules/changename">Change Name</a></li>
                            <li><a href="/admin/modules/resetstats">Reset Stats</a></li>
                            <li><a href="/admin/modules/charmarket">Character Market</a></li>
                            <li><a href="/admin/modules/hideinfo">Hide Info</a></li>
                            <li><a href="/admin/modules/resetskilltree">Reset Skill Tree</a></li>
                        </ul>
                    </li>
                    <li><a href="/admin/news"><i class="icon-file-alt"></i>News Manager</a></li>
                    <li><a href="/admin/template"><i class="icon-paste"></i>Templates</a></li>
                    <li>
                        <a href=""><i class="icon-magic"></i>ExTeam Editor</a>
                        <ul class="podmenu">
                            <li><a href="/admin/editor/prisons">Prisons</a></li>
                            <li><a href="/admin/editor/accs">Search Account</a></li>
                        </ul>
                    </li>
                </ul>
            </div>
        </div>
        <div class="content">
          <?php echo $_smarty_tpl->tpl_vars['AdminPage']->value;?>

        </div>
        <div style="clear: both"></div>
    </div>
    <div class="footer"></div>

</div>
</body>
</html><?php }
}
