@extends('layouts.frontend') @section('title') | My Course @stop @section('content')

{!! Lang::get('core.mycourses')!!}

@if (defined('CNF_CURRENCY')) @php ( $currency = SiteHelpers::getCurrentcurrency(CNF_CURRENCY) ) @endif

{!! Lang::get('core.mycourse_text') !!}

@if(count($courses)>0) @if(isset($search)) {!! str_replace('?', '?q='.$search.'&', $courses->render()) !!} @else {!! str_replace('?', '?', $courses->render()) !!} @endif @endif
@if(count($course) == 0)

{!! Lang::get('core.teach') !!}

@endif
@if(count($courses) == 0 && isset($search))

{!! Lang::get('core.norecord')!!}

@endif @php( $i=0 )
@foreach($course as $course)
{{{ $course->course_title }}} @if($course->approved == 1) {!! Lang::get('core.published') !!} @else {!! Lang::get('core.Draft') !!} @endif

{{{ str_limit(ucfirst($course->course_title),30) }}}

@if($course->pricing != 0) {!! SiteHelpers::getCurrencymethod($course->user_id,$course->pricing) !!} @else {!! Lang::get('core.free') !!} @endif

@endforeach