1 <?php global $contentManager;?>
2 <div class="table-surround">
3 <table class="data static" summary="">
6 <th scope="col"><?php echo _AT('page'); ?></th>
7 <th scope="col"><?php echo _AT('visits'); ?></th>
8 <th scope="col"><?php echo _AT('duration'); ?></th>
9 <th scope="col"><?php echo _AT('last_accessed'); ?></th>
16 if (mysql_num_rows($this->result) > 0) {
17 while ($row = mysql_fetch_assoc($this->result)) {
18 if ($row['total'] == '') {
19 $row['total'] = _AT('na');
23 echo '<td><a href='.AT_BASE_HREF.url_rewrite('content.php?cid='.$row['content_id']). '>' . $contentManager->_menu_info[$row['content_id']]['title'] . '</a></td>';
24 echo '<td>' . $row['total_hits'] . '</td>';
25 echo '<td>' . $row['total_duration'] . '</td>';
26 if ($row['last_accessed'] == '') {
27 echo '<td>' . _AT('na') . '</td>';
29 echo '<td>' . AT_date(_AT('forum_date_format'), $row['last_accessed'], AT_DATE_MYSQL_DATETIME) . '</td>';
37 echo '<tr><td colspan="4">' . _AT('none_found') . '</td></tr>';