{{-- Layout --}} @extends('student.layout.layout') {{-- Page Title --}} @section('title','GAS LMS | Start Quiz') {{-- Breadcrumb section --}} {{-- @section('breadcrumb') @include('components._breadcrumb', ['items' => ['Course Overview' => route('student.course.index',$coffid)]]) @endsection --}} {{-- Content --}} @section('content')
@if (!request()->has('page'))
Course Name {{$course_name->acyname.'_'.$course_name->cname}} {{$course_name->lshort_name}} {{$course_name->has_lable ? '( '.$course_name->label.' )' : ''}}
quiz time : {{$quiz->time_limit}} minuts
@if ($quiz->instructions) Instructions Flat cartoony illustrations with vivid unblended colors and asymmetrical beautiful purple hair lady @endif
{{ Carbon\Carbon::parse($quiz->start_date)->format('F') }} {{ Carbon\Carbon::parse($quiz->start_date)->format('d, Y') }} / ({{date('h:i A', strtotime($quiz->start_time))}})
Start date
{{ Carbon\Carbon::parse($quiz->end_date)->format('F') }} {{ Carbon\Carbon::parse($quiz->end_date)->format('d, Y') }} / ({{date('h:i A', strtotime($quiz->end_time))}})
End date
{{$questions_count.' Questions'}}
Number Of Questions
{{$quiz->attempts}}
attempts
Starts in
Start Quiz Please wait...
@endif
@csrf @foreach ($quiz_questions as $quizQuestion) @if ($quizQuestion->question->questiontype == 'mcq')

Choose the right answer

{{$quizQuestion->question->mcqQuestion->name}} ? @if ($quizQuestion->question->mcqQuestion->hint) hint: {{$quizQuestion->question->mcqQuestion->hint}} @endif

@if ($quizQuestion->question->mcqQuestion->questiontext)
{!! strip_tags($quizQuestion->question->mcqQuestion->questiontext) !!}
@endif {{-- Start:multimedia --}} @if ($quizQuestion->question->mcqQuestion->multimedia_id) @else
@endif @endif {{-- End:multimedia --}} @foreach ($quizQuestion->question->mcqQuestion->choices as $choice)
@endforeach

Don't upload any file unless,it is needed

Choose files or drag and drop files here
@elseif ($quizQuestion->question->questiontype == 'essay')

Essay Question

{{$quizQuestion->question->essayQuestion->name}} ? @if ($quizQuestion->question->essayQuestion->hint) hint: {{$quizQuestion->question->essayQuestion->hint}} @endif

@if ($quizQuestion->question->essayQuestion->questiontext)
{!! strip_tags($quizQuestion->question->essayQuestion->questiontext) !!}
@endif {{-- Start:multimedia --}} @if ($quizQuestion->question->essayQuestion->multimedia_id) @else
@endif @endif {{-- End:multimedia --}}

Don't upload any file unless,it is needed

Choose files or drag and drop files here
@elseif ($quizQuestion->question->questiontype == 'complete')

Complete the Following

{{$quizQuestion->question->completeQuestion->name}} ? @if ($quizQuestion->question->completeQuestion->hint) hint: {{$quizQuestion->question->completeQuestion->hint}} @endif

@if ($quizQuestion->question->completeQuestion->questiontext)
{!! strip_tags($quizQuestion->question->completeQuestion->questiontext) !!}
@endif {{-- Start:multimedia --}} @if ($quizQuestion->question->completeQuestion->multimedia_id) @else
@endif @endif {{-- End:multimedia --}}

Don't upload any file unless,it is needed

Choose files or drag and drop files here
@elseif ($quizQuestion->question->questiontype == 'audio')

Listen to the Audio below, download the question file and then upload your answers

{{$quizQuestion->question->audioQuestion->name}} ? @if ($quizQuestion->question->audioQuestion->hint) @endif

@if ($quizQuestion->question->audioQuestion->questiontext)
{!! strip_tags($quizQuestion->question->audioQuestion->questiontext) !!}
@endif {{-- Start:multimedia --}} @if ($quizQuestion->question->audioQuestion->multimedia_id != null) {{-- audio --}} {{-- file --}}
@endif @endif {{-- End:multimedia --}}
Upload Answers or drag and drop files here
@elseif ($quizQuestion->question->questiontype == 'file')

Upload the file with your answers

{{$quizQuestion->question->fileQuestion->name}} ? @if ($quizQuestion->question->fileQuestion->hint) @endif

@if ($quizQuestion->question->fileQuestion->questiontext)
{!! strip_tags($quizQuestion->question->fileQuestion->questiontext) !!}
@endif {{-- Start:multimedia --}} @if ($quizQuestion->question->fileQuestion->multimedia_id)
@endif {{-- End:multimedia --}}
Upload Answers or drag and drop files here
@elseif ($quizQuestion->question->questiontype == 'match')

Match the following

{{$quizQuestion->question->matchQuestion->name}} ? @if ($quizQuestion->question->matchQuestion->hint) @endif

@if ($quizQuestion->question->matchQuestion->questiontext)
{!! strip_tags($quizQuestion->question->matchQuestion->questiontext) !!}
@endif {{-- Start:multimedia --}} @if ($quizQuestion->question->matchQuestion->multimedia_id) @else
@endif @endif {{-- End:multimedia --}} {{-- match --}}
@foreach ($quizQuestion->question->matchQuestion->leftSideMatch as $left_item)
@endforeach
Choose files or drag and drop files here
@endif @endforeach {{--
--}}
{{ $quiz_questions->appends(Request::except('page'))->render('components._nextprevious') }}
{{--
--}} {{--
--}}

Displaying {{$quiz_questions->count()}} of {{ $quiz_questions->total() }} question(s).

@endsection @section('js') {{-- stepper --}} {{-- show quiz --}} {{-- editor --}} {{-- count down timer --}} @endsection