@if (count($errors) > 0)
@endif
@foreach (['danger', 'warning', 'success', 'info'] as $msg)
@if(Session::has('alert-' . $msg))
@endif
@endforeach
@if(Session::has('flash_message'))
@endif
@if(isset($flash_message))
@endif
@if($course->enable_discussion==1)
@endif
-
@foreach ($errors->all() as $error)
- {{ $error }} @endforeach
{!! clean(Session::get('alert-' . $msg)) !!}
{!! clean(Session::get('flash_message')) !!}
{!! clean($flash_message) !!}
@php $count = 1; @endphp
@php foreach($pages as $page): @endphp
@php $count++; endforeach; @endphp
type=='v'): @endphp class="videobox" style="text-align: center" @php endif; @endphp>
@php if(!empty($page->audio_code)): @endphp
@php if (!empty($video->description)): @endphp
@php endif; @endphp
@else
@php
$file = 'uservideo/'.$video->id.'/'.$video->file_name;
@endphp
@php endif; @endphp
@endif
@php else: @endphp
{{ __lang('video-deleted') }}
@php endif; @endphp
@php elseif($page->type=='c'): @endphp
{!! nl2br(htmlentities($page->content)) !!}
@php elseif($page->type=='i'): @endphp
@php elseif($page->type=='q'): @endphp
@php elseif($page->type=='z'): @endphp
@php
$zoomData = @unserialize($page->content);
@endphp
@php if($zoomData && is_array($zoomData)): @endphp
{!! $page->audio_code !!}
@php endif; @endphp
@php if($page->type=='l'): @endphp
@php $video = \App\Video::find(intval($page->content)); @endphp
@php if($video ): @endphp
@if(saas())
{!! $video->description !!}
@if($video->location=='r')
@php
$url = '';
$type = 'video/mp4';
try{
$url = \Illuminate\Support\Facades\Storage::cloud()->temporaryUrl($file,now()->addHours(12));
$type = $video->mime_type;
}
catch(\Exception $exception){
\Illuminate\Support\Facades\Log::error($exception->getMessage());
}
@endphp
@else
@php
$url = route("{$module}.course.serve",['id'=>$video->id]);
$type = mime_content_type($file);
@endphp
@endif
@php if (!empty($video->description)): @endphp
{!! $video->description !!}
{{ __lang('you-scored') }}:
{{ __lang('ranking') }}:
{{ __lang('meeting-id') }}: {{ trim($zoomData['meeting_id']) }}
{{ __lang('password') }}: {{ trim($zoomData['password']) }}
{{ nl2br($zoomData['instructions']) }}
@php endif; @endphp
@php else: @endphp
{!! $page->content !!}
@php endif; @endphp
{{ __lang('password') }}: {{ trim($zoomData['password']) }}
{{ nl2br($zoomData['instructions']) }}
@if($downloads->count() > 0)
@endif
{{ __lang('File') }} | {{ basename($download->path) }} | @php if ($fileTable->getTotalForDownload($lecture->id)> 0): @endphp {{ __lang('download') }} @php else: @endphp {{ __lang('no-files') }} @php endif; @endphp | @php endforeach; @endphp
---|
@php if(!empty($course->enable_discussion)): @endphp
@php else: @endphp
{{ __lang('instruct-chat-unavailable') }}
@php endif; @endphp
{{ __lang('ask-a-question-lecture') }}
{{ __lang('your-questions') }}
{{ __lang('subject') }} | {{ __lang('created-on') }} | {{ __lang('recipients') }} | {{ __lang('replied') }} | |
---|---|---|---|---|
{{ $row->subject }} | {{ showDate('d/M/Y',$row->created_at) }} | @php if($row->admin==1): @endphp Administrators, @php endif; @endphp @php foreach($accountTable->getDiscussionAccounts($row->id) as $row2): @endphp {{ $row2->name.' '.$row2->last_name }}, @php endforeach; @endphp | {{ boolToString($row->replied) }} | {{ __lang('view') }} |
@php if(!empty($course->enable_forum)): @endphp
{!! $forumTopics !!}
@php else: @endphp
{{ __lang('student-forum-unavailable') }}
@php endif; @endphp
@php $count=1; foreach($lectures as $row): @endphp
@php if($lecture->id!=$row->id): @endphp
@php endif; @endphp
@php $count++; @endphp
@php endforeach; @endphp
{{ $count.'. '.$row->title }}
{{ __lang('content') }} | {{ __lang('type') }} |
---|---|
{{ $page->title }} | @php switch($page->type){ case 't': echo __lang('text'); break; case 'v': echo __lang('video'); break; case 'c': echo __lang('html-code'); break; case 'l': echo __lang('video'); break; case 'i': echo __lang('image'); break; case 'q': echo __lang('quiz'); break; case 'z': echo __lang('zoom-meeting'); break; } @endphp |