@extends('website.layouts.master') @section('title', $website->title($page)) @section('pagecss') @section('content') @include('website.layouts.title')
@if(isset($_GET['s'])) @php($news = $website->news(null, $_GET['s'])) @else @php($news = $website->news()) @endif @if(count($news) > 0) @php($otherLanguage = 'ar') @if(app()->getLocale()!="en") @php($otherLanguage = 'en') @endif @foreach($news as $item) @php($orgItem = $item) @if(empty($item->title)) @php($item = $item->getLocale($otherLanguage)) @endif
@php($imageSrc = $item->getFirstImage()) @if($imageSrc) image @else image @endif
{{ $item->locale->title }}

{{ str_limit($item->locale->description, 80, ' ...') }}

@endforeach
{{ $news->links('website.components.pagination') }}
@else


@lang('tr.No Results')

@endif
@endsection @section('pagejs') @endsection