@extends('frame') @section('title', 'Pages') @section('main-content')
{{ $result['paginate']['sort'] }} Pages
@foreach($result['pages'] as $page) @php $type = ''; $file = ''; isset($page['media'][0]['type']) ? $type = $page['media'][0]['type'] : $type = ''; isset($page['media'][0]['file']) ? $file = $page['media'][0]['file'] : $file = ''; @endphp @if($type =='mp4')
@include('includes.recent-meta')
@else
@include('includes.recent-meta')
@endif @endforeach @if($result['numOfPages'])
{{ $currentPage }} of {{ $result['numOfPages'] }}
@endif
@endsection