@extends('frontend.layouts.app') @php $userRelation = getUserRoleRelation($user); @endphp @section('meta') @endsection @section('content')

{{ $pageTitle }}

@if ($user->$userRelation->is_offline == INSTRUCTOR_IS_OFFLINE)
{{ __('Instructor is temporarily unavailable') }}.

{{ __(@$user->$userRelation->offline_message) }}

@endif
{{ __('About') }} {{ @$user->name }}

{{ @$user->$userRelation->about_me }}

{{ __('Skills') }}
    @forelse ($user->$userRelation->skills as $skill)
  • {{ $skill->title }}
  • @empty
  • {{ __('No skills to show') }}
  • @endforelse
{{ __('Certifications') }}
    @forelse(@$user->$userRelation->certificates as $certificate)
  • {{ $certificate->passing_year }}{{ $certificate->name }}
  • @empty
  • {{ __('No certificate to show') }}
  • @endforelse
{{ __('Awards') }}
    @forelse(@$user->$userRelation->awards as $award)
  • {{ $award->winning_year }}{{ $award->name }}
  • @empty
  • {{ __('No award to show') }}
  • @endforelse
@if(!get_option('private_mode') || !auth()->guest()) @if($user->role == USER_ROLE_INSTRUCTOR)
{{ __('My courses') }} ({{ @$user->courses->count() }})
@include('frontend.instructor.render-instructor-courses')
@if($courses->hasPages())
@endif
@elseif($user->role == USER_ROLE_ORGANIZATION)
@include('frontend.instructor.render-instructor-courses')
@if($courses->hasPages())
@endif
@foreach ($instructors as $instructorUser)
@endforeach
@if($instructors->hasPages())
@endif
@foreach($consultationInstructors as $instructorUser)
@endforeach
@endif @endif
img
{{ $user->$userRelation->name }}

{{ $user->$userRelation->professional_title }}

@foreach ($user->badges as $badge) {{ $badge->name }} @endforeach
@auth @if (auth()->id() != $user->id) @if ($user->followers->where('id', auth()->id())->count()) @else @endif @endif @else @endauth
{{ count($user->followers) }}
{{ __('Followers') }}
{{ count($user->followings) }}
{{ __('Following') }}
    @if(get_instructor_ranking_level($user->badges))
  • {{ get_instructor_ranking_level($user->badges) }} {{ __('(Ranking)') }}
  • @endif
  • {{ @$user->courses->count() }} {{ __('Courses') }}
  • {{ @$total_lectures }} {{ __('Video Lectures') }}
  • {{ @$totalStudent }} {{ __('Students') }}
  • {{ @$total_quizzes }} {{ __('Quizzes') }}
  • {{ @$total_assignments }} {{ __('Assignments') }}
  • {{ $totalMeeting }} {{ __(' Meetings') }}
  • {{ $total_rating }} Reviews ({{ number_format(@$average_rating, 1) }} average)
  • {{ @$user->$userRelation->address }}
@php $social_link = json_decode(@$user->$userRelation->social_link); @endphp @if(!get_option('private_mode') || !auth()->guest()) @if(@$user->$userRelation->consultation_available == 1) @php $hourly_fee = 0; @endphp @if(get_currency_placement() == 'after') @php $hourly_fee = @$user->$userRelation->hourly_rate . ' ' . get_currency_symbol() . '/h'; @endphp @else @php $hourly_fee = get_currency_symbol() . ' ' . @$user->$userRelation->hourly_rate . '/h'; @endphp @endif
@endif @endif
@include('frontend.home.partial.consultation-booking-schedule-modal') @endsection @push('script') @endpush