1 <?php global $contentManager;?>
2 <form name="form" action="<?php echo $_SERVER['PHP_SELF']; ?>" method="get">
3 <div class="input-form">
5 <label for="id"><?php echo _AT('select_member'); ?></label><br />
6 <select name="id" id="id">
8 while ($row = mysql_fetch_assoc($this->result)) {
9 $sender = get_display_name($row['member_id']);
10 echo '<option value="'.$row['member_id'].'"';
11 if ($row['member_id'] == $_GET['id']) {
12 echo ' selected="selected"';
14 echo '>'.$sender.'</option>';
20 <div class="row buttons">
21 <input type="submit" name="submit" value="<?php echo _AT('view'); ?>" />
26 <?php if ($_GET['id']) : ?>
27 <div class="table-surround">
28 <table class="data" summary="View the usage of a specific student">
31 <th scope="col"><?php echo _AT('page'); ?></th>
32 <th scope="col"><?php echo _AT('visits'); ?></th>
33 <th scope="col"><?php echo _AT('duration'); ?></th>
37 <?php if ($row = mysql_fetch_assoc($this->result_list)): ?>
40 <td><?php echo $contentManager->_menu_info[$row['content_id']]['title']; ?></td>
41 <td><?php echo $row['counter']; ?></td>
42 <td><?php echo $row['total']; ?></td>
44 <?php } while ($row = mysql_fetch_assoc($this->result_list)); ?>
47 <td colspan="3"><?php echo _AT('none_found'); ?></td>