' . "\n"; $output .= '
' . "\n"; $output .= '

' . $news_item->date_added . "

\n"; $output .= '

' . stripslashes($news_item->title) . "

\n"; $output .= '
'; $output .= '

' . nl2br(stripslashes($news_item->content)) . "

\n"; $output .= "

\n"; $output .= '
' . "\n"; $output .= '
' . "\n"; if(@file_exists(FDIR_IMAGES . "news/" . $news_item->news_id . ".gif"))$output .= ''; $output .= '
' . "\n"; $output .= '
' . "\n\n"; echo $output; }else{ $news_query = "select n.news_id from " . db_table("news") . " n"; if($sv['dateRange'])$news_query .= " where n.date_added <= '" . $sv['dateRange'] . "-31' and n.date_added >= '" . $sv['dateRange'] . "-01'"; $news_query .= " order by n.date_added desc"; $news_query = @mysql_query($news_query); while($news = @mysql_fetch_assoc($news_query)){ $news_item = new News($news['news_id']); echo $news_item->display(); } } ?>
News Archive
()