@extends('theme2.master') @section('title','allinstructor/view') @section('content') @include('admin.message') @php $gets = App\Breadcum::first(); @endphp @if(isset($gets)) @if($gets['img'] !== NULL && $gets['img'] !== '') @endif @endif
{{__('Our Teacher')}}

{{__(' Our Expert Teacher')}}

@if(isset($instructors))
an-img-01
contact-bg-an-01
@foreach($instructors as $inst)
@if($inst['user_img'] !== NULL && $inst['user_img'] !== '') img @else @endif

{{ $inst->fname }} {{ $inst->lname }}

{{__('CEO & Founder')}}

{{--

Ella Thompson

Kids Teacher

--}} {{--

Vincent Cooper

Kids Teacher

--}} {{--

Danielle Bryant

Kids Teacher

--}} @endforeach
@endif
img
img
img
img
img
@endsection {{-- @if(isset($gets))
@if($gets['img'] !== NULL && $gets['img'] !== '') @else {{ __('course')}} @endif

{{ __('All Instructors') }}

@endif --}} {{-- @if(isset($instructors))
@foreach($instructors as $inst)
@if($inst['user_img'] !== NULL && $inst['user_img'] !== '') @else course @endif

{{ $inst->fname }} {{ $inst->lname }}

{{ $inst->role }}

@php $followers = App\Followers::where('user_id', '!=', $inst->id)->where('follower_id', $inst->id)->count(); $followings = App\Followers::where('user_id', $inst->id)->where('follower_id','!=', $inst->id)->count(); $course = App\Course::where('user_id', $inst->id)->count(); @endphp
  • {{ $course }} {{ __('Courses') }}
  • {{ $followers }} {{ __('Follower') }}
  • {{ $followings }} {{ __('Following') }}

@endforeach
@endif --}}