-
@if(env('NOTIFY_UPDATES') === true)
@if(file_exists(base_path("version.json")) and $ServerExists == 'true')
@if(auth()->user()->role == 'admin' and $Vgit > $Vlocal)
An update is available
@endif
@endif
@endif
Watch Page
@if(env('NOTIFY_EVENTS') === true and $EventServerExists == 'true')
@if(auth()->user()->role == 'admin' and strtotime(date("d-m-Y")) < strtotime($EventJson['enddate']))
@if(isset($_COOKIE['HideEvent']) and $_COOKIE['HideEvent'] != $EventJson['id'])
@endif
@endif
@if(env('NOTIFY_EVENTS') === false and auth()->user()->role == 'admin')
@endif
@endif
@yield('content')