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