get_articles($category, $perpage, $startrow); if(count($articles)==0) $articles[0] = $news->no_articles(); foreach($articles as $article) { 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 "