@extends('layouts.admin', [ 'title' => "User: {$user->username}" ]) @section('content')

Thumbnail

User Info

@if (staffUser()->staff('can_view_user_emails'))
Email
{{ $user->email }}
@endif
Verified Email
{{ ($user->hasVerifiedEmail()) ? 'Yes' : 'No' }}
@if (!in_array($user->id, [1, 2]))
Last IP:
{{ $user->lastIP() }}
@endif
Join Date
{{ $user->created_at->format('M d, Y') }}
Last Seen
{{ $user->updated_at->format('M d, Y') }}
Forum Posts
{{ number_format($user->forumPostCount()) }}
Currency
{{ number_format($user->currency) }}
Money Spent
${{ number_format($user->moneySpent()) }}
@if ($user->hasMembership())
Membership Until
{{ $user->membership_until }}
@endif
Is Online
{{ ($user->online()) ? 'Yes' : 'No' }}
Is Staff
{{ ($user->isStaff()) ? 'Yes' : 'No' }}
Status
@if ($user->isBanned()) BANNED @elseif (!$user->hasVerifiedEmail()) EMAIL NOT VERIFIED @else OK @endif

Settings

Accepts Messages
{{ ($user->setting->accepts_messages) ? 'Yes' : 'No' }}
Accepts Friends
{{ ($user->setting->accepts_friends) ? 'Yes' : 'No' }}
Accepts Trades
{{ ($user->setting->accepts_trades) ? 'Yes' : 'No' }}
Public Inventory
{{ ($user->setting->public_inventory) ? 'Yes' : 'No' }}
Two Step Enabled
{{ ($user->setting->two_step_enabled) ? 'Yes' : 'No' }}
Theme
{{ ucfirst(str_replace(' ', '', $user->setting->theme)) }}
@csrf @if (staffUser()->staff('can_ban_users') || staffUser()->staff('can_reset_passwords') || staffUser()->staff('can_edit_user_info'))

Account Actions

@if (staffUser()->staff('can_ban_users')) @if (!$user->isBanned()) Ban @endif @endif @if (staffUser()->staff('can_unban_users')) @if ($user->isBanned()) @endif @endif @if (staffUser()->staff('can_ip_ban_users')) @if (!$ipBanned) @endif @endif @if (staffUser()->staff('can_ip_unban_users')) @if ($ipBanned) @endif @endif @if (staffUser()->staff('can_reset_user_passwords')) @endif @if (staffUser()->staff('can_edit_user_info')) @if ($user->hasMembership()) @endif
@endif
@endif @if (staffUser()->staff('can_give_currency') || Auth::user('can_take_currency') || Auth::user('can_give_items') || Auth::user('can_take_items'))

Economy Actions

@if (staffUser()->staff('can_give_currency') || Auth::user('can_take_currency')) Manage Currency @endif @if (staffUser()->staff('can_give_items') || Auth::user('can_take_items')) Manage Inventory @endif
@endif @if (staffUser()->staff('can_render_thumbnails'))

Avatar Actions

@endif
@endsection