@extends('theme.master') @section('title', "$course->title") @section('content') @include('admin.message')
    @if(Auth::check()) @php $wish = App\Wishlist::where('user_id', Auth::User()->id)->where('course_id', $course->id)->first(); @endphp @if ($wish == NULL)
  • @csrf
  • @else
  • @csrf
  • @endif @else
  • {{ __('frontstaticword.Wishlist') }}
  • @endif
@if($course->type == 1)
    @php $currency = App\Currency::first(); @endphp @if($course->discount_price == !NULL)
  • {{ $course['discount_price'] }}
  • {{ $course['price'] }}
  • @else
  • {{ $course['price'] }}
  • @endif
@if(Auth::check()) @if(Auth::User()->role == "admin") @else @if(isset($course->duration))
{{ __('frontstaticword.EnrollDuration') }}: {{ $course->duration }} Months
@endif @php $order = App\Order::where('user_id', Auth::User()->id)->where('course_id', $course->id)->first(); @endphp @if(!empty($order) && $order->status == 1) @elseif(isset($course_id) && in_array($course->id, $course_id)) @else @php $cart = App\Cart::where('user_id', Auth::User()->id)->where('course_id', $course->id)->first(); @endphp @if(!empty($cart))
{{ csrf_field() }}
@else
{{ csrf_field() }}
@endif @endif @endif @else @endif @else
  • Free
@if(Auth::check()) @if(Auth::User()->role == "admin") @else @php $enroll = App\Order::where('user_id', Auth::User()->id)->where('course_id', $course->id)->first(); @endphp @if($enroll == NULL) @else @endif @endif @else @endif @endif
    @if($courseinclude->isNotEmpty())
  • Course Includes
  • @foreach($course->include as $in) @if($in->status ==1)
  • {{ str_limit($in->detail, $limit = 50, $end = '...') }}
  • @endif @endforeach @endif


@if($whatlearns->isNotEmpty())

{{ __('frontstaticword.Whatlearn') }}

@foreach($course['whatlearns'] as $wl) @if($wl->status ==1)
  • {{ str_limit($wl['detail'], $limit = 120, $end = '...') }}
@endif @endforeach
@endif

{{ __('frontstaticword.Description') }}

{!! $course->detail !!}

@auth @php $alreadyrated = App\ReviewRating::where('course_id', $course->id)->limit(1)->first(); @endphp @if($alreadyrated == !NULL) @if($alreadyrated->featured == 1) @endif @endif @endauth @if($coursechapters->isNotEmpty())

{{ __('frontstaticword.CourseContent') }}

@foreach($coursechapters as $chapter) @if($chapter->status == 1 and $chapter->count() > 0 )
@foreach($courseclass as $class) @if($class->coursechapter_id == $chapter->id) @endif @endforeach
@if($class->type =='video' ) @endif @if($class->type =='audio' ) @endif @if($class->type =='image' ) @endif @if($class->type =='pdf' ) @endif @if($class->type =='zip' ) @endif
{{ $class['title'] }} @if($class->date_time != NULL)
Live at: {{ $class->date_time }}
@endif @if($class->detail != NULL) @endif
{!! $class->detail !!}
@if($class->preview_url != NULL || $class->preview_video != NULL ) preview @endif @if($class->type =='video') {{ $class['duration'] }}min @else {{ $class['size'] }}mb @endif
@endif @endforeach
@endif @auth
Warning: Undefined variable $allbigblue in /home/rajthemystery/public_html/resources/views/front/course_detail.blade.php on line 477

Warning: foreach() argument must be of type array|object, null given in /home/rajthemystery/public_html/resources/views/front/course_detail.blade.php on line 477
@endauth

{{ __('frontstaticword.RecentCourses') }}

@php $items = App\Course::orderBy('created_at','desc')->limit(5)->get() @endphp @foreach($items as $item) @if($item->status == 1)
@if($item->preview_image !== NULL && $item->preview_image !== '') blog @else blog @endif
{{ __('frontstaticword.LastUpdated') }} {{ date('jS F Y', strtotime($item['updated_at'])) }}
@if($item->type==1) @php $currency1 = App\Currency::first(); @endphp @if($item->discount_price == !NULL)
  • {{ $item->discount_price }}
  • {{ $item['price'] }}
@else
  • {{ $item['price'] }}
@endif @else
  • {{ __('frontstaticword.Free') }}
@endif
  • @if (Auth::check()) @php $wishtt = App\Wishlist::where('user_id', Auth::User()->id)->where('course_id', $item->id)->first(); @endphp @if ($wishtt == NULL)
    {{ csrf_field() }}
    @else
    {{ csrf_field() }}
    @endif @else
    @endif
@endif @endforeach

{{ __('frontstaticword.AboutInstructor') }}

@if($course->user->user_img != null || $course->user->user_img !='') instructor @else instructor @endif
{{ __('frontstaticword.AboutInstructor') }}

{!! $course->user['detail'] !!}

@if(! $reviews->isEmpty())

{{ __('frontstaticword.StudentFeedback') }}


Warning: Undefined variable $reviews in /home/rajthemystery/public_html/resources/views/front/course_detail.blade.php on line 764

Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /home/rajthemystery/public_html/resources/views/front/course_detail.blade.php:764 Stack trace: #0 {main} thrown in /home/rajthemystery/public_html/resources/views/front/course_detail.blade.php on line 764