mirror of
https://git.code.sf.net/p/quake/website
synced 2024-11-27 22:42:57 +00:00
Fixed news.
This commit is contained in:
parent
bc64789d06
commit
8cb2372450
2 changed files with 8 additions and 8 deletions
|
@ -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 = '<P>A new <A HREF="http://quake.sourceforge.net/progress.php">State of the Code</A> 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 = '<P>A new <A href="http://quake.sourceforge.net/progress.php">State of the Code</A> 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 = '<P>Thanks to Deek we now have a brand new site layout which should be much more consistent.' .
|
||||
'<P>In other news, the votes for the logo are still being submitted, but we should have something real soon now.';
|
||||
|
|
8
news.php
8
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 = '<P>A new <A HREF="http://quake.sourceforge.net/progress.php">State of the Code</A> 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 = '<P>A new <A href="http://quake.sourceforge.net/progress.php">State of the Code</A> 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 = '<P>Thanks to Deek we now have a brand new site layout which should be much more consistent.' .
|
||||
'<P>In other news, the votes for the logo are still being submitted, but we should have something real soon now.';
|
||||
|
|
Loading…
Reference in a new issue