@extends('layouts.app') @section('content')

{{ __('app/highscore.title') }}


@csrf {{-- Temporarily disabled until multi-server support is implemented; added guild leader instead
--}}
@if ($highscore->isEmpty())
{{ __("app/highscore.no-results") }}
@else @if ($highscore->lastPage() > 1) @endif
@foreach ($highscore as $entry) $entry->id == 1, "zebra" => $loop->odd])> @endforeach
{{ __("app/highscore.header.rank") }} {{ __("app/highscore.header.guild-name") }} {{ __("app/highscore.header.guild-leader") }} {{ __("app/highscore.header.empire") }} {{ __("app/highscore.header.level") }} {{ __("app/highscore.header.guild-points") }}
$loop->odd, "guildrank-td-2-1" => $loop->even])> {{ $entry->id }} $loop->odd, "guildrank-td-2-2" => $loop->even])> {{ $entry->name }} $loop->odd, "guildrank-td-2-3" => $loop->even])> {{ $entry->master }} $loop->odd, "guildrank-td-2-4" => $loop->even])> @if ($entry->empire == \App\Models\Enums\EmpireEnum::SHINSOO) {{ $entry->empire->longName() }} @elseif ($entry->empire == \App\Models\Enums\EmpireEnum::CHUNJO) {{ $entry->empire->longName() }} @elseif ($entry->empire == \App\Models\Enums\EmpireEnum::JINNO) {{ $entry->empire->longName() }} @endif $loop->odd, "guildrank-td-2-5" => $loop->even])> {{ $entry->level }} $loop->odd, "guildrank-td-2-6" => $loop->even])> {{ $entry->ladder_point }}
@if ($highscore->lastPage() > 1) @endif
{{ __('app/highscore.update-time') }} {{ $highscore->max('date')->translatedFormat('d F Y H:i:s') }}
@endif
 
@endsection