@section('title', $playerInfo->name) @section('submenuItem', 'characters') @php $number_of_rows = 0; date_default_timezone_set('America/Sao_Paulo'); @endphp @if($banInfo != null) {!! $formaters->small_box('
Attention Sign This account is banned
') !!}
@endif
Character Information
@if ($formerName) @endif @if(!empty($playerInfo->house)) @endif @if(!empty($playerInfo->guild_membership)) @endif
Former Name: {{ $formerName->name }}
Name: {{ $playerInfo->name }}
Sex: {{ $playerInfo->sex === 0 ? 'Female' : 'Male' }}
Vocation: {{ \App\Utils\Vocation::getNameByVocationId($playerInfo->vocation) }}
Level: {{ $playerInfo->level }}
World: {{ config('server.worlds')[0] }}
Residence: {{ \App\Utils\Town::getTownById($playerInfo->town_id)['name'] }}
House: {{ $playerInfo->house->name }} ({{ \App\Utils\Town::getTownById($playerInfo->house->town_id)['name'] }}) is paid until {{ date('M d, Y', $playerInfo->house->paid) }}
Guild Membership: {{ $playerInfo->guild_membership->ranks->name }} of the {{ $playerInfo->guild_membership->guild->name }} @if(!empty($playerInfo->guild_membership->nick)) ({{$playerInfo->guild_membership->nick}}) @endif
Last Login: @if($playerInfo->lastlogin === 0) Never logged in @else {{ date('M d Y, H:i:s', $playerInfo->lastlogin) }} BRT @endif
Account Status: @if($playerInfo->account->isPremium()) Premium Account @else Free Account @endif
@if(true)

Character Deaths
@foreach($playerInfo->deaths as $death) @php $rowClass = $loop->index % 2 == 0 ? 'Odd' : 'Even'; @endphp @endforeach
{{ date('M d Y, H:i:s', $death->time) }} BRT Killed at Level {{ $death->level }} by @if(!$death->is_player) {{ Str::strWithArticle($death->killed_by) }} @else {{ $death->killed_by }}@if($death->unjustified) (Unjustified) @endif @endif @if($death->killed_by !== $death->mostdamage_by) and by @if(!$death->mostdamage_is_player) {{ Str::strWithArticle($death->mostdamage_by) }} @else {{ $death->mostdamage_by }}@if($death->unjustified) (Unjustified) @endif @endif @endif
@endif @if(!$playerInfo->hidden)

Account Information
Created: @if (!is_null($playerInfo->webaccount) && !is_null($playerInfo->webaccount->created_at)) {{ date('M d Y, H:i:s', strtotime($playerInfo->webaccount->created_at)) }} BRT @else Not found @endif
Position: @if(isset(config('positions')[$playerInfo->account->type])) {{ config('positions')[$playerInfo->account->type]['name'] }} @else Unknown @endif
@endif

@if(!$playerInfo->hidden)
Characters
@foreach($playerInfo->list->where('hidden', '=', false) as $character) @php $rowClass = $loop->index % 2 == 0 ? 'Even' : 'Odd'; @endphp @endforeach
Name World Status  
{{ $loop->iteration }}. {{ $character->name }}@if($character->name === $playerInfo->name)@endif {{ config('server.worlds')[0] }} @if(!is_null($character->online)) online @endif
@endif