@extends('backEnd.master') @section('title') @lang('downloadCenter.video_list') @endsection @push('css') @endpush @section('mainContent') @lang('downloadCenter.video') @lang('common.dashboard') @lang('downloadCenter.download_center') @lang('downloadCenter.video') @if (auth()->user()->role_id != 2) @lang('common.search') @lang('common.add') {{ Form::open(['class' => 'form-horizontal', 'files' => true, 'route' => 'download-center.video-list-search', 'method' => 'GET', 'enctype' => 'multipart/form-data']) }} @include('backEnd.common.class_section_subject', [ 'div' => 'col-lg-4', 'visiable' => ['class', 'section'], ]) @lang('downloadCenter.title') @lang('common.search') {{ Form::close() }} @endif @lang('downloadCenter.video_list') @foreach ($videos as $video) @php $variable = substr($video->youtube_link, 32, 11); @endphp @if (auth()->user()->role_id != 2) @endif @if (auth()->user()->role_id != 2) @endif {{ $video->title }} {{-- Start Delete Modal --}} @lang('downloadCenter.delete_video') × @lang('common.are_you_sure_to_delete') @lang('common.cancel') @lang('common.delete') {{-- End Delete Modal --}} @endforeach