This should work..

This commit is contained in:
Zephaniah E. Hull 2000-03-20 05:41:28 +00:00
parent 5d0ec90c77
commit 1fb41193cc
5 changed files with 10 additions and 14 deletions

View file

@ -1,11 +1,4 @@
<?
function newsItem( $date, $user, $text )
{
echo '<TR><TD><DL><DT>Posted on ' . $date . ' by ' . $user . '</DT>' .
' <DD>' . $text . '</DD>' .
'</DL></TD></TR>';
}
$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. <EM>UPDATE: There\'s new info there, check it out</EM>';
newsItem( '18 Mar 2000', 'Knghtbrd', $newsItem );

View file

@ -26,6 +26,7 @@
<?
tableBoxHeader( 'black', $tableHeadColor );
tableTitle( 'Latest News', 1, $tableHeadColor );
include("news_funcs.php");
include("cur_news.php");
tableBoxFooter();
?>

View file

@ -24,6 +24,7 @@
<?
tableBoxHeader( 'black', $tableHeadColor );
tableTitle( 'All News', 1, $tableHeadColor );
include("news_funcs.php");
include("cur_news.php");
include("old_news.php");
tableBoxFooter();

8
news_funcs.php Normal file
View file

@ -0,0 +1,8 @@
<?
function newsItem( $date, $user, $text )
{
echo '<TR><TD><DL><DT>Posted on ' . $date . ' by ' . $user . '</DT>' .
' <DD>' . $text . '</DD>' .
'</DL></TD></TR>';
}
?>

View file

@ -1,11 +1,4 @@
<?
function newsItem( $date, $user, $text )
{
echo '<TR><TD><DL><DT>Posted on ' . $date . ' by ' . $user . '</DT>' .
' <DD>' . $text . '</DD>' .
'</DL></TD></TR>';
}
$newsItem = '<P>It turns out that our newest core member, Dan Olson, was responsible for the Hexen <a href="http://www.raven-games.com/hhexen">port</a> to Linux.' .
'<P>QuakeWorld Forever is considering hosting a mirror of the QuakeForge CVS in Australia for better access in that location.' .
'<P>Jason Nelson has successfuly built all targets in win9x/NT/win2k, he\'s working on some glitches in some of the targets.' .