get_articles($category, $perpage, $startrow); if(count($articles)==0) $articles[0] = $news->no_articles(); foreach($articles as $article) { echo "

{$article['title']}

"; echo "" . format_unix_date($article['post_date'], 1) . "
"; if ($article['short_description']) echo "

".htmlspecialchars_decode(text_to_html($article['short_description']))."\n"; elseif ($category == "News") echo "

".trail(htmlspecialchars_decode(text_to_html($article['article'])),300)."\n"; else echo "

".htmlspecialchars_decode(text_to_html($article['article']))."

\n"; if ($article['short_description'] || $category == "News") echo "
Read the full article

\n"; echo "
"; } ?>
page_nav($category, $perpage, $startrow); ?>
draw($month,$year); } ?>