</table>
<?php 
// Start the news display class
$newsDisplay = new newsDisplay();
// News header
$newsDisplay->newsHeader(HEADING_TITLE, $newsDate, $newsHeaderLinks);
// Back link to article
$newsDisplay->articleBackLink($backButtonURL, $backButton);
// Set article heading
$newsDisplay->articleHeading($articleName);
// Set by line
$newsDisplay->articleByLine(sprintf(TEXT_ARTICLE_BY_LINE, $articleAuthor));
// Did we find some comments to display?
if ($commentsNotFound == true) {
    // Oh no, no comments were found
    $newsDisplay->commentsNotFound(TEXT_NO_NEWS_COMMENTS);
} else {
    $newsDisplay->clearSplit();
    foreach ($commentsBlock as $comments) {
        $newsDisplay->splitSolid();
        $newsDisplay->articleComments($comments['customersName'], $comments['commentsText'], $comments['dateAdded'], $comments['commentsSubject']);
    }
}
// Comments input
if ($mustLogin == true) {
    $newsDisplay->articleCommentsLogin(COMMENTS_FIELDSET_LEGEND, sprintf(TEXT_COMMENTS_MUST_LOGIN, zen_href_link(FILENAME_LOGIN, '', 'SSL')));
} else {
    $newsDisplay->articleCommentsInput($formActionURL, COMMENTS_FIELDSET_LEGEND, COMMENTS_FIELDSET_NAME, $nameInput, COMMENTS_FIELDSET_SUBJECT, $subjectInput, COMMENTS_FIELDSET_COMMENTS, $commentsInput, $commentsSubmitButton);
}
// News SubFooter
$newsDisplay->articleFooter(sprintf(TEXT_NEWS_FOOTER_OTHER, $newsSubFooterDate), $newsSubFooter, $newsSubFooterDateURL, sprintf(TEXT_NEWS_FOOTER_URL, $newsSubFooterDate));