'Brocton Online - '.$title, "keywords" => '', "description" => '', "author" => 'Dan Durrans (dan@durrans.com)' ); require(BR_DOCROOT.'_includes/header.php'); /*--------------------------------------Page Begins Here----------------------------------------------*/ ?>

Local News & Announcements

".$item['n_headline'].""; echo "

Posted by ".$item['n_name']." on ".date("jS F Y g:ia", $item['n_addstamp'])."
Article Ref: ".$item['n_ref']."

"; echo "

"; if (!empty($item['n_pic_data'])) echo "\"".$item['n_headline']."\""; echo nl2br($item['n_story']); echo "

"; echo "

".nl2br($item['n_extended'])."

"; echo "

Back to news listing

"; } elseif (isset($articles)) { if ($article = DB_get_array($articles)) { echo "
    "; do { echo "
  • ".$article['n_headline']."
    Posted by ".$article['n_name']." on ".date("jS F Y h:ia", $article['n_addstamp'])."
     
  • "; } while ($article = DB_get_array($articles)); echo "
"; /* ------- Page Buttons ------- */ $newerPage = $currentPage - 1; $olderPage = $currentPage + 1; echo "
"; if ($currentPage > 1) { echo "Newest"; echo " ~ "; echo "Newer"; } else { echo "Newest"; echo " ~ "; echo "Newer"; } echo " ~ "; if ($currentPage < $countTotalPages) { echo "Older"; echo " ~ "; echo "Oldest"; } else { echo "Older"; echo " ~ "; echo "Oldest"; } echo "
"; } elseif ((DB_num_rows($articles) < 1) && ($countTotalEntries > 0)) { echo "

You have tried to get to a page that doesn't exist.

"; echo "

Please click here to go back to the start of the news listings

"; } else { echo "

It looks like no one has added any news or announcements to the website. Prehaps you could be the first!

"; } echo "

If you are local to Brocton and fancy yourself as a journalist perhaps you might like to write some articles or post some notices here. Click the link below to get started.

"; echo "

Post a news article

"; } LIB_contentTableBottom(); ?>