" name="correct"
                   data-toggle="tooltip" data-placement="top" title="is this the correct answer?" <?php 
    echo $opt->isCorrectText();
    ?>
>
            Option <?php 
    echo QuestionCtrl::getKText($index);
    ?>
</label>
        <div class="col-sm-11">
            <div class="question-input"><?php 
    echo html_entity_decode($opt->getText());
    ?>
</div>
            <input type="hidden" name="o::<?php 
    echo QuestionCtrl::getKText($index);
    ?>
::<?php 
    echo $opt->getId();
    ?>
" />
        </div>
    </div>
    <?php 
}
?>
    <div class="form-group">
        <label for="explain" class="col-sm-1 control-label">Explain</label>
        <div class="col-sm-11">
            <div class="question-input"><?php 
echo html_entity_decode($q->getExplain());
Пример #2
0
        if ($arr[$ques]->getKtext() == QuestionCtrl::getKText($opt)) {
            if ($done4) {
                $type = $arr[$ques]->getRes();
            } else {
                $type = 'info';
            }
        } else {
            $type = 'default';
        }
        ?>
            <div class="answer-view alert alert-<?php 
        echo $type;
        ?>
">
                <span class="key"><?php 
        echo QuestionCtrl::getKText($opt);
        ?>
.</span><?php 
        echo htmlspecialchars_decode($o->getText());
        ?>
            </div>
            <?php 
    }
    ?>
<!--            --><?php 
    //if ($done4) :
    ?>
<!--            <hr>-->
<!--            <blockquote>-->
<!--                --><?php 
    //if (!$selected) :