[not-group=5]
<a href="{favorites-link}" class="header__favlink fal fa-heart"><span>{favorite-count}</span></a>
<div class="header__login fal fa-chevron-down fa-pull-right js-show-login-panel" style="z-index: 10;">
	<div class="header__login-img img-fixed-size animated-element"><img src="{foto}" title="{login}" alt="{login}" loading="lazy"></div>
	<div class="header__login-login flex-grow-1 ws-nowrap">{login}</div>
	<div class="header__login-panel d-none">
		<div class="header__login-header d-flex ai-center">
			<div class="header__login-avatar img-fixed-size"><img src="{foto}" title="{login}" alt="{login}" ></div>
			<div class="header__login-name">
                {login}
                <div class="header__login-group">{group}</div>
			</div>
		</div>
		<ul class="header__login-menu">
            [admin-link]<li><a href="{admin-link}" class="fal fa-cog" target="_blank">Administrare</a></li>[/admin-link]
			<li><a href="{addnews-link}" class="fal fa-plus-circle">Adaugă Mp3</a></li>
			<li class="header__login-menu-border"><a href="{profile-link}" class="fal fa-cog">Contul meu</a></li>
			<li><a href="{pm-link}" class="fal fa-envelope">Mesaje: <span>({new-pm})</span></a></li>
			<li><a href="{favorites-link}" class="fal fa-heart">Mp3 Favorite <span>({favorite-count})</span></a></li>
			<li class="header__login-menu-border"><a href="{stats-link}" class="fal fa-chart-bar">Statistici</a></li>
			<li><a href="{newposts-link}" class="fal fa-file-alt">Mp3 Noi</a></li>
			<li><a href="/?do=lastcomments" class="fal fa-comments">Comentarii</a></li>
			<li class="header__login-menu-border"><a href="{logout-link}" class="fal fa-sign-out">Deconectare</a></li>
		</ul>
	</div>
</div>
[/not-group]
[group=5]
<div class="login login--not-logged serv d-none">
	<div class="login__header">
		<div class="login__title">Conectare</div>
		<div class="login__caption">Obțineți funcții suplimentare</div>
		<button class="login__close fal fa-times btn-without-bg" aria-label="Închideți panoul de conectare"></button>
	</div>
	<form method="post" class="login__content">
		<div class="login__row fal fa-angle-right serv__links">
			<div class="login__row-caption">Numele dvs. de utilizator: <a href="/?do=register">Nu ai cont? înscrie-te</a></div>
			<div class="login__input"><input type="text" name="login_name" id="login_name" placeholder="utilizator" autocomplete="on"></div>
		</div>
		<div class="login__row fal fa-angle-right serv__links">
			<div class="login__row-caption">Parolă: <a href="{lostpassword-link}">Ați uitat parola??</a></div>
			<div class="login__input"><input type="password" name="login_password" id="login_password" placeholder="parola" autocomplete="on"></div>
		</div>
		<label class="login__row has-checkbox" for="login_not_save">
			<input type="checkbox" name="login_not_save" id="login_not_save" value="0" checked>
			<span>Nu păstrați sesiunea</span>
		</label>
		<div class="login__row">
			<button onclick="submit();" type="submit">Conectare</button>
			<input name="login" type="hidden" id="login" value="submit">
		</div>
		<div class="login__social d-flex jc-center">
			<div class="login__social-caption">Sau conectați-vă prin rețelele sociale</div>
			[vk]<a href="{vk_url}" target="_blank" class="login__social-vk" data-text="Вконтакте"><img loading="lazy" src="{THEME}/images/social/vk.svg" alt=""></a>[/vk]
			[odnoklassniki]<a href="{odnoklassniki_url}" target="_blank" class="login__social-ok" data-text="Одноклассники"><img loading="lazy" src="{THEME}/images/social/ok.svg" alt=""></a>[/odnoklassniki]
			[facebook]<a href="{facebook_url}" target="_blank" class="login__social-fb" data-text="Facebook"><img loading="lazy" src="{THEME}/images/social/fb.svg" alt=""></a>[/facebook]
			[mailru]<a href="{mailru_url}" target="_blank" class="login__social-ml" data-text="MailRu"><img loading="lazy" src="{THEME}/images/social/mail.svg" alt=""></a>[/mailru]
			[google]<a href="{google_url}" target="_blank" class="login__social-gg" data-text="Google"><img loading="lazy" src="{THEME}/images/social/google.svg" alt=""></a>[/google]
			[yandex]<a href="{yandex_url}" target="_blank" class="login__social-ya" data-text="Yandex"><img loading="lazy" src="{THEME}/images/social/yandex.svg" alt=""></a>[/yandex]
		</div>
	</form>
</div>
[/group]