@extends('cfp.layouts.master') @section('content')

{{ __("cfp.CharacterDetails") }}: {{ $char->NICK }} (USN: {{ $char->USN }})

{{ __("cfp.CharacterInfo") }}

@if ($user_data->AUTHORITY_LEV >= 3) @endif @if ($char->CONNECT_DENY_UDATE != 0 && $char->HOLD_TYPE != 'A') @else @endif @if ($char->CHAT_DENY_UDATE != 0) @else @endif
{{ __("cfp.CharacterLevel") }} rank addMinute(), ["alpha" => "level"]) }}" data-title="{{ __("cfp.NewLevel") }}" data-placeholder="{{ __("cfp.SelectLevel") }} ..." data-input="select" data-select="true" data-options-url="{{ route("cfp.api.getCharLevels") }}" data-checkbox="true" data-html=" {{ __("cfp.ChangeLevelEquivalent") }}" data-usn="{{ $char->USN }}">Change
{{ __("cfp.PlayerNick") }} {{ $char->NICK }} addMinute(), ["alpha" => "nick"]) }}" data-title="Qual o novo nick?" data-placeholder="{{ __("cfp.NewNick") }} ..." data-input="text" data-usn="{{ $char->USN }}">{{ __("cfp.Edit") }}
{{ __("cfp.PlayerAuthority") }} {{ Helper::web_getCharAuthority($char->AUTHORITY) }} addMinute(), ["alpha" => "authority"]) }}" data-title="{{ __("cfp.SelectAuthority") }}" data-placeholder="{{ __("cfp.SelectAuthority") }} ..." data-input="select" data-select="true" data-options-url="{{ route("cfp.api.getCharAuthority") }}" data-usn="{{ $char->USN }}">Change
{{ __("cfp.GP") }} {{ number_format($char->GAME_POINT) }} {{ __("cfp.GP") }}
{{ __("cfp.EXP") }} {{ number_format($char->EXP) }} {{ __("cfp.EXP") }}
{{ __("cfp.Banned") }} {{ __("cfp.Yes") }} "remove", "id" => $char->member->USN]) }}" class="btn btn-block btn-sm btn-danger">{{ __("cfp.Remove") }} {{ __("cfp.No") }}
{{ __("cfp.BlockChat") }} {{ __("cfp.Yes") }} "remove", "id" => $char->member->USN]) }}" class="btn btn-block btn-sm btn-danger">{{ __("cfp.Remove") }} {{ __("cfp.No") }}

{{ __("cfp.AccountInformation") }}

{{ __("cfp.PlayerUser") }} member->USN) }}" class="tp" data-tippy-content="{{ __("cfp.ViewAccountDetails") }}">{{ $char->member->USER_ID }}
{{ __("cfp.PlayerAuthority") }} {!! Helper::web_getAuthorityLev($char->member->AUTHORITY_LEV, true) !!}
{{ __("cfp.LastPlayDate") }} {{ Helper::date_stringFormat($char->LAST_PLAY_DATE) }}
{{ __("cfp.RegisterDate") }} {{ Helper::date_stringFormat($char->REG_DATE) }}

{{ __("cfp.CharStats") }}

ZP {{ __("cfp.Actual") }} ZP {{ __("cfp.Bought") }} ZP {{ __("cfp.Gained") }} (BONUS) {{ __("cfp.TotalZP") }} {{ __("cfp.TotalSpent") }}
{{ number_format($ZP->CurrZP) }} ZP {{ number_format($ZP->ZPBougth) }} ZP {{ number_format($ZP->ZPEarned) }} ZP {{ number_format($ZP->TotalZP) }} ZP {{ number_format($ZP->TotalSpentZP) }} ZP
{{ __("user.Kills") }} {{ __("user.Deaths") }} {{ __("user.KD") }} {{ __("user.Headshot") }} {{ __("user.Rifle") }} {{ __("user.Sniper") }} {{ __("user.SMG") }} {{ __("user.Shotgun") }} {{ __("user.MG") }} {{ __("user.Pistol") }} {{ __("user.Knife") }}
{{ $char->profile->ENEMY_KILL_CNT }} {{ $char->profile->DEATH_CNT }} {{ \Helper::math_DivisionByZero($char->profile->ENEMY_KILL_CNT, $char->profile->DEATH_CNT, true) }} {{ $char->profile->HEADSHOT_KILL_CNT }} {{ $char->profile->RIFLE_KILL }} {{ $char->profile->SHOT_KILL }} {{ $char->profile->SMG_KILL }} {{ $char->profile->SHOTGUN_KILL }} {{ $char->profile->HEAVY_KILL }} {{ $char->profile->PISTOL_KILL }} {{ $char->profile->KNIFE_KILL }}
{{ __("user.Wins") }} {{ __("user.Loses") }} {{ __("user.WinLoseRatio") }} {{ __("user.Draws") }} {{ __("user.Leave") }}
{{ $char->profile->WIN_CNT }} {{ $char->profile->LOSE_CNT }} {{ \Helper::math_DivisionByZero($char->profile->WIN_CNT, $char->profile->LOSE_CNT, true) }} {{ $char->profile->DRAW_CNT }} {{ $char->profile->ESCAPE_CNT }}

{{ __("user.Last5Play") }}

@forelse ($char->plays as $play) @empty @endforelse
# {{ __("user.Mode") }} {{ __("user.Map") }} {{ __("user.Kills") }} {{ __("user.Deaths") }} {{ __("user.Assists") }} {{ __("user.KD") }}
{{ $play->TX_SRL }} @if ($play->match->mode) @if ($play->match->mode->TYPE == 0) @elseif ($play->match->mode->TYPE == 1) @elseif ($play->match->mode->TYPE == 2) @endif @endif @if ($play->match->mode) {{ $play->match->mode->NAME }} @else Desconhecido @endif @if ($play->match->map) {{ $play->match->map->MAP_NAME }} @else Desconhecido @endif {{ $play->KILL }} {{ $play->DEATH }} {{ $play->ASSIST }} @if ($play->DEATH > $play->KILL) {{ \Helper::math_DivisionByZero($play->KILL, $play->DEATH, true) }} @else {{ \Helper::math_DivisionByZero($play->KILL, $play->DEATH, true) }} @endif @if ($play->WIN == 1) @elseif ($play->LOSE == 1) @elseif ($play->LOSE == 0 && $play->WIN == 0) @endif
{{ __("user.NoGames") }}
@endsection