remove old readme
[atutor.git] / themes / simplified-desktop / instructor / content / page_student_stats.tmpl.php
1 <div class="table-surround">
2 <table class="data" summary="Student usage statistics by login name">
3 <thead>
4 <tr>
5         <th scope="col"><?php echo _AT('login_name'); ?></th>
6         <th scope="col"><?php echo _AT('visits'); ?></th>
7         <th scope="col"><?php echo _AT('avg_duration'); ?></th>
8         <th scope="col"><?php echo _AT('duration'); ?></th>
9 </tr>
10 </thead>
11 <tbody>
12 <?php if ($row = mysql_fetch_assoc($this->result)) : ?>
13         <?php do { ?>
14         <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'); ?>">
15                 <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>
16                 <td><?php echo $row['counter']; ?></td>
17                 <td><?php echo $row['average']; ?></td>
18                 <td><?php echo $row['total']; ?></td>
19         </tr>
20         <?php } while ($row = mysql_fetch_assoc($this->result)); ?>
21 <?php else: ?>
22         <tr>
23                 <td colspan="4"><?php echo _AT('none_found'); ?></td>
24         </tr>
25 <?php endif; ?>
26 </tbody>
27 </table>
28 </div>