website/progress.php
2000-04-18 16:25:45 +00:00

79 lines
2.8 KiB
PHP

<?
$sitename = "The QuakeForge Project";
$pagename = "Progress";
require("parts/library.php"); // Load function library
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">
<?
include("parts/menu.php"); // Import left-side menus
tableSpacer( 1, 9, 1, "black"); // Separate content from menus
?>
<TD width="100%">
<?
$focused = "none"; // name of focused icon
include( "parts/topmain.php" ); // Display content top table
?>
<P>
<TABLE width="100%" cellSpacing="0" cellPadding="0" border="0">
<TR vAlign=top>
<TD colSpan="2">
<A name="ProgressMeter"></A>
<?
function progressKey() // Display key for progress bar
{
echo '<TR><TD>&nbsp;</TD><TD>&nbsp;</TD><TD align="center">' .
'<IMG src="/img/graph/ProgressBar.desc.png" ALT="0-33% Hackers, 34-67% Developers, 68-100% Users">' .
'</TD><TD>&nbsp;</TD><TD align="left" ></TD></TR>';
}
function progressMeter( $name, $pct, $comments )
{
$result = '';
$result .= '<TR><TD class="progress" align="right">' . $name . '</TD><TH>&nbsp;</TH>';
$result .= '<TD align="center" vAlign="center"><IMG src="/img/blank.gif" height="1" width="1" alt="' . $pct . '% Complete">';
$result .= barGraph( $pct );
$result .= '</TD><TH>&nbsp;</TH><TD class="progress" align="left">' . $comments . '</TD></TR>';
echo $result;
}
tableBoxHeader( 'black', $tableHeadColor );
tableTitle( 'Progress', 3, $tableHeadColor );
// tableBoxHeader("Progress", 3, 'white', '#737b9c', 'black');
echo '<TR><TD colSpan="3">';
tableHeader(3, 'black');
progressKey();
progressMeter('3Dfx MiniGL', 85, 'Being replaced by Mesa where possible');
progressMeter('DOS', 65, 'Working on DJGPP cross-compilation');
progressMeter('GGI', 90, 'New cross-platform software standard?');
progressMeter('GLX', 95, 'Working properly');
progressMeter('MGL', 80, 'No comments');
progressMeter('SDL', 90, 'New cross-platform software standard?');
progressMeter('Sun XIL', 50, 'Unknown status');
progressMeter('SVGAlib', 85, 'No comments');
progressMeter('WGL', 70, 'No comments');
progressMeter('X11', 95, 'Working properly');
progressKey();
tableFooter();
tableBoxFooter();
?>
</TD>
</TR>
</TABLE>
&nbsp;<BR>
</TD>
<?
tableSpacer( 1, 9, 1, "black");
?>
</TR>
<TR>
<TD COLSPAN="4">
<?
include("parts/copyright.php");
?>
</TD>
</TR>
</TABLE>