@extends('frontend.frontend-page-master') @section('site-title') {{get_static_option('courses_page_'.$user_select_lang_slug.'_name')}} @endsection @section('page-title') {{get_static_option('courses_page_'.$user_select_lang_slug.'_name')}} @endsection @section('page-meta-data') {!! render_og_meta_image_by_attachment_id(get_static_option('courses_page_'.$user_select_lang_slug.'_meta_image')) !!} @endsection @section('content') {{__("select category")}} @foreach($category_list as $category) id == $cat_id) selected @endif value="{{$category->id}}">{{optional($category->lang_front)->title}} ({{optional($category->course)->count()}}) @endforeach {{__("Latest")}} {{__("Oldest")}} {{__("Best Rated")}} {{__("Low Price")}} {{__("High Price")}} @php $a=1; @endphp @forelse($all_courses as $data) @php if($a == 4){ $a=1;}else{$a++;} @endphp @empty {{__('nothing found')}} {{$search_term}} @endforelse {{$all_courses->links()}} @endsection @section('scripts') @endsection