@extends('layouts.ranking', ["data" => $data]) @section('table')
@php $i = $data->currentPage() == 0 ? 0 : ($data->currentPage() * $data->perPage()) - $data->perPage(); @endphp @foreach ($data as $user) @php $i++ @endphp @endforeach
# {{ __("ranking.Elo") }} {{ __("ranking.Rank") }} {{ __("ranking.Nick") }} {{ __("ranking.Exp") }} {{ __("ranking.Clan") }} {{ __("ranking.KD") }} {{ __("ranking.WL") }}
{{ $i }} @if ($user->medal != null) medal->GRADE . "_" . $user->medal->MIN_SCORE . ".png") }}" width="54" height="54" class="img-fluid" alt="rank" data-tippy="{{ Helper::game_getRankedTitle($user->medal->MIN_SCORE) }} em {{ Helper::game_getRankedMode($user->medal->RANK_MODE_INDEX) }}" data-tippy-arrow="true"> @else rank @endif rank $user->USN]) }}">{{ $user->NICK }} {{ number_format($user->EXP) }} EXP @if (!is_null($user->clan)) clan->ClanKey) }}">{{ $user->clan->clan->detail->Clanname }} @else {{ __("ranking.WithoutClan") }} @endif @if ($user->profile->ENEMY_KILL_CNT < $user->profile->DEATH_CNT) {{ $user->profile->ENEMY_KILL_CNT . '/' . $user->profile->DEATH_CNT . " (" . \Helper::math_DivisionByZero($user->profile->ENEMY_KILL_CNT, $user->profile->DEATH_CNT, true) . ")" }} @else {{ $user->profile->ENEMY_KILL_CNT . '/' . $user->profile->DEATH_CNT . " (" . \Helper::math_DivisionByZero($user->profile->ENEMY_KILL_CNT, $user->profile->DEATH_CNT, true) . ")" }} @endif @if ($user->profile->WIN_CNT < $user->profile->LOSE_CNT) {{ $user->profile->WIN_CNT . '/' . $user->profile->LOSE_CNT . ' (' . \Helper::math_DivisionByZero($user->profile->WIN_CNT, $user->profile->LOSE_CNT, true) . ')' }} @else {{ $user->profile->WIN_CNT . '/' . $user->profile->LOSE_CNT . ' (' . \Helper::math_DivisionByZero($user->profile->WIN_CNT, $user->profile->LOSE_CNT, true) . ')' }} @endif
@endsection