".$page_title."\n"; if($cid != '') { print "

Home -> News -> ".$category_array[$cid]['category_name']."

"; $news = get_news($cid, 1, '', $r, $orderby); if(is_array($news)) { print "\n"; foreach($news as $news_record) { print "\t\n"; print "\t\t\n"; print "\t\n"; print "\t\n"; print "\t\t\n"; print "\t\n"; print "\t\n"; print "\t\t\n"; print "\t\n"; } print "
".$news_record['news_title']." (".format_date($news_record['date_submitted']).")
".$news_record['news_body']."

\n"; } else { print "

Sorry, there are no items in this category. Please check back later.

\n"; } print "

Home -> News -> ".$category_array[$cid]['category_name']."

"; } else { print "

Home -> News

"; if(is_array($category_array)) { print "
"; foreach($category_array as $category_record) { print "".$category_record['category_name']."

\n"; } } print "

Home -> News

"; } include_once $incdir."footer.inc"; include_once $incdir."disconnect.inc"; ?>