include("parts/menu.php"); // Import left-side menus
tableSpacer( 1, 9, 1, "black"); // Separate content from menus
?>
QuakeForge's aim is to create a long-lasting project to work on developing and extending the Quake® source release (and any future releases) while maintaining backwards compatibility with the original Quake and QuakeWorld®. Our international team of developers is working hard to reach this goal, and we believe we are succeeding.
function newsItem( $date, $user, $text )
{
echo ' | - Posted on ' . $date . ' by ' . $user . '
' .
' - ' . $text . '
' .
'
| ';
}
tableBoxHeader( 'black', $tableHeadColor );
tableTitle( 'Latest News', 1, $tableHeadColor );
//$conn = mysql_pconnect( localhost, "quake", "password" );
if ( $conn ) {
$query = 'SELECT n_date, n_user, n_news FROM news_main ' .
'WHERE n_date > ( \'now\' + \'1 month ago\'::reltime )::date ' .
'ORDER BY n_date USING >';
$result = mysql_query( $query, $conn );
$numRows = mysql_num_rows( $result );
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 );
}
} else {
tableNewsItem( 'Now', 'nobody', 'No current news!' );
}
$result = mysql_close( $conn );
} else {
$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.';
newsItem( '06 Mar 2000', 'Mercury', $newsItem );
$newsItem = ' Knghtbrd, our release manager, has been instructed to lay off the Quack.. <=:]';
newsItem( '27 Feb 2000', 'Mercury', $newsItem );
$newsItem = ' QuackForge 0.1.1 has arrived! tar.gz, tar.bz2, and zip source archives are available at our Downloads page. Grab your copy today!';
newsItem( '27 Feb 2000', 'Knghtbrd', $newsItem );
$newsItem = ' Daniel McGregor has joined the project to maintain OpenBSD support.' .
' As a result of the current situation with QuakeLives, we have added a new goal: to support mod developers (such as MegaTF) more and provide 32-bit Windows executables (now that we have a qualified Windows developer working with us) for download.';
newsItem( '25 Feb 2000', 'Palisade', $newsItem );
}
tableBoxFooter();
?>
include("sponsor_incl.html");
?>
|
tableSpacer( 1, 9, 1, "black");
?>