<!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">
    <script type="text/javascript" src="http://ajax.aspnetcdn.com/ajax/jquery/jquery-2.1.4.min.js"></script>
    <script src="/web/templates/default/admin/js/script.js"></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">{WriteAdmin::CountMessages()}</span></li>
                {*<li><a href="">Ещё что-то</a><span class="top-nav-count">19</span></li>*}
            </ul>
        </div>
        <div class="autor">
            {if $CountDB > 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();">
                            {for $num_db=0 to $CountDB-1 max=5}
                                {if $DbInAdmin == $num_db}
                                <option value="{$num_db}" selected="selected">{$NamesDB[$num_db]}</option>
                                {else}
                                <option value="{$num_db}">{$NamesDB[$num_db]}</option>
                                {/if}
                            {/for}
                        </select>
                    </form>
                </div>
            {/if}
        </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">
          {$AdminPage}
        </div>
        <div style="clear: both"></div>
    </div>
    <div class="footer"></div>

</div>
</body>
</html>