@php $url = $c->video_enable ? route('user.course.show',['id' => $c->id ]) : '#'; @endphp
@if($c['preview_image'] !== NULL && $c['preview_image'] !== '') course @else course @endif
@if($c['level_tags'] == !NULL)
{{ $c['level_tags'] }}
@endif
    @if (!isset($c->live_time)) @if(Auth::check()) @php $has_collect = App\MyCollectCourse::where('user_id', Auth::User()->id)->where('course_id', $c->id)->first(); $collect_icon = '-o'; if( $has_collect ){ $collect_icon = ''; } @endphp @else
  • @endif @endif
@if (isset($c->live_time)) @endif