@extends('theme.master') @section('title', "$user->fname") @section('content') @include('admin.message')
{{ __('frontstaticword.Instructor') }}

{{ $user['fname'] }} {{ $user['lname'] }}

{{ $user['email'] }}
{{ __('frontstaticword.Totalstudents') }}
@php $data = App\Order::where('instructor_id', $user->id)->get(); if(count($data)>0){ echo count($data); } else{ echo "0"; } @endphp
@if($user['detail'] != NULL)
{{ __('frontstaticword.Aboutme') }}

{!! $user['detail'] !!}

@endif
{{ __('frontstaticword.MyCourses') }} (@php $data = App\Course::where('user_id', $user->id)->get(); if(count($data)>0){ echo count($data); } else{ echo "0"; } @endphp)
@foreach($course as $c) @if($c->status == 1)
@if($c['preview_image'] !== NULL && $c['preview_image'] !== '') course @else course @endif