@extends('template') @section('content')

Player {{ $player->username }} on {{ $db }}

@if ($player->login_date) {{ $player->username }} @endif

Status: @if ($player->online == 1) Online @else Offline @endif

Player ID: {{ $player->id }}

Username: {{ $player->username }}

@if(Gate::allows('admin', Auth::user()))

Email: {{ $player->email ?? "None" }}

@endif

Creation Date: {{ \Illuminate\Support\Carbon::createFromTimestamp($player->creation_date)->format("Y-m-d H:i:s") }}

Login Date: {{ \Illuminate\Support\Carbon::createFromTimestamp($player->login_date)->format("Y-m-d H:i:s") }}

Last Online: @if ($player->login_date) {{ Carbon\Carbon::parse($player->login_date)->diffForHumans() }} @else Never @endif

@if(Gate::allows('admin', Auth::user()))

Creation IP: {{ $player->creation_ip }}

@endif @if(Gate::allows('admin', Auth::user()))

Login IP: {{ $player->login_ip }}

@endif

Combat Level: {{ $player->combat }}

Total Level: {{ $player->skill_total }}

Quest Points: {{ $player->quest_points }}

Kills: {{ $player->kills }}

Deaths: {{ $player->deaths }}

Muted: @if(((int)$player->muted) === -1) Permanently @elseif(((int)$player->muted) > 0) {{ Carbon\Carbon::now()->subSeconds($player->muted)->diffForHumans() }} @else No @endif

Banned: @if(((int)$player->banned) === -1) Permanently @elseif(((int)$player->banned) > 0) {{ Carbon\Carbon::now()->subSeconds($player->banned)->diffForHumans() }} @else No @endif

@endsection @section('scripts') @endsection