@extends('web.layouts.container') @section('css') @endsection @section('content')

{{$course->name}}

{!! $course->description !!}

@if(in_array($course->course_type, ['payed', 'record_payed']))

{{$course->price}} ريال

السعر

@endif

{{$course->hours}}ساعة

مدة الدورة

@if(in_array($course->course_type, ['payed']))
@php /** @var TYPE_NAME $course */ $allDays = explode(', ', $course->days); @endphp

{{count($allDays)}} أيام

@foreach($allDays as $day) {{ucfirst(__('courses.'.$day))}} @endforeach {{-- {{$course->days}}--}}

@endif @if(in_array($course->course_type, ['payed']))

{{date('d', strtotime($course->start_date))}} {{date('M Y', strtotime($course->start_date))}}

تاريخ البداية

{{date('d', strtotime($course->end_date))}} {{date('M Y', strtotime($course->end_date))}}

تاريخ الإنتهاء

{{$course->weeks}}أسبوع

عدد الأسابيع

@endif
@if(in_array($course->course_type, ['payed', 'record_payed'])) إلتحق بالدورة @else إلتحق بالدورة @endif
ماذا سنتعلم من الدورة؟
{!! $course->what_we_learn !!}
@if($course->file) تنزيل الملف @endif
المدرب
{{$course->instructor_name}}

{{$course->instructor_job_title}}

{!! $course->instructor_description !!}

@if(count($faqs))
أسئله شائعه
@foreach($faqs as $faq)
{{$faq->question}}
{!! $faq->answer !!}
@endforeach
@endif
محتوى الدوره
@if(count($unitsWithLectures)) @foreach($unitsWithLectures as $unitName => $lectures)
{{$unitName}}
@foreach($lectures as $lecture)
{{$lecture['lecture_name']}}
@if($lecture['lecture_date']) {{date('d M Y', strtotime($lecture['lecture_date']))}} @endif {{__('lectures.'.$lecture['lecture_type'])}}
@auth() @if(array_key_exists('lecture_url', $lecture) && in_array($course->id, $coursesSubscribed)) @if($lecture['lecture_type'] == 'record') محاضره @elseif($lecture['lecture_type'] == 'live') محاضره @endif @else محاضره @endif @else محاضره @endauth {{date('h:i', strtotime($lecture['lecture_time']))}}
@endforeach
@endforeach @endif
@if(in_array($course->course_type, ['payed'])) @endif @if(in_array($course->course_type, ['payed', 'record_payed'])) إلتحق بالدوره @else ألتحق بالدوره @endif {{-- --}}
{{--
--}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{--
--}} {{--
--}} {{-- --}} {{--
--}}
@if(count($comments))
{{--

ارآء العملاء

--}}

{{array_key_exists('testimonials_title_'.getCurrentLocale(), settings()) ? settings('testimonials_title_'.getCurrentLocale()) : __('settings.testimonials_title')}}

{{array_key_exists('testimonials_desc_'.getCurrentLocale(), settings()) ? settings('testimonials_desc_'.getCurrentLocale()) : __('settings.testimonials_desc')}}

@foreach($comments as $comment)
{{$comment->user_name}}

{{$comment->comment}}

@endforeach
@endif @auth() @else @endauth
@auth() @else @endauth

دورات ذات صله

{{--

هناك حقيقة مثبتة منذ زمن طويل وهي أن المحتوى المقروء لصفحة ما سيلهي القارئ عن التركيز على الشكل الخارجي للنص

--}}
@if(count($relatedCourses)) @foreach($relatedCourses as $relatedCourse)
{{$relatedCourse->category_name}}
{{$relatedCourse->instructor_name}}

{{$relatedCourse->name}}

( {{$relatedCourse->evaluate_count}} تقييم )
@if(in_array($relatedCourse->course_type, ['payed', 'record_payed']))

{{$relatedCourse->price+(($relatedCourse->price*$addedValue)/100)}} SAR

@endif
  • يبدأ من {{date('d F', strtotime($relatedCourse->start_date))}} وينتهى {{date('d F', strtotime($relatedCourse->end_date))}}
  • أيام الأسبوع ({{$relatedCourse->days}})
@endforeach @endif
@endsection @section('inner_js') {{-- --}} {{-- --}} @endsection