@foreach ($eventList as $listdata) @if($listdata['banners'] && count($listdata['banners']) > 0) @if($listdata['banners'][0] != null || $listdata['banners'][1] != null) @endif @else @endif @endforeach