{!! $courseinfo->type !!}
-
@php $schedule = ''; $schedule = json_decode($courseinfo->meeting_schedule); @endphp @if($schedule->frequency == 'once') @php $mnow = strtotime(date('Y-m-d H:i:s')); $mstart = strtotime($schedule->date); $mend = strtotime("+".$schedule->duration." minutes", strtotime($schedule->date)); if($mstart <= $mnow && $mnow <= $mend){ $showmeet = true; } @endphp {!! date("F jS, Y",strtotime($schedule->date)).' at '.date("H:i:s",strtotime($schedule->date)).' to '.date('H:i:s', strtotime("+".$schedule->duration." minutes", strtotime($schedule->date))) !!} @if($showmeet == false && $mstart > $mnow) @endif @elseif($schedule->frequency == 'daily') @php $mnow = strtotime(date('Y-m-d H:i:s')); $mstart = strtotime($schedule->date_from.' '.$schedule->time); $mend = strtotime("+".$schedule->duration." minutes", strtotime($schedule->date_to.' '.$schedule->time)); if($mstart <= $mnow && $mnow <= $mend){ $showmeet = true; } @endphp {!! date("F jS, Y",strtotime($schedule->date_from)) !!} - {!! date("F jS, Y",strtotime($schedule->date_to)) !!}
({!! ucfirst($schedule->frequency) !!} at {!! $schedule->time.' to '.date('H:i:s', strtotime("+".$schedule->duration." minutes", strtotime($schedule->time))) !!}) @if($showmeet == false && $mstart > $mnow) @endif @elseif($schedule->frequency == 'weekly') @php $mnow = strtotime(date('Y-m-d H:i:s')); $mstart = strtotime($schedule->date_from.' '.$schedule->time); $mend = strtotime("+".$schedule->duration." minutes", strtotime($schedule->date_to.' '.$schedule->time)); if($mstart <= $mnow && $mnow <= $mend){ $showmeet = true; } @endphp {!! date("F jS, Y",strtotime($schedule->date_from)) !!} - {!! date("F jS, Y",strtotime($schedule->date_to)) !!}
({!! ucfirst($schedule->frequency) !!} on {!! str_replace(",",", ",$schedule->days) !!} at {!! $schedule->time.' to '.date('H:i:s', strtotime("+".$schedule->duration." minutes", strtotime($schedule->time))) !!}) @if($showmeet == false && $mstart > $mnow) @endif @endif - {!! Lang::get("core.join_meeting") !!}
@foreach($recordings as $key => $recording)
@endforeach
Recorded Online Class {!! $key+1 !!}
{!! Lang::get('core.view') !!}
{!! Lang::get('core.or') !!}
@include('course.ajax-comments')
@if($courseinfo->user_id==\Session::get('uid'))
@endif
@endif
@if(count($announcement)>0)
@for($j=0;$j
@endfor
@else
{{$announcement[$j]->first_name}} {{$announcement[$j]->last_name or ''}}
{!! Lang::get('core.post_announcement')!!}
·
{!! $announcement[$j]->announcement !!}
{!! Lang::get('core.no_announcement') !!}
@endif
{!! Lang::get('core.announcement_text')!!}