@extends('frontend-rtl.layouts.app'.config('theme_layout')) @section('title', trans('labels.frontend.course.courses').' | '. app_name() ) @push('after-styles') @endpush @section('content')
@if(session()->has('success'))
{{session('success')}}
@endif
@lang('labels.frontend.course.sort_by')
@if($courses->count() > 0) @foreach($courses as $course)
course_image != "") style="background-image: url('{{asset('storage/uploads/'.$course->course_image)}}')" @endif> @if($course->trending == 1)
@lang('labels.frontend.badges.trending')
@endif @if($course->free == 1)
@lang('labels.backend.courses.fields.free')
@endif
@if($course->free == 1) {{trans('labels.backend.courses.fields.free')}} @else {{$appCurrency['symbol'].' '.$course->price}} @endif
    @for($i=1; $i<=(int)$course->rating; $i++)
  • @endfor
@endforeach @else

@lang('labels.general.no_data_available')

@endif
@if($courses->count() > 0) @foreach($courses as $course) @endforeach @else @endif
@lang('labels.frontend.course.course_name') @lang('labels.frontend.course.course_type') @lang('labels.frontend.course.starts')
course_image != "") style="background-image: url({{asset('storage/uploads/'.$course->course_image)}})" @endif >
{{\Carbon\Carbon::parse($course->start_date)->format('d M Y')}}

@lang('labels.general.no_data_available')

{{ $courses->links() }}
@include('frontend.layouts.partials.browse_courses') @endsection @push('after-scripts') @endpush