2 <table class="data static" summary="" style="width: 95%" rules="cols">
5 <th scope="col" width="40%"><?php echo _AT('question'); ?></th>
6 <?php for ($i=0; $i<$this->num_choices; $i++): ?>
7 <?php if (strlen($this->row['choice_'.$i]) > 15) { $this->row['choice_'.$i] = substr($this->row['choice_'.$i], 0, 15).'...'; } ?>
8 <th scope="col"><?php echo htmlspecialchars($this->row['choice_'.$i]); ?></th>
13 <td valign="top" rowspan="2"><?php echo $this->row['question']; ?></td>
14 <?php for ($j=0; $j<$this->num_choices; $j++): ?>
15 <td align="center" valign="top"><?php echo (int) $this->answers[$j]; ?> / <?php echo $this->num_results; ?></td>
19 <?php for ($j=0; $j<$this->num_choices; $j++): ?>
20 <td align="center" valign="top"><?php echo $this->num_results ? round($this->answers[$j]/$this->num_results*100) : 0; ?>%</td>