From 8cb2372450e4bb5d14735690f41bd2624b7f2b19 Mon Sep 17 00:00:00 2001 From: Jeff Teunissen Date: Sun, 19 Mar 2000 07:52:10 +0000 Subject: [PATCH] Fixed news. --- index.php | 8 ++++---- news.php | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/index.php b/index.php index d49bcbe..0b990f9 100644 --- a/index.php +++ b/index.php @@ -43,15 +43,15 @@ if ( $numRows > 0 ) { for ( $i = 0 ; $i < $numRows ; $i++ ) { list( $n_date, $n_user, $n_news ) = pg_fetch_row( $result,$i ); - tableNewsItem( $n_date, $n_user, $n_news ); + newsItem( $n_date, $n_user, $n_news ); } } else { - tableNewsItem( 'Now', 'nobody', 'No current news!' ); + newsItem( 'Now', 'nobody', 'No current news!' ); } $result = mysql_close( $conn ); } else { - $newsitem = '

A new State of the Code address has been posted coitaining important information about support for MegaTF\'s upcoming Mega2k release. If you play MegaTF it is highly recommended that you read this less technical than usual SotC. Even if you don\'t play it, you probably should have a look.'; - tableNewsItem( '18 Mar 2000', 'Knghtbrd', $newsItem ); + $newsitem = '

A new State of the Code address has been posted coitaining important information about support for MegaTF\'s upcoming Mega2k release. If you play MegaTF it is highly recommended that you read this less technical than usual SotC. Even if you don\'t play it, you probably should have a look.'; + newsItem( '18 Mar 2000', 'Knghtbrd', $newsItem ); $newsItem = '

Thanks to Deek we now have a brand new site layout which should be much more consistent.' . '

In other news, the votes for the logo are still being submitted, but we should have something real soon now.'; diff --git a/news.php b/news.php index 9a71772..776ae1f 100644 --- a/news.php +++ b/news.php @@ -39,15 +39,15 @@ if ( $numRows > 0 ) { for ( $i = 0 ; $i < $numRows ; $i++ ) { list( $n_date, $n_user, $n_news ) = pg_fetch_row( $result,$i ); - tableNewsItem( $n_date, $n_user, $n_news ); + newsItem( $n_date, $n_user, $n_news ); } } else { - tableNewsItem( 'Now', 'nobody', 'No news!' ); + newsItem( 'Now', 'nobody', 'No news!' ); } $result = mysql_close( $conn ); } else { - $newsitem = '

A new State of the Code address has been posted coitaining important information about support for MegaTF\'s upcoming Mega2k release. If you play MegaTF it is highly recommended that you read this less technical than usual SotC. Even if you don\'t play it, you probably should have a look.'; - tableNewsItem( '18 Mar 2000', 'Knghtbrd', $newsItem ); + $newsitem = '

A new State of the Code address has been posted coitaining important information about support for MegaTF\'s upcoming Mega2k release. If you play MegaTF it is highly recommended that you read this less technical than usual SotC. Even if you don\'t play it, you probably should have a look.'; + newsItem( '18 Mar 2000', 'Knghtbrd', $newsItem ); $newsItem = '

Thanks to Deek we now have a brand new site layout which should be much more consistent.' . '

In other news, the votes for the logo are still being submitted, but we should have something real soon now.';