@if (!$videoURL && $part)

Module {{ $part }} not found

@endif

{{ $course->title }}

{{ Str::limit($course->username, 8, '...') }} . {{ getSubCategory($course->sub_category_id, 'title') }}

+ Follow Mentor

{{ getRateAndReviews($courseID)["rate"] }} ({{ getRateAndReviews($courseID)["totalReviews"] }} Reviews)

500 Student

{{ count($playlists ?? []) + 1 }} Modules

@php $playlistDuration = getVideosDuration( collect($playlists ?? [])->map(function ($pl_) { return $pl_->path; }), ); @endphp

{{ date('H', $playlistDuration) }}h {{ date('i', $playlistDuration) }}m {{ date('s', $playlistDuration) }}s

{{ $course->level }} {!! courseLevelHTML($course->level) !!}
@php $userCourseReview = \App\Models\CourseReview::where('user_id', auth()->user()->id)->where( 'course_id', $courseID, ); @endphp @if ($courseReviewEditActivate)
@csrf @if ($courseRateResponse['status'] == 'error')
{{ $courseRateResponse['message'] }}
@endif @if ($courseRateResponse['status'] == 'success')
{{ $courseRateResponse['message'] }}
@endif
@elseif ($userCourseReview->count() > 0)

Your Review

@foreach ($userCourseReview->orderBy('id', 'DESC')->get() as $courseReview)

{{ auth()->user()->name }}

{!! setStars($courseReview->rate) !!}
{{ dateFormat($courseReview->created_at, 'd F Y') }}

{{ $courseReview->review }}

@endforeach
@else
@csrf @if ($courseRateResponse['status'] == 'error')
{{ $courseRateResponse['message'] }}
@endif @if ($courseRateResponse['status'] == 'success')
{{ $courseRateResponse['message'] }}
@endif
@endif

500 Student

{{ count($playlists ?? []) + 1 }} Modules

@php $playlistDuration = getVideosDuration( collect($playlists ?? [])->map(function ($pl_) { return $pl_->path; }), ); @endphp

{{ date('H', $playlistDuration) }}h {{ date('i', $playlistDuration) }}m {{ date('s', $playlistDuration) }}s

@php $userCourseReview = \App\Models\CourseReview::where('user_id', auth()->user()->id)->where( 'course_id', $courseID, ); @endphp @if ($courseReviewEditActivate)
@csrf @if ($courseRateResponse['status'] == 'error')
{{ $courseRateResponse['message'] }}
@endif @if ($courseRateResponse['status'] == 'success')
{{ $courseRateResponse['message'] }}
@endif
@elseif ($userCourseReview->count() > 0)

Your Review

@foreach ($userCourseReview->orderBy('id', 'DESC')->get() as $courseReview)

{{ auth()->user()->name }}

{!! setStars($courseReview->rate) !!}
{{ dateFormat($courseReview->created_at, 'd F Y') }}

{{ $courseReview->review }}

@endforeach
@else
@csrf @if ($courseRateResponse['status'] == 'error')
{{ $courseRateResponse['message'] }}
@endif @if ($courseRateResponse['status'] == 'success')
{{ $courseRateResponse['message'] }}
@endif
@endif