'.$forum->getTitle().'
'.$forum->getDescription().' '.$forum->getThreadCount().' '.$forum->getPostCount().' '.time_diff_str($forum->getLastTimestamp(), time()).' '; } page_head(tr(FORUM_TITLE)); show_forum_title(NULL, NULL, false); start_forum_table(array(tr(FORUM_TOPIC), tr(FORUM_THREADS), tr(FORUM_POSTS), tr(FORUM_LAST_POST))); $categories = $mainFactory->getCategories(); $i=0; // For each category while ($categories[$i]){ echo ' '.$categories[$i]->getName().' '; $forums = $categories[$i]->getForums(); $ii=0; // Show a summary of each of the forums while ($forums[$ii]){ echo forum_summary($forums[$ii]); $ii++; } $i++; } end_table(); page_tail(); flush(); cleanup_forum_log(); ?>