2000-03-19 06:15:10 +00:00
< ?
2000-03-06 08:20:37 +00:00
$sitename = " The QuakeForge Project " ;
$pagename = " Homepage " ;
2000-03-19 06:15:10 +00:00
require ( " parts/library.php " ); // Load function library
2000-03-06 08:20:37 +00:00
include ( " parts/head.php " ); // Load the HEAD and open BODY
include ( " parts/topstrip.php " ); // Display top strip
include ( " parts/titletable.php " ); // Display main title w/ logos
?>
< TABLE width = " 100% " cellspacing = 0 cellpadding = 0 border = 0 >
< TR valign = " top " >
2000-03-19 06:15:10 +00:00
< ?
2000-03-06 08:20:37 +00:00
include ( " parts/menu.php " ); // Import left-side menus
tableSpacer ( 1 , 9 , 1 , " black " ); // Separate content from menus
?>
< TD width = " 100% " >
< ? php
$focused = " home " ; // name of focused icon
include ( " parts/topmain.php " ); // Display content top table
?>
< P >
2000-03-08 22:59:34 +00:00
QuakeForge ' s aim is to create a long - lasting project to work on developing and extending the Quake & reg ; source release ( and any future releases ) while maintaining backwards compatibility with the original Quake and QuakeWorld & reg ; . Our international team of developers is working hard to reach this goal , and we believe we are succeeding .
2000-03-06 08:20:37 +00:00
< P >
< TABLE width = " 100% " cellSpacing = " 0 " cellPadding = " 0 " border = " 0 " >
< TR vAlign = top >
< TD colSpan = " 2 " >
2000-03-19 06:15:10 +00:00
< ?
function newsItem ( $date , $user , $text )
{
echo '<TR><TD><DL><DT>Posted on ' . $date . ' by ' . $user . '</DT>' .
' <DD>' . $text . '</DD>' .
'</DL></TD></TR>' ;
}
tableBoxHeader ( 'black' , $tableHeadColor );
2000-03-08 22:59:34 +00:00
tableTitle ( 'Latest News' , 1 , $tableHeadColor );
2000-03-19 06:15:10 +00:00
//$conn = mysql_pconnect( localhost, "quake", "password" );
2000-03-06 08:20:37 +00:00
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 >' ;
2000-03-08 22:59:34 +00:00
$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 );
2000-03-06 08:20:37 +00:00
}
} else {
tableNewsItem ( 'Now' , 'nobody' , 'No current news!' );
}
2000-03-08 22:59:34 +00:00
$result = mysql_close ( $conn );
2000-03-06 08:20:37 +00:00
} else {
2000-03-06 12:25:13 +00:00
$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.' ;
2000-03-19 06:15:10 +00:00
newsItem ( '06 Mar 2000' , 'Mercury' , $newsItem );
2000-03-06 08:29:04 +00:00
2000-03-06 08:20:37 +00:00
$newsItem = '<P>Knghtbrd, our release manager, has been instructed to lay off the Quack.. <=:]' ;
2000-03-19 06:15:10 +00:00
newsItem ( '27 Feb 2000' , 'Mercury' , $newsItem );
2000-01-14 17:24:34 +00:00
2000-03-06 08:20:37 +00:00
$newsItem = '<P><B>QuackForge 0.1.1 has arrived!</B> tar.gz, tar.bz2, and zip source archives are available at our <A href="http://sourceforge.net/project/filelist.php?group_id=882">Downloads page</A>. Grab your copy today!' ;
2000-03-19 06:15:10 +00:00
newsItem ( '27 Feb 2000' , 'Knghtbrd' , $newsItem );
2000-01-07 16:13:52 +00:00
2000-03-06 08:20:37 +00:00
$newsItem = '<P>Daniel McGregor has joined the project to maintain OpenBSD support.' .
'<P>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.' ;
2000-03-19 06:15:10 +00:00
newsItem ( '25 Feb 2000' , 'Palisade' , $newsItem );
2000-03-06 08:20:37 +00:00
}
tableBoxFooter ();
?>
</ TD >
</ TR >
</ TABLE >
2000-03-19 06:15:10 +00:00
< ?
2000-03-16 05:19:09 +00:00
include ( " sponsor_incl.html " );
?>
2000-03-06 08:20:37 +00:00
& nbsp ; < BR >
</ TD >
2000-03-19 06:15:10 +00:00
< ?
2000-03-06 08:20:37 +00:00
tableSpacer ( 1 , 9 , 1 , " black " );
?>
</ TR >
< TR >
< TD COLSPAN = " 4 " >
2000-03-19 06:15:10 +00:00
< ?
2000-03-06 08:20:37 +00:00
include ( " parts/copyright.php " );
?>
</ TD >
</ TR >
</ TABLE >