@foreach($search_data as $course)
@if($course->status == 1)
@if($course['preview_image'] !== NULL && $course['preview_image'] !== '')
 }})
@else
->toBase64() }})
@endif
@if($course['level_tags'] == 'trending')
{{__('Trending')}}
@endif
@if($course['level_tags'] == 'featured')
{{__('Featured')}}
@endif
@if($course['level_tags'] == 'new')
{{__('New')}}
@endif
@if($course['level_tags'] == 'onsale')
{{__('Onsale')}}
@endif
@if($course['level_tags'] == 'bestseller')
{{__('Bestseller')}}
@endif
@if($course['level_tags'] == 'beginner')
{{__('Beginner')}}
@endif
@if($course['level_tags'] == 'intermediate')
{{__('Intermediate')}}
@endif
@if(optional($course->user)['user_img'] !== NULL && optional($course->user)['user_img'] !== '')
 }})
@else
 }})
@endif
-
@php
$data = App\CourseClass::where('course_id', $course->id)->get();
if(count($data)>0){
echo count($data);
}
else{
echo "0";
}
@endphp {{ __('Classes') }}
{{ str_limit($course->short_detail, $limit = 60, $end = '..') }}
-
Fatal error: Uncaught Error: Class "App\ReviewRating" not found in /home/karendei/public_html/test.karenderia.ir/resources/views/front/search.blade.php:160
Stack trace:
#0 {main}
thrown in /home/karendei/public_html/test.karenderia.ir/resources/views/front/search.blade.php on line 160