// ?>
newsHeader(HEADING_TITLE, $newsDate, $newsHeaderLinks); // Did we find some articles to display? if ($articlesNotFound == true) { // Oh no, no articles were found $newsDisplay->articlesNotFound(sprintf(TEXT_NO_NEWS_ARTICLES, $newsCurrentDate)); $newsDisplay->articleSplit(); } else { foreach ($newsArticlesBlock as $newsArticle) { // Set article heading $newsDisplay->articleHeading($newsArticle['articleName']); // Set article main text $newsDisplay->articleText($newsArticle['articleText'], $newsArticle['articleImage']); // Set by line $newsDisplay->articleByLine(sprintf(TEXT_ARTICLE_BY_LINE, $newsArticle['articleAuthor'] )); // Set article links $newsDisplay->articleLinksBlock($newsArticle['links']); $newsDisplay->articleSplit(); } } // News Footer $newsDisplay->articleFooter(sprintf(TEXT_NEWS_FOOTER, $newsFooterDate), $newsFooter, $newsFooterDateURL, sprintf(TEXT_NEWS_FOOTER_URL, $newsFooterDate)); // Recent News Footer $newsDisplay->articleFooter(TEXT_RECENT_NEWS, $newsRecentFooter); // Archive link $newsDisplay->archiveLink(zen_href_link(FILENAME_NEWS_ARCHIVE), TEXT_NEWS_ARCHIVE_LINK); // Display this news page // New page content is output in valid XHTML // You can change how it displays in the stylesheet_news.css file $newsDisplay->displayNewsPage(); ?>