@extends('layouts.master') @section('background-image', 'assets/images/bg-2020.png') @section('bg-y', '-420px') @section('content')
@include("components.error-alert")

@if (!isset($user_data)) {{ __("index._messages.welcome", ["GAME" => strtoupper(config("app.name"))]) }} {!! __("index._messages.registerHere", ["HERE" => "HERE"]) !!} @else

{{ __("index._messages.welcome", ["GAME" => strtoupper(config("app.name"))]) }}

@endif
{{--
Download Game --}}

{{ __("index.latestNews") }}

{{ __("index.seeAllNews") }}

@forelse ($news as $item)

@if (!is_null($item->NOTICE_TAG)) {!! Helper::web_getNoticeTag($item->NOTICE_TAG) !!} @endif @if (in_array(request()->server("HTTP_CF_IPCOUNTRY"), ["EG", "SA"]) || app()->getLocale() == "ar") {{ $item->TITLE_ARABIC }} @else {{ $item->NOTICE_TITLE }} @endif

{!! str_replace(["
", "
", "

", "

"], ' ', $item->NOTICE_TEXT) !!}

@empty {{ __("index.noNewsFound") }}
@endforelse
{{ __("index.infosUpdateAlert") }} {{ __("common._dayTime.everyDay") }} {{ __("common.at") }} {{ __("common._dayTime.midNight") }}.

{{ __("index.topFiveRankedSD") }}

@forelse ($topfive_ranked as $user) @if (is_null($user->user)) @continue @endif @empty @endforelse
CrossFire NICK SCORE
{{ $loop->index + 1 }} rank {{ $user->user->NICK }} {{ number_format($user->RANK_SCORE) }}
{{ __("common.noPlayersFound") }}
{{--
--}}

{{ __("index.topFivePlayers") }}

@forelse ($topfive as $user) @empty @endforelse
CrossFire NICK EXP
{{ $loop->index + 1 }} rank {{ $user->NICK }} {{ number_format($user->EXP) }}
{{ __("common.noPlayersFound") }}
@endsection