File size: 922B
- @if ($user = getUser())
- <i class="fa fa-user-circle fa-lg"></i> <a href="/users/{{ $user->login }}">{{ $user->getName() }}</a> •
-
- @if (isAdmin())
- <a href="/admin">{{ __('index.panel') }}</a> •
- @if (statsSpam() > 0)
- <a href="/admin/spam"><span style="color:#ff0000">{{ __('index.complains') }}</span></a> •
- @endif
-
- @if ($user->newchat < statsNewChat())
- <a href="/admin/chats"><span style="color:#ff0000">{{ __('index.chat') }}</span></a> •
- @endif
- @endif
- <a href="/menu">{{ __('index.menu') }}</a> •
- <a href="/logout?_token={{ csrf_token() }}" onclick="return logout(this)">{{ __('index.logout') }}</a>
- @else
- <i class="fa fa-lock fa-lg"></i> <a href="/login{{ returnUrl() }}" rel="nofollow">{{ __('index.login') }}</a> •
- <a href="/register" rel="nofollow">{{ __('index.register') }}</a>
- @endif