|
|
|
@ -24,11 +24,19 @@
@@ -24,11 +24,19 @@
|
|
|
|
|
<div class="col-xs-3 col-sm-1"> |
|
|
|
|
<?php if ($vraag['antwoord'] == 0) { |
|
|
|
|
echo ': '.form_checkbox($vraag['id'], '1'); |
|
|
|
|
} else { |
|
|
|
|
for ($i=1; $i <= $vraag['score']; $i++) { |
|
|
|
|
$score[$i] = $i; |
|
|
|
|
} |
|
|
|
|
echo form_dropdown($vraag['id'], $score); |
|
|
|
|
} elseif ($vraag['antwoord'] == 1) { |
|
|
|
|
for ($i=1; $i <= $vraag['score']; $i++) { |
|
|
|
|
$score[$i] = $i; |
|
|
|
|
} |
|
|
|
|
echo form_dropdown($vraag['id'], $score); |
|
|
|
|
} elseif ($vraag['antwoord'] == 2) { |
|
|
|
|
$inputsetting = array( |
|
|
|
|
'name' => $vraag['id'], |
|
|
|
|
'value' => '0', |
|
|
|
|
'maxlength' => '4', |
|
|
|
|
'size' => '4' |
|
|
|
|
); |
|
|
|
|
echo ': '.form_input($inputsetting); |
|
|
|
|
} ?> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|