{{ $course->title }}

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

+ Follow Mentor

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

{{ \App\Models\PayedCourseLog::where("course_id",$course->id)->count() }} 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) !!}
@if (auth()->user()->id == $course->user_id)
@endif

{{ $course->title }}

{{ $course->username }}

{{ $course->username }}

{{ getRateAndReviews($course->user_id)["rate"] }}

{{ \App\Models\PayedCourseLog::where("course_id",$course->id)->count() }} 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

@csrf

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

1 Introduction
{{ date('H:i:s', getVideoDuration($course->video_intro)) }}
@foreach ($playlists as $playlist)
{{ $loop->iteration + 1 }} {{ $playlist->title }}
{{ date('H:i:s', getVideoDuration($playlist->path)) }}
@endforeach
@if ($course->before_price) {{ amountCurrency($course->before_price) }} @endif {{ amountCurrency($course->price) }}
@if (auth()->user()->id != $course->user_id)
@endif
@if (auth()->user()->id == $course->user_id)
@endif

{{ $course->title }}

{{ $course->username }}

{{ $course->username }}

{{ getRateAndReviews($course->user_id)["rate"] }}

{{ \App\Models\PayedCourseLog::where("course_id",$course->id)->count() }} 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

@csrf

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

1 Introduction
{{ date('H:i:s', getVideoDuration($course->video_intro)) }}
@foreach ($playlists as $playlist)
{{ $loop->iteration + 1 }} {{ $playlist->title }}
{{ date('H:i:s', getVideoDuration($playlist->path)) }}
@endforeach
@if ($course->before_price) {{ amountCurrency($course->before_price) }} @endif {{ amountCurrency($course->price) }}
@if (auth()->user()->id != $course->user_id)
@endif

Related Course

@if (count($similarCourse) > 0)
@foreach ($similarCourse as $course) @php $course = json_decode(json_encode($course)); $playlists = json_decode($course->playlist); @endphp
@php $course_thumbnail = getCourseImg($course->thumbnail); @endphp {{ $course->title }}
{{ $course->level }} {!! courseLevelHTML($course->level) !!}
{{ $course->title }}

@if ($course->before_price) {{ amountCurrency($course->before_price) }} @endif {{ amountCurrency($course->price) }}

{{ getRateAndReviews($course->id)["rate"] }}

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

{{ 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

@endforeach
@else

No related course found

@endif