File size: 5.43Kb
[not-group=5]
<li class="nav-item dropdown active ml-0 ml-md-2 ml-sm-2">
<a class="nav-link" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<i class="far fa-user mr-2"></i> {login} <i class="fa fa-angle-down"></i>
</a>
<div class="dropdown-menu dropdown-menu-right border-0 shadow-sm" aria-labelledby="navbarDropdown">
<div class="dropdown-divider"></div>
[admin-link]
<a class="dropdown-item py-2" target="_blink" href="{admin-link}">
<div class="media">
<i class="fa fa-tools ecn align-self-center mr-3 text-muted"></i>
<div class="media-body" style="line-height: normal;">
<div class="m-0" style="font-weight: 500; font-size: 0.9rem;">Панель управления</div>
<small class="text-muted text-mutedt">настройки сайта</small>
</div>
</div>
</a>
[/admin-link]
<a class="dropdown-item py-2" href="{profile-link}">
<div class="media">
<i class="far fa-user ecn align-self-center mr-3 text-muted"></i>
<div class="media-body" style="line-height: normal;">
<div class="m-0" style="font-weight: 500; font-size: 0.9rem;">Моя страница</div>
<small class="text-muted text-mutedt">персональные данные</small>
</div>
</div>
</a>
<a class="dropdown-item" href="{favorites-link}">
<div class="media">
<i class="far fa-bookmark ecn align-self-center mr-3 text-muted"></i>
<div class="media-body" style="line-height: normal;">
<div class="m-0" style="font-weight: 500; font-size: 0.9rem;">Избранное</div>
<small class="text-muted text-mutedt">в избранных: {favorite-count}</small>
</div>
</div>
</a>
<a class="dropdown-item" href="{pm-link}">
<div class="media">
<i class="fa fa-envelope-open-text ecn align-self-center mr-3 text-muted"></i>
<div class="media-body" style="line-height: normal;">
<div class="m-0" style="font-weight: 500; font-size: 0.9rem;">Уведомления</div>
<small class="text-muted text-mutedt">сообщений: {new-pm} / {all-pm}</small>
</div>
</div>
</a>
<div class="dropdown-divider"></div>
<a class="dropdown-item" href="{logout-link}"><i class="far fa-sign-out text-muted mr-3 ecn"></i>Выйти</a>
</div>
</li>
[/not-group] [group=5]
<li class="nav-item dropdown active">
<a class="btn btn-primary btn-sm px-3" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<div class="d-flex align-items-center">
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-box-arrow-right mr-2" viewBox="0 0 16 16">
<path fill-rule="evenodd" d="M10 12.5a.5.5 0 0 1-.5.5h-8a.5.5 0 0 1-.5-.5v-9a.5.5 0 0 1 .5-.5h8a.5.5 0 0 1 .5.5v2a.5.5 0 0 0 1 0v-2A1.5 1.5 0 0 0 9.5 2h-8A1.5 1.5 0 0 0 0 3.5v9A1.5 1.5 0 0 0 1.5 14h8a1.5 1.5 0 0 0 1.5-1.5v-2a.5.5 0 0 0-1 0v2z"/>
<path fill-rule="evenodd" d="M15.854 8.354a.5.5 0 0 0 0-.708l-3-3a.5.5 0 0 0-.708.708L14.293 7.5H5.5a.5.5 0 0 0 0 1h8.793l-2.147 2.146a.5.5 0 0 0 .708.708l3-3z"/>
</svg>
Авторизация
</div>
</a>
<div class="dropdown-menu dropdown-menu-right" style="min-width: 280px;">
<h6 class="dropdown-header">Войти</h6>
<form class="px-4 py-3" role="form" method="post" action="">
<div class="form-group">
<input class="form-control" style="width: 100%;" type="text" id="inputEmail" name="login_name" placeholder="Логин" />
</div>
<div class="form-group">
<input class="form-control" style="width: 100%;" type="password" id="inputPassword" name="login_password" placeholder="Пароль" />
</div>
<div class="custom-control custom-checkbox mb-4">
<input type="checkbox" value="1" name="login_not_save" class="custom-control-input" id="customCheck1">
<label class="custom-control-label" for="customCheck1">Чужой компьютер</label>
</div>
<button type="submit" class="btn btn-primary btn-block"> Войти</button>
<input class="form-control" name="login" type="hidden" id="login" value="submit" />
</form>
<div class="dropdown-divider"></div>
<a class="dropdown-item" href="/index.php?do=register">Создать аккаунт</a>
<a class="dropdown-item" href="/index.php?do=lostpassword">Восстановить пароль</a>
</div>
</li>
[/group]
<div style="display:none;"><a href="https://topbuksy.ru/">Буксы для заработка</a><a href="https://porodykoshek.ru/">Породы кошек с фотографиями и названиями</a><a href="https://htmltemplates.ru/">HTML шаблоны скачать бесплатно</a><a href="https://porodysobak.ru/">Породы собак с фотографиями и названиями</a></div>