@include('student.test.layouts.common.nav')

{{$test->title}}

  • Time Left :
  • 00 : 00 : 00
  • @if ($canUsePause)
  • Pause & Exit
  • @endif

@include('student.test.layouts.common.information_right')
{!! Form::open(array( 'id'=> 'test-form', 'autocomplete'=> 'nope', 'spellcheck'=> 'false' )) !!}
@php $questionHasVideo = FALSE; $total_para_ques = 0; $numberQuestion = 0; @endphp @foreach($questions as $question) @endforeach
{!! Form::close() !!}
@include('student.test.layouts.common.footer')
@push('script') @php $questionAnswered = json_encode([]); $questionNotAnswers = json_encode([]); $questionMark = json_encode([]); $questionReview = json_encode([]); $out_of_test = 0; $is_pause = 0; if (!is_null($last_answer)) { $questionAnswered = json_decode($last_answer->question_answered, true); $questionAnswered = json_encode(is_array($questionAnswered) ? $questionAnswered : []); $questionNotAnswers = json_decode($last_answer->question_not_answers, true); $questionNotAnswers = json_encode(is_array($questionNotAnswers) ? $questionNotAnswers : []); $questionMark = json_decode($last_answer->question_marks, true); $questionMark = json_encode(is_array($questionMark) ? $questionMark : []); $questionReview = json_decode($last_answer->question_review ?? null, true); $questionReview = json_encode(is_array($questionReview) ? $questionReview : []); $out_of_test = $last_answer->out_of_test ?? 0; if(!is_null($test) && !is_null($test->test_quiz_questions) && $test->type != 1) $is_pause = $test->test_quiz_questions->is_pause; } @endphp @endpush