1 <form name="form" method="get" action="<?php echo $_SERVER['PHP_SELF']; ?>">
2 <div class="table-surround">
3 <table class="data" summary="Title and date of instructor announcements" >
5 <?php if ($this->col == 'title'): ?>
9 <?php elseif($this->col == 'date'): ?>
16 <th scope="col"> </th>
17 <th scope="col"><a href="mods/_standard/announcements/index.php?<?php echo $this->orders[$this->order]; ?>=title"><?php echo _AT('title'); ?></a></th>
18 <th scope="col"><a href="mods/_standard/announcements/index.php?<?php echo $this->orders[$this->order]; ?>=date"><?php echo _AT('date'); ?></a></th>
23 <td colspan="3"><input type="submit" name="edit" value="<?php echo _AT('edit'); ?>" class="button"/> <input type="submit" name="delete" value="<?php echo _AT('delete'); ?>" class="button"/></td>
27 <?php if ($row = mysql_fetch_assoc($this->result)): ?>
29 <tr onkeydown="document.form['n<?php echo $row['news_id']; ?>'].checked = true; rowselect(this);" onmousedown="document.form['n<?php echo $row['news_id']; ?>'].checked = true; rowselect(this);" id="r_<?php echo $row['news_id']; ?>">
31 <td><input type="radio" name="aid" value="<?php echo $row['news_id']; ?>" id="n<?php echo $row['news_id']; ?>" /></td>
33 <td><label for="n<?php echo $row['news_id']; ?>"><?php echo AT_print($row['title'], 'news.title'); ?></label></td>
34 <td><?php echo AT_date(_AT('announcement_date_format'), $row['date'], AT_DATE_MYSQL_DATETIME); ?></td>
36 <?php } while ($row = mysql_fetch_assoc($this->result)); ?>
39 <td colspan="3"><?php echo _AT('none_found'); ?></td>