no news!

There are no news items

"; } else { while ($mysql=mysql_fetch_array($result)) { $res = mysql_query("select count(*) from $com_table where topic_id = {$mysql[topic_id]}"); $count = 0; if (list($c) = mysql_fetch_array($res)) $count = $c; echo "

" . checkContent($mysql[news_topic]) . "" . $mysql[topic_date] . "

Posted by: " . checkContent($mysql[news_author]) . "
" . checkContent($mysql[news_message]) . "


"; $pref = ($count != 1 ? 's' : ''); if ($mysql[comments_enabled] == 1) { # comments enabled echo "

$count Comment{$pref} - View/Add Comments

"; } elseif ($mysql[comments_enabled] == 0 && $count > 0) { # comments locked echo "

$count Comment{$pref} - View Comments

"; } else { } # comments disabled } } getFooter(); ?>