diff -r 71b50f8c8f85 -r e9708657875a plugins/SpecialAdmin.php --- a/plugins/SpecialAdmin.php Tue Jul 10 11:59:02 2007 -0400 +++ b/plugins/SpecialAdmin.php Tue Jul 10 12:31:12 2007 -0400 @@ -85,18 +85,16 @@ if(getConfig('log_hits') == '1') { $stats = stats_top_pages(10); + //die('
'.print_r($stats,true).'
'); $c = 0; $cls = 'row2'; echo '

Most requested pages

'; - foreach($stats as $page => $count) + foreach($stats as $data) { - if(isset($paths->pages[$page])) - { - echo ''; - $cls = ( $cls == 'row1' ) ? 'row2' : 'row1'; - echo ''; - echo ''; - } + echo ''; + $cls = ( $cls == 'row1' ) ? 'row2' : 'row1'; + echo ''; + echo ''; } echo '
PageHits
'.$paths->pages[$page]['name'].''.$count.'
'.$data['page_title'].''.$data['num_hits'].'
'; }