@extends('theme.master') @section('title') @section('content') @include('admin.message') @php $gets = App\Breadcum::first(); @endphp @if(isset($gets))
@if($gets['img'] !== NULL && $gets['img'] !== '') @else course @endif

{{ __('My Courses') }}

@endif
@if($instructors['user_img'] !== NULL && $instructors['user_img'] !== '') @else {{ __('course')}} @endif
{{ $instructors->fname }} {{ $instructors->lname }}

{{ $instructors->role }}

{{ $instructors->mobile }}
{{ $instructors->email }}
@php $followers = App\Followers::where('user_id', '!=', $instructors->id)->where('follower_id', $instructors->id)->count(); $followings = App\Followers::where('user_id', $instructors->id)->where('follower_id','!=', $instructors->id)->count(); $course = App\Course::where('user_id', $instructors->id)->count(); @endphp
  • {{ $course }} {{ __('Courses') }}
  • {{ $followers }} {{ __('Follower') }}
  • {{ $followings }} {{ __('Following') }}
@auth @php $follow = App\Followers::where('follower_id', $user->id)->first(); @endphp @if($follow == NULL)
{{ csrf_field() }}
@else
{{ csrf_field() }}
@endif @endauth