@extends('BackEnd.Layouts.main') @section('title') {{ __('messages.View BreakingNews') }} @endsection @section('content')
@include('BackEnd.Layouts.breadcrumb') @if(session('success'))
{{session("success")}}
@endif @if(session('error'))
{{ session('error') }}
@endif
@include('BackEnd.Layouts.tableheader')
{{-- --}} {{-- @ability(['admin','super_admin'],['']) --}} {{-- @endability --}} @foreach ($breakingnews as $news) @if ($news->url=='#') @else @endif {{-- --}} {{-- @ability(['admin','super_admin'],['']) --}} {{-- @endability --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} @endforeach
م نص الخبرمدة العرض{{ __('messages.STATUS') }}{{ __('messages.PUBLISHED_DATE') }} الناشر {{ __('messages.CONTROL') }}
{{ $loop->iteration }}{{ $news->name }}{{ $news->name }}{{ $news->period }} {{ $news->period<11?'دقائق':'دقيقة' }}{{ $news->publish_end->format('Y') }}{{ $news->publish_end->setTimezone(auth()->user()->timezone)->format('d M Y H:iA') }}{{ date('Y-M-d', strtotime($news->publish_end)) }} {{ $news->created_at->toDateString() }}
{{ $news->created_at->format('h:iA') }}
{{ $news->publish_end->setTimezone('America/New_York') }}{{ DateTime::createFromFormat('d/m/y H:i', $news->published_at, new DateTimeZone('Europe/Athens')); }}{{ $news->getUser->name??'' }} @endif @endability
{{ $breakingnews->links() }}
@endsection @push('plugin_js') {{-- --}} @endpush @push('custom_js') {{-- --}} @endpush @push('is_active_ajax') @endpush