Recent

@if($result['entryCount'] != 0) @foreach($result['pages'] as $page) @php $type = ''; $file = ''; if(isset($page['media'][0]['type'])) { $type = $page['media'][0]['type']; } if(isset($page['media'][0]['file'])) { $file = $page['media'][0]['file']; } @endphp @if($type =='mp4') @include('includes.recent-meta') @else @include('includes.recent-meta') @endif @endforeach @endif