@extends('master/index') @section('metaDescription') @if(strlen($course->description) > 2) @else @endif @stop @section('content')

{{$course->course_title}}

@if(Auth::check()==true) @if(checkFavorite($course->course_id) == true) @else @endif @endif {{-- --}}

{{$course->subtitle}}


{{$course->description}}

Category : {{ $course->categories->name }}

What are the requirements?
What am I going to get from this course?
What is the target audience?
@if($course->pricing != 0)
PRICE:
$ {{$course->pricing}}
@else
PRICE:
FREE
@endif
@if(Auth::check() == false) @else @if(checkPurchase($course->course_id) == 0) @else @endif @if($course->pricing == 0) @if($course->user_id != Auth::user()->id) @else @endif @else @if($course->user_id != Auth::user()->id) @else @endif @endif @endif

Curriculum

    @for ($j=0; $j < $curri_count; $j++) @if($curriculum->MainTitle[$j] == 'Section') @else @endif
  • @if($curriculum->MainTitle[$j] == 'Section') {{--*/ $count = 1 /*--}} {{$curriculum->MainTitle[$j]}} :

    {{$curriculum->title[$j]}}

    @else

    {{$count}}

    {{--*/ $count++ /*--}}

    {{$curriculum->title[$j]}}

    @endif @if($curriculum->MainTitle[$j] == 'Lecture')
    @for($k=0; $k < $file_count; $k++) @if($curriculum->file_type[$j][$k] != '')
    @if($curriculum->file_type[$j][$k] == 'audio/mpeg') @elseif($curriculum->file_type[$j][$k] == 'video/mp4' || $curriculum->file_type[$j][$k] == 'video/x-flv') @elseif($curriculum->file_type[$j][$k] == 'text/plain') @endif
    @endif @endfor
    @elseif($curriculum->MainTitle[$j] == 'Quiz')
    {{count($curriculum->file_type[$j])}} {{$curriculum->MainTitle[$j]}}
    @endif
  • @endfor
@if(ReviewCount($course->course_id)==0)
No Reviews Yet
@else
{{ReviewCount($course->course_id)}} Reviews
@endif @foreach($ratings as $rating)
{{ $rating->fullname }}
{{ Smilies::parse(e($rating->review_title)) }}
{{ Smilies::parse(e($rating->review_description)) }}
{{ date(DATE_ISO8601,strtotime($rating->created_at)) }} 
@endforeach
{{ $course->user->fullname }}
{{$course->user->designation}}
Course Created {{date(DATE_ISO8601,strtotime($course->created_at)) }}
@if(Auth::check()==true) @if(Auth::user()->id == $course->user->id) Edit Profile @else @if(checkFollow($course->user->id)) @else @endif @endif @endif
{{Str::limit($course->user->about_me,200)}}
{{ t('Share This') }}
@if($course->user->course()->where('approved','=',1)->count() > 2)
{{--*/ $morefromUser = $course->user->course()->where('approved','=',1)->where('course_id', '!=' ,$course->course_id )->take(12)->get() /*--}}
{{ t('More From') }} {{ $course->user->fullname }} ( {{count($morefromUser)}} )
@foreach($morefromUser as $sidebarImage) {{ $sidebarImage->course_title }} @endforeach
@endif
{{ t('More From') }} {{ siteSettings('siteName') }}
@foreach(moreFromSite() as $sidebarImage) {{ $sidebarImage->title }} @endforeach
@if(count($purchase) > 0)
Students Enrolled ( {{count($purchase)}} )
    @foreach($purchase as $purchased)
  • {{ $purchased->fullname }}
  • @endforeach
@endif
Tags
    {{--*/ $courseTag = explode(',', $course->keywords) /*--}} @foreach($courseTag as $courseTag)
  • @endforeach
@stop @section('extrafooter') {{-- @include('course/comment') --}} {{-- @include('course/detailed_sidebar') --}} @stop