@extends('theme.master') @section('title', 'Online Courses') @section('content') @include('admin.message')

 / {{ __('frontstaticword.Courses') }}

@if(count($search_data) > 0)
@foreach($search_data as $course) @if($course->status == 1)
@if($course['preview_image'] !== NULL && $course['preview_image'] !== '') @else course @endif
@if($course['level_tags'] == !NULL)
{{ $course['level_tags'] }}
@endif
  • @php $data = App\CourseClass::where('course_id', $course->id)->get(); if(count($data)>0){ echo count($data); } else{ echo "0"; } @endphp {{ __('frontstaticword.Classes') }}

{{ str_limit($course->short_detail, $limit = 60, $end = '..') }}

    @if($course->type == 1) @if($course->discount_price == !NULL)
  • {{ currency($course->price, $from = $currency->code, $to = Session::has('changed_currency') ? Session::get('changed_currency') : $currency->code, $format = true) }}   {{ currency($course->discount_price, $from = $currency->code, $to = Session::has('changed_currency') ? Session::get('changed_currency') : $currency->code, $format = true) }}
  • @else @if($course->price == !NULL)
  • {{ currency($course->price, $from = $currency->code, $to = Session::has('changed_currency') ? Session::get('changed_currency') : $currency->code, $format = true) }}
  • @endif @endif @else
  • {{ __('frontstaticword.Free') }}
  • @endif