1 <form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="post" name="form">
2 <div class="table-surround">
3 <table class="data" summary="Course polls listed by question, creation date and votes" >
5 <?php if ($this->col == 'question'): ?>
9 <?php elseif($this->col == 'created_date'): ?>
13 <?php elseif($this->col == 'total'): ?>
20 <th scope="col"> </th>
21 <th scope="col"><a href="mods/_standard/polls/tools/index.php?<?php echo $this->orders[$this->order]; ?>=question"><?php echo _AT('question'); ?></a></th>
22 <th scope="col"><a href="mods/_standard/polls/tools/index.php?<?php echo $this->orders[$this->order]; ?>=created_date"><?php echo _AT('created'); ?></a></th>
23 <th scope="col"><a href="mods/_standard/polls/tools/index.php?<?php echo $this->orders[$this->order]; ?>=total"><?php echo _AT('total_votes'); ?></a></th>
29 <input type="submit" name="edit" value="<?php echo _AT('edit'); ?>" />
30 <input type="submit" name="delete" value="<?php echo _AT('delete'); ?>" />
35 <?php if ($row = mysql_fetch_assoc($this->result)) : ?>
37 <tr onmousedown="document.form['p_<?php echo $row['poll_id']; ?>'].checked = true; rowselect(this);" id="r_<?php echo $row['poll_id']; ?>">
38 <td><input type="radio" id="p_<?php echo $row['poll_id']; ?>" name="poll" value="<?php echo $row['poll_id']; ?>" /></td>
39 <td><label for="p_<?php echo $row['poll_id']; ?>"><?php echo AT_print($row['question'], 'polls.question'); ?></label></td>
40 <td><?php echo AT_DATE(_AT("server_date_format"), $row['created_date']); ?></td>
41 <td><?php echo $row['total']; ?></td>
43 <?php } while($row = mysql_fetch_assoc($this->result)); ?>
46 <td colspan="4"><?php echo _AT('none_found'); ?></td>