コード例 #1
0
ファイル: random.php プロジェクト: vinod-co/centa
?>
" class="form-med" />
              </td>
            </tr>
            <tr>
              <th><span class="mandatory">*</span> <label for="option_text1"><?php 
echo $string['questions'];
?>
</label></th>
              <td>
                <div id="qlist-holder" class="select-group">
                  <ul id="questionlist" class="radio-list clearfix">
<?php 
$i = 1;
foreach ($question->options as $option) {
    $option_text = ltrim(strip_tags(QuestionUtils::get_leadin($option->get_text(), $mysqli)));
    if (strlen($option_text) > 200) {
        $option_text = wordwrap($option_text, 200);
        $option_text = substr($option_text, 0, strpos($option_text, "\n")) . '&hellip;';
    }
    ?>
                    <li><label for="option_text<?php 
    echo $i;
    ?>
" class="fullwidth"><input id="option_text<?php 
    echo $i;
    ?>
" name="option_text<?php 
    echo $i;
    ?>
" value="<?php