@extends('theme.master') @section('title', 'My Courses') @section('content') @include('admin.message') {{ __('frontstaticword.MyCourses') }} @php $item = App\Order::where('user_id', Auth::User()->id)->get(); @endphp @if(count($item) > 0) @foreach($enroll as $enrol) @if($enrol->course_id != NULL) @if($enrol->status == 1) @if($enrol->user_id == Auth::User()->id) @if($enrol->courses['preview_image'] !== NULL && $enrol->courses['preview_image'] !== '') @else @endif {{ str_limit($enrol->courses->title, $limit = 35, $end = '...') }} by {{ $enrol->courses->user->fname }}
by {{ $enrol->courses->user->fname }}