move code up one directory
[atutor.git] / themes / mobile / editor / page_student_stats.tmpl.php
1 <table class="data" summary="">
2 <thead>
3 <tr>
4         <th scope="col"><?php echo _AT('login_name'); ?></th>
5         <th scope="col"><?php echo _AT('visits'); ?></th>
6         <th scope="col"><?php echo _AT('avg_duration'); ?></th>
7         <th scope="col"><?php echo _AT('duration'); ?></th>
8 </tr>
9 </thead>
10 <tbody>
11 <?php if ($row = mysql_fetch_assoc($this->result)) : ?>
12         <?php do { ?>
13         <tr onmousedown="document.location='<?php echo AT_BASE_HREF; ?>mods/_standard/tracker/tools/student_usage.php?id=<?php echo $row['member_id']; ?>'" title="<?php echo _AT('member_stats'); ?>">
14                 <td><a href="<?php echo AT_BASE_HREF; ?>mods/_standard/tracker/tools/student_usage.php?id=<?php echo $row['member_id']; ?>"><?php echo get_display_name($row['member_id']); ?></a></td>
15                 <td><?php echo $row['counter']; ?></td>
16                 <td><?php echo $row['average']; ?></td>
17                 <td><?php echo $row['total']; ?></td>
18         </tr>
19         <?php } while ($row = mysql_fetch_assoc($this->result)); ?>
20 <?php else: ?>
21         <tr>
22                 <td colspan="4"><?php echo _AT('none_found'); ?></td>
23         </tr>
24 <?php endif; ?>
25 </tbody>
26 </table>