@extends('layouts.front.master') @section('contant')
@if(count($course)>0) @foreach ($course as $item) @php $coursename = $item->name; $coursestring = str_replace(' ', '-', $coursename); @endphp
@if($item->mark_bestseller=='Yes')

Bestseller

@endif
{{ Config::get('app.currency_icon') }}{{ $item->price }}
{{ Config::get('app.currency_icon') }}{{ $item->price_diff }} Off
@if($item->rating != null)
@for($i = 0; $i < 5; $i++) @endfor
@for($i = 0; $i < 5; $i++) @endfor
{{ number_format((float)$item->rating, 1, '.', '') }} ( @if($item->r_count > 1000) {{ round($item->r_count / 1000, 1) . 'k' }} @else {{ $item->r_count }} @endif )
@endif
@endforeach @if(count($course)>0)
@if(count($course)>0)
{!! $course->links() !!}
@endif
@endif @else

No courses available at the moment.

@endif
@stop