<div class="qtext">
  <?php echo $questiontext; ?>
</div>

<?php if ($image) { ?>
  <img class="qimage" src="<?php echo $image; ?>" alt="" />
<?php } ?>

<div class="ablock clearfix">
  <div class="prompt">
    <?php echo get_string("answer", "quiz").': '; ?>
  </div>

  <div class="answer">
    <input type="text" <?php echo "$readonly $inputname $value"; ?> size="80"/>
  </div>
  <?php if ($feedback) { ?>
    <div class="feedback">
      <?php echo $feedback ?>
    </div>
  <?php } ?>
  <?php $this->print_question_submit_buttons($question, $state, $cmoptions, $options); ?>
</div>

<?php if ($correctanswer) { ?>
    <div class="correctness correct">
    <?php echo get_string('correctanswer', 'quiz').': '. $correctanswer; ?>
  </div>
<?php } ?>
