@extends('admin.layouts.master') @section('title', 'All Instructors - Admin') @section('maincontent') @include('admin.layouts.topbar',$data)
{{ __('All Instructors') }}
@foreach($items as $item) {{-- @if(isset($item->image)) @endif --}} @endforeach
{{ __('Instructor Pic') }} {{ __('Instructor Detail') }} {{ __('Status') }} {{ __('Action') }}
@if($image = @file_get_contents('../public/images/user_img/'.$item->user_img)) {{$item->fname}} @else {{$item->fname}} @endif {{$item->fname}} @if($item->status==1) {{ __('Approved') }} @else {{ __('Pending') }} @endif @php $show = App\User::where('id', $item->id)->first(); @endphp @if(isset($show)) @endif
@can(' instructor-pending-request.manage') {{ __('Delete Selected') }} @endcan
@foreach($items as $item) @if($item->status == '0') @endif @endforeach
{{ __('Image') }} {{ __('Name') }} {{ __('Email') }} {{ __('Detail') }} {{ __('Status') }} {{ __('Action') }}
{{$item->fname}} {{$item->email}} {{ str_limit($item->detail, $limit= 50, $end = '...')}} @if($item->status==1) {{ __('Approved') }} @else {{ __('Pending') }} @endif
@endsection @section('scripts') @endsection