@foreach($courses as $c) @if($c->status == 1)
@if($c['preview_image'] !== NULL && $c['preview_image'] !== '') course @else course @endif
@if($c['level_tags'] == 'trending')
{{__('Trending')}}
@endif @if($c['level_tags'] == 'featured')
{{__('Featured')}}
@endif @if($c['level_tags'] == 'new')
{{__('New')}}
@endif @if($c['level_tags'] == 'onsale')
{{__('On-sale')}}
@endif @if($c['level_tags'] == 'bestseller')
{{__('Bestseller')}}
@endif @if($c['level_tags'] == 'beginner')
{{__('Beginner')}}
@endif @if($c['level_tags'] == 'intermediate')
{{__('Intermediate')}}
@endif
@if($c->user['user_img'] !== NULL && $c->user['user_img'] !== '') @else @endif