<html lang="ru">
<head>
<title>Информация о пользователе</title>
<link type="text/css" rel="stylesheet" href="/_st/my.css" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="theme-color" content="#234770">
<link rel="preload" href="/css/common.css" as="style">
<link rel="preload" href="/css/styles.css" as="style">
<link rel="preload" href="/css/engine.css" as="style">
<link rel="preload" href="/css/fontawesome.css" as="style">
<link rel="preload" href="/webfonts/manrope-400.woff2" as="font" type="font/woff2" crossorigin>
<link rel="preload" href="/webfonts/manrope-600.woff2" as="font" type="font/woff2" crossorigin>
<link rel="preload" href="/webfonts/manrope-700.woff2" as="font" type="font/woff2" crossorigin>
<link rel="preload" href="/webfonts/fa-light-300.woff2" as="font" type="font/woff2" crossorigin>
<link rel="shortcut icon" href="/images/favicon.svg">
</head>

<body class="dt-is-active1">
<script>
function switchLight() {
if (localStorage.getItem('theme') === 'dark') {
document.querySelector('body').classList.add('dt-is-active');
} else {
document.querySelector('body').classList.remove('dt-is-active');
};
};
switchLight();
</script>

<div class="wrapper">
<div class="wrapper__container wrapper__main">
 
<header class="header d-flex ai-center vw100">
$GLOBAL_AHEADER$
</header> <!-- END HEADER -->

<main class="content">
<div class="sect sect--white d-grid-items d-grid-items-5">
<!-- <body> -->
<div class="us us--page serv">
<div class="us__one">
<h1 class="us__name"><span>Пользователь:</span> $_USERNAME$</h1>
<?if($_STATUS$ || $_IS_OWN_PROFILE$)?><div class="us__status d-flex ai-center<?if($_IS_OWN_PROFILE$)?> on<?endif?>"><?if($_IS_OWN_PROFILE$)?>Онлайн<?else?>Не в сети<?endif?></div><?endif?>
<div class="us__img img-fixed-size"><img src="<?if($_AVATAR_URL$)?>$_AVATAR_URL$<?else?>/dleimages/noavatar.png<?endif?>" alt=""/></div>
</div>

<div class="us__two d-flex ai-center">
<div class="us__info">
<span class="us__info-desc">$_LOAD_ENTRIES$</span>
<span class="us__info-caption">Публикаций</span>
</div>

<div class="us__info">
<span class="us__info-desc">$_COM_ENTRIES$</span>
<span class="us__info-caption">Комментариев</span>
</div>

<div class="us__btn d-flex flex-grow-1 jc-flex-end" style="gap: 10px;">
<?if($_PM_SEND_URL$)?><a href="$_PM_SEND_URL$" title="Отправить личное сообщение">Отправить ЛС</a><?endif?>
<?if($MODER_PANEL$)?>
<div class="usp__btn"><a href="mailto:$_EMAIL$">Отправить Email</a></div>
<?else?>
<?if($_SEND_EMAIL_URL$)?>
<div class="usp__btn"><a href="$_SEND_EMAIL_URL$">Отправить Email</a></div>
<?endif?>
<?endif?>
</div>
</div>

<div class="us__three">
<ul class="us__list serv__links">
<li><span>Регистрация:</span> $_REG_TIME$</li>
<li><span>Заходил(а):</span> $_LOG_TIME$</li>
<li><span>Полное имя:</span> <?if($_NAME$)?>$_NAME$<?else?>Не указано<?endif?></li>
<li><span>Место жительства:</span> <?if($_COUNTRY$)?>$_COUNTRY$<?else?><?if($_STATE$)?>$_STATE$<?else?><?if($_CITY$)?>$_CITY$<?endif?><?endif?><?endif?></li>
<li><span>Подпись:</span> <?if($_SIGNATURE$)?>$_SIGNATURE$<?else?>Не указана<?endif?></li>
<li><span>Группа:</span> <?if($_GROUP_NAME$='Администраторы')?><b style="color: red;">$_GROUP_NAME$</b><?else?>$_GROUP_NAME$<?endif?></li>
<li class="d-flex" style="gap: 0px 10px;"><span>Публикаций:</span><span>$_LOAD_ENTRIES$</span><?if($_LOAD_ENTRIES$)?><a href="$_LOAD_ACTIVITY_URL$">Просмотреть все публикации</a><?else?>Просмотреть все публикации<?endif?></li>
<li class="d-flex" style="gap: 0px 10px;"><span>Комментариев:</span><span>$_COM_ENTRIES$</span><?if($_COM_ENTRIES$)?><a href="$_COM_ACTIVITY_URL$">Последние комментарии</a><?else?>Последние комментарии<?endif?></li>
</ul>

<?if($_CHANGE_DETAILS_URL$)?><a href="$_CHANGE_DETAILS_URL$" class="btn" style="margin-top: 20px; height: 30px; width: 200px;">редактировать</a><?endif?>
</div>
</div>
<!-- </body> -->
</div>
</main> <!-- END CONTENT -->

<footer class="footer vw100">
$GLOBAL_BFOOTER$
</footer> <!-- END FOOTER -->

</div> <!-- END WRAPPER-MAIN -->
</div> <!-- END WRAPPER -->
 
 
<?if($USER_LOGGED_IN$)?>
<?else?>
<div class="login login--not-logged serv d-none">
<div class="login__header">
<div class="login__title">Авторизация</div>
<div class="login__caption">Получите дополнительные возможности</div>
<button class="login__close fal fa-times btn-without-bg" aria-label="Закрыть панель авторизации"></button>
</div>
$LOGIN_FORM$
</div>
<?endif?>

<script src="/js/libs.js"></script>
<script src="/js/owl-carousel.js"></script>
</body>
</html>