132 lines
7.4 KiB
PHP
Executable File
132 lines
7.4 KiB
PHP
Executable File
<section class="qusA examresult pt70">
|
|
<div class="container">
|
|
<div class="inneresult">
|
|
<div class="row">
|
|
<div class="col-sm-12">
|
|
<div class="resultdetails">
|
|
<h1>Exam Result for HMS</h1>
|
|
<!-- <p>Score: 14 of 40</p> -->
|
|
<strong><?=$quizResultPercentage->marks_percentage?>% Correct:</strong>
|
|
</div>
|
|
<!-- <div class="wizardForm" id="tab1">
|
|
<h2>Question 1:</h2>
|
|
<div class="insideqa">
|
|
<p>Lorem Ipsum is simply Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.
|
|
It has survived not only five centuries, remaining essentially unchanged.</p>
|
|
<ul>
|
|
<li>
|
|
<b>Lorem Ipsum is simply Lorem Ipsum has been the industry's standard dummy text ever since the 1500s,
|
|
when an unknown printer took a </b>
|
|
<i></i>
|
|
</li>
|
|
<li class="redresult">
|
|
<b>Lorem Ipsum is simply Lorem Ipsum has been the industry's when an unknown
|
|
printer took a </b>
|
|
<i class="display_block"><span>Your answer</span>
|
|
<img class="" src="assets/images/close.png" alt="">
|
|
</i>
|
|
</li>
|
|
<li>
|
|
<b>Lorem Ipsum is simply Lorem Ipsum has been the industry's standard dummy text ever since the 1500s,
|
|
when an unknown printer took aLorem Ipsum is simply Lorem Ipsum has been the industry's standard dummy </b>
|
|
<i></i>
|
|
</li>
|
|
<li class="greenresult">
|
|
<b>Checkbox Big printer took aLorem Ipsum is simply</b>
|
|
<i class="display_block"><span> Correct answer </span>
|
|
<img class="" src="assets/images/check.png" alt="">
|
|
</i>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div> -->
|
|
<!-- accodian -->
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
<!-- accodian -->
|
|
<!-- accodian new -->
|
|
<section class="examresult pb70">
|
|
<div class="container">
|
|
<div class="inneresult">
|
|
<div class="row">
|
|
<div class="col-sm-12 ">
|
|
<div id="accordion">
|
|
|
|
<?php $qct = 1; foreach($quizResult as $qzData){ ?>
|
|
|
|
<div class="card">
|
|
<div class="card-header <?php if($qzData->answer_id == $qzData->question->answer_id){ echo "rigthans"; } else { echo "worngans"; } ?> ">
|
|
<h5><a class="collapsed card-link" data-toggle="collapse" href="#collapse<?=$qzData->id?>">
|
|
QUESTION <?=$qct?>:
|
|
</a></h5>
|
|
</div>
|
|
<div id="collapse<?=$qzData->id?>" class="collapse" data-parent="#accordion">
|
|
<div class="card-body">
|
|
<div class="jobvacrightinn">
|
|
<div class="wizardForm">
|
|
<div class="insideqa">
|
|
<?php echo $qzData->question->question_text; ?>
|
|
<?php foreach($qzData->options as $options) { ?>
|
|
|
|
<ul>
|
|
<li class="<?php if($options->id == $qzData->question->answer_id){ echo "greenresult"; } else if($options->id == $qzData->answer_id && $qzData->question->answer_id != $qzData->answer_id){ echo "redresult"; }?>">
|
|
<b> <?php echo $options->answer_text; ?> </b>
|
|
|
|
<!-- <i class="display_block"><span>Your answer</span> -->
|
|
<?php if($options->id == $qzData->answer_id && $qzData->question->answer_id != $qzData->answer_id){ ?>
|
|
<i class="display_block"><span>Your Answer</span>
|
|
<?php } ?>
|
|
|
|
<?php if($options->id == $qzData->question->answer_id && $qzData->question->answer_id == $qzData->answer_id){ ?>
|
|
<i class="display_block"><span>Your Answer [Correct Answer]</span>
|
|
<?php } ?>
|
|
<?php if($options->id == $qzData->question->answer_id && $qzData->question->answer_id != $qzData->answer_id){ ?>
|
|
<i class="display_block"><span>Correct Answer</span>
|
|
<?php } ?>
|
|
</i>
|
|
</li>
|
|
<?php } ?>
|
|
</ul>
|
|
<!-- <ul>
|
|
<li>
|
|
<b>Lorem Ipsum is simply Lorem Ipsum has been the industry's standard dummy text ever since the 1500s,
|
|
when an unknown printer took a </b>
|
|
<i></i>
|
|
</li>
|
|
<li class="redresult">
|
|
<b>Lorem Ipsum is simply Lorem Ipsum has been the industry's when an unknown
|
|
printer took a </b>
|
|
<i class="display_block"><span>Your answer</span>
|
|
</i>
|
|
</li>
|
|
<li>
|
|
<b>Lorem Ipsum is simply Lorem Ipsum has been the industry's standard dummy text ever since the 1500s,
|
|
when an unknown printer took aLorem Ipsum is simply Lorem Ipsum has been the industry's standard dummy </b>
|
|
<i></i>
|
|
</li>
|
|
<li class="greenresult">
|
|
<b>Checkbox Big printer took aLorem Ipsum is simply</b>
|
|
<i class=""><span> Correct answer </span>
|
|
</i>
|
|
</li>
|
|
</ul> -->
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<?php $qct++; } ?>
|
|
|
|
</div>
|
|
<a class="btn more-btn read-more service_btn mt-10 float-right" href="<?=base_url()?>onboarding/process/<?=$token?>">Back</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
<!-- accodian new -->
|