2020-06-07 19:04:43 +03:00
|
|
|
|
<!DOCTYPE html>
|
|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
|
|
|
|
|
<head>
|
|
|
|
|
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" />
|
|
|
|
|
<style>
|
|
|
|
|
{var css = file_get_contents(OPENVK_ROOT . "/Web/static/js/node_modules/@atlassian/aui/dist/aui/aui-prototyping.css")}
|
|
|
|
|
{str_replace("fonts/", "/assets/packages/static/openvk/js/node_modules/@atlassian/aui/dist/aui/fonts/", $css)|noescape}
|
|
|
|
|
</style>
|
2022-01-21 19:38:41 +03:00
|
|
|
|
<title>{include title} - Админ-панель {=OPENVK_ROOT_CONF['openvk']['appearance']['name']}</title>
|
2020-06-07 19:04:43 +03:00
|
|
|
|
</head>
|
|
|
|
|
<body>
|
|
|
|
|
<div id="page">
|
|
|
|
|
<header id="header" role="banner">
|
|
|
|
|
<nav class="aui-header aui-dropdown2-trigger-group" role="navigation">
|
|
|
|
|
<div class="aui-header-inner">
|
|
|
|
|
<div class="aui-header-primary">
|
|
|
|
|
<h1 id="logo" class="aui-header-logo aui-header-logo-textonly">
|
|
|
|
|
<a href="/admin">
|
2022-01-21 19:38:41 +03:00
|
|
|
|
<span class="aui-header-logo-device">{=OPENVK_ROOT_CONF['openvk']['appearance']['name']}</span>
|
2020-06-07 19:04:43 +03:00
|
|
|
|
</a>
|
|
|
|
|
</h1>
|
|
|
|
|
</div>
|
|
|
|
|
<div n:if="$search ?? false" class="aui-header-secondary">
|
|
|
|
|
<ul class="aui-nav">
|
|
|
|
|
<form class="aui-quicksearch dont-default-focus ajs-dirty-warning-exempt">
|
|
|
|
|
<input
|
|
|
|
|
id="quickSearchInput"
|
|
|
|
|
autocomplete="off"
|
|
|
|
|
class="search"
|
|
|
|
|
type="text"
|
|
|
|
|
placeholder="{include searchTitle}"
|
|
|
|
|
value="{$_GET['q'] ?? ''}"
|
|
|
|
|
name="q"
|
|
|
|
|
accesskey="Q" />
|
|
|
|
|
<input type="hidden" value=1 name=p />
|
|
|
|
|
</form>
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</nav>
|
|
|
|
|
</header>
|
|
|
|
|
<div class="aui-page-panel">
|
|
|
|
|
<div class="aui-page-panel-inner">
|
|
|
|
|
<div class="aui-page-panel-nav" style="background-color: #fff;">
|
|
|
|
|
<nav class="aui-navgroup aui-navgroup-vertical">
|
|
|
|
|
<div class="aui-navgroup-inner">
|
|
|
|
|
<div class="aui-navgroup-primary">
|
|
|
|
|
<div class="aui-nav-heading">
|
|
|
|
|
<strong>Обзор</strong>
|
|
|
|
|
</div>
|
|
|
|
|
<ul class="aui-nav">
|
|
|
|
|
<li>
|
|
|
|
|
<a href="/admin">
|
|
|
|
|
Сводка
|
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
</ul>
|
|
|
|
|
<div class="aui-nav-heading">
|
|
|
|
|
<strong>Пользовательский контент</strong>
|
|
|
|
|
</div>
|
|
|
|
|
<ul class="aui-nav">
|
|
|
|
|
<li>
|
|
|
|
|
<a href="/admin/users">
|
|
|
|
|
Пользователи
|
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li>
|
|
|
|
|
<a href="/admin/clubs">
|
|
|
|
|
Группы
|
|
|
|
|
</a>
|
|
|
|
|
</li>
|
2021-10-07 11:47:30 +03:00
|
|
|
|
</ul>
|
|
|
|
|
<div class="aui-nav-heading">
|
|
|
|
|
<strong>Платные услуги</strong>
|
|
|
|
|
</div>
|
|
|
|
|
<ul class="aui-nav">
|
2020-06-07 19:04:43 +03:00
|
|
|
|
<li>
|
2021-10-07 11:47:30 +03:00
|
|
|
|
<a href="/admin/vouchers">
|
|
|
|
|
{_vouchers}
|
2020-06-07 19:04:43 +03:00
|
|
|
|
</a>
|
|
|
|
|
</li>
|
2021-10-07 11:48:55 +03:00
|
|
|
|
<li>
|
|
|
|
|
<a href="/admin/gifts">
|
|
|
|
|
Подарки
|
|
|
|
|
</a>
|
|
|
|
|
</li>
|
2020-06-07 19:04:43 +03:00
|
|
|
|
</ul>
|
|
|
|
|
<div class="aui-nav-heading">
|
|
|
|
|
<strong>Настройки</strong>
|
|
|
|
|
</div>
|
|
|
|
|
<ul class="aui-nav">
|
|
|
|
|
<li>
|
|
|
|
|
<a href="/admin/settings/tuning">
|
|
|
|
|
Общие
|
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li>
|
|
|
|
|
<a href="/admin/settings/appearance">
|
|
|
|
|
Внешний вид
|
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li>
|
|
|
|
|
<a href="/admin/settings/security">
|
|
|
|
|
Безопасность
|
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li>
|
|
|
|
|
<a href="/admin/settings/integrations">
|
|
|
|
|
Интеграции
|
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li>
|
|
|
|
|
<a href="/admin/settings/system">
|
|
|
|
|
Система
|
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
</ul>
|
|
|
|
|
<div class="aui-nav-heading">
|
|
|
|
|
<strong>Об OpenVK</strong>
|
|
|
|
|
</div>
|
|
|
|
|
<ul class="aui-nav">
|
|
|
|
|
<li>
|
|
|
|
|
<a href="/about:openvk">
|
|
|
|
|
Версия
|
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</nav>
|
|
|
|
|
</div>
|
|
|
|
|
<section class="aui-page-panel-content">
|
2021-10-07 11:48:55 +03:00
|
|
|
|
{ifset $flashMessage}
|
|
|
|
|
{var type = ["err" => "error", "warn" => "warning", "info" => "basic", "succ" => "success"][$flashMessage->type]}
|
|
|
|
|
<div class="aui-message aui-message-{$type}" style="margin-bottom: 15px;">
|
|
|
|
|
<p class="title">
|
|
|
|
|
<strong>{$flashMessage->title}</strong>
|
|
|
|
|
</p>
|
|
|
|
|
<p>{$flashMessage->msg|noescape}</p>
|
|
|
|
|
</div>
|
|
|
|
|
{/ifset}
|
|
|
|
|
|
2021-10-12 12:15:55 +03:00
|
|
|
|
{ifset preHeader}
|
|
|
|
|
{include preHeader}
|
|
|
|
|
{/ifset}
|
|
|
|
|
|
2020-06-07 19:04:43 +03:00
|
|
|
|
<header class="aui-page-header">
|
|
|
|
|
<div class="aui-page-header-inner">
|
|
|
|
|
<div class="aui-page-header-main">
|
2021-10-07 11:48:55 +03:00
|
|
|
|
{ifset headingWrap}
|
|
|
|
|
{include headingWrap}
|
|
|
|
|
{else}
|
|
|
|
|
<h1>{include heading}</h1>
|
|
|
|
|
{/ifset}
|
2020-06-07 19:04:43 +03:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</header>
|
|
|
|
|
<main>
|
|
|
|
|
{include content}
|
|
|
|
|
</main>
|
|
|
|
|
</section>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<footer id="footer" role="contentinfo">
|
|
|
|
|
<section class="footer-body">
|
2022-01-21 19:45:27 +03:00
|
|
|
|
OpenVK <a href="/about:openvk">{php echo OPENVK_VERSION}</a> | PHP: {phpversion()} | DB: {\Chandler\Database\DatabaseConnection::i()->getConnection()->getPdo()->getAttribute(\PDO::ATTR_SERVER_VERSION)}
|
2020-06-07 19:04:43 +03:00
|
|
|
|
</section>
|
|
|
|
|
</footer>
|
|
|
|
|
</div>
|
2021-10-07 11:47:30 +03:00
|
|
|
|
|
|
|
|
|
{script "js/node_modules/jquery/dist/jquery.min.js"}
|
|
|
|
|
{script "js/node_modules/@atlassian/aui/dist/aui/aui-prototyping.js"}
|
|
|
|
|
<script>AJS.tabs.setup();</script>
|
2021-10-07 11:48:55 +03:00
|
|
|
|
|
|
|
|
|
{ifset scripts}
|
|
|
|
|
{include scripts}
|
|
|
|
|
{/ifset}
|
2020-06-07 19:04:43 +03:00
|
|
|
|
</body>
|
|
|
|
|
</html>
|