[not-group=5]
<div class="dropdown-menu dropdown-menu-right">
	[admin-link]<a style="border-top-left-radius: 0;border-top-right-radius: 0;" class="dropdown-item" href="{admin-link}" target="_blank"><span class="fc icn2 icon-energy gp2"></span> Панель управления</a>[/admin-link]
    <a class="dropdown-item" href="{addnews-link}"><span class="fc icn2 icon-note gp2"></span> Добавить игру</a>
    <a class="dropdown-item" href="/index.php?do=addnews&category=9"><span class="fc icn2 icon-notebook gp2"></span> Добавить новость</a>
	<a class="dropdown-item" href="{profile-link}"><span class="fc icn2 icon-user gp2"></span> Моя страница </a>
    <a class="dropdown-item" href="{favorites-link}"><span class="fc icn2 icon-pin gp2"></span> Закладки</a>
    <a class="dropdown-item" href="{pm-link}"><span class="fc icn2 icon-envelope gp2"></span> Сообщения <span style="font-size: 11px;" >({new-pm} | {all-pm})</span></a>
    <div class="dropdown-divider"></div>
    <a class="dropdown-item" href="{logout-link}" style="color: #737996;"><span class="icn2 icon-close gp2" style="color: #FC6E51;"></span> Выйти</a>
  </div>
[/not-group]
[group=5]																												
<div class="dropdown-menu dropdown-menu-right">
  <form class="px-4 py-3" role="form" method="post" action="">
    <div class="form-group">
      <label for="inputEmail">Логин</label>
      <input class="form-control" type="text" id="inputEmail" name="login_name" />
    </div>
    <div class="form-group">
      <label for="inputPassword">Пароль</label>
      <input class="form-control" style="width: 100%;" type="password" id="inputPassword" name="login_password" />
    </div>

    <label for="checkbox1" class="custom-control custom-checkbox" style="margin-bottom: 15px;">
  		<input id="checkbox1" type="checkbox" value="1" name="login_not_save" class="custom-control-input">
  		<span class="custom-control-indicator"></span>
  		<span class="custom-control-description">Чужой компьютер</span>
	</label>

    <button type="submit" class="btn btn-primary">Войти</button>
    <input class="form-control" name="login" type="hidden" id="login" value="submit" />
  </form>
  <div class="dropdown-divider"></div>
  <a class="dropdown-item" href="{lostpassword-link}">Забыл пароль?</a>
  <a class="dropdown-item" href="{registration-link}">Регистрация</a>
</div>
[/group]