@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'] !== '') student @else student @endif