示例#1
0
    $question = CommonFunctions::replaceSmallImage($questions[$i], $smallPictures, $smallPictureIndex);
    $question = CommonFunctions::replaceBigImage($question, $bigPictures, $bigPictureIndex);
    ?>
                    <?php 
    echo $i + 1;
    ?>
) <?php 
    echo $question;
    ?>
                </h5>
                <?php 
    foreach ($options as $option) {
        ?>
                    <?php 
        $value = substr(trim($option), 0, 1);
        $option = CommonFunctions::replaceSmallImage($option, $smallPictures, $smallPictureIndex);
        ?>
                    <div class="checkbox">
                        <label>
                            <input name="input_question_<?php 
        echo $id;
        ?>
" type="checkbox" value="<?php 
        echo $value;
        ?>
"
                                   data-id="<?php 
        echo $id;
        ?>
" data-testtype="<?php 
        echo $testTypeId;