1 <p><?php echo AT_print($this->row['question'], 'tests_questions.question'); ?></p>
3 <?php if ($this->row['properties'] == 1): /* one word */ ?>
4 <input type="text" name="answers[<?php echo $this->row['question_id']; ?>]" class="formfield" size="15" />
6 <?php elseif ($this->row['properties'] == 2): /* sentence */ ?>
7 <input type="text" name="answers[<?php echo $this->row['question_id']; ?>]" class="formfield" size="45" />
9 <?php elseif ($this->row['properties'] == 3): /* paragraph */ ?>
10 <textarea cols="55" rows="5" name="answers[<?php echo $this->row['question_id']; ?>]" class="formfield"></textarea>
12 <?php elseif ($this->row['properties'] == 4): /* page */ ?>
13 <textarea cols="55" rows="25" name="answers[<?php echo $row['question_id']; ?>]" class="formfield"></textarea>