Forums Overview

$cat) { echo "\n"; echo "\n"; echo "\n"; if (count($cat['forums'])) { echo ""; } echo "
"; echo utf8entities($cat['title']) . "(" . ($cat['type'] == "A" ? "alliance" : "general") . ")
"; if ($cat['desc'] != "") echo "

" . preg_replace('/\n/', '
', utf8entities($cat['desc'])) . "

\n"; else echo " "; echo "
\n"; echo ""; echo "\n"; for ($i=0;$i 0 ? 'un' : '') . 'read.gif'; echo ""; echo ""; echo ""; echo ""; echo ""; echo "\n\n"; } echo "
 Forum nameTopicsPostsLast post
FIXME"; echo utf8entities($cat['forums'][$i]['title']) . "" . $cat['forums'][$i]['topics'] . "" . $cat['forums'][$i]['posts'] . " "; $l = $cat['forums'][$i]['last']; if (is_null($l)) echo "No Posts"; else { echo "Last post by " . utf8entities($l['author']) . "
"; echo preg_replace('/ /', ' ', gmstrftime("%H:%M:%S on %d/%m/%Y", $l['moment'])); } echo "

"; if ($cat['forums'][$i]['description'] != '') echo preg_replace('/\n/', '
', utf8entities($cat['forums'][$i]['description'])); else echo " "; echo "

\n"; } ?>