@extends('layouts.admin') @section('page-title','') @section('breadcrumb') @include('admin.partials.crumb',[ 'crumbs'=>[ route('admin.dashboard')=>__('default.dashboard'), '#'=>isset($pageTitle)?$pageTitle:'' ]]) @endsection @section('search-form')
@endsection @section('content') {{ __lang('add-video') }}
{{ formElement($text) }}
{{ formElement($sortSelect) }}


@php if(GLOBAL_ACCESS): @endphp @php endif; @endphp @php foreach ($paginator as $row): @endphp @php if(GLOBAL_ACCESS): @endphp @php endif; @endphp @php endforeach; @endphp
{{ __lang('id') }} {{ __lang('thumbnail') }} {{ __lang('Name') }} {{ __lang('video_driver') }}{{ __lang('Created By') }}{{ __lang('Actions') }}
{{$row->id}} @php $thumb = 'uservideo/'.$row->id.'/'.fileName($row->file_name).'.jpg'; $video = 'uservideo/'.$row->id.'/'.$row->file_name; @endphp @php if(file_exists($thumb)): @endphp {{ $row->name }} @php endif; @endphp @php if(!file_exists($thumb)): @endphp {{ __lang('file-missing') }} @php endif; @endphp {{$row->name}}
{{ __lang('Length') }}
@php if(!empty($row->length)): @endphp {{ $row->length }} @php endif; @endphp
{{ __lang('size') }}
@php if (!empty($row->file_size)): @endphp {{ formatSizeUnits($row->file_size) }} @php endif; @endphp
{{ __lang('type') }}
{{ strtoupper(@pathinfo($row->file_name)['extension']) }}
{{ __lang('Added On') }}
{{ showDate('d/m/Y',$row->created_at) }}
{{ $row->location=='r'?'S3':__lang('local') }} {{adminName($row->admin_id)}}
@php // add at the end of the file after the table echo paginationControl( // the paginator object $paginator, // the scrolling style 'sliding', // the partial to use to render the control null, // the route to link to when a user clicks a control link array( 'route' => 'admin/default', 'controller'=>'video', 'action'=>'index', 'filter'=>$filter, 'sort'=>$sort ) ); @endphp
@endsection