website/progress.php

50 lines
1.7 KiB
PHP
Raw Normal View History

2000-05-08 02:39:55 +00:00
<? // Preamble
$pageName = "Progress";
$focused = "none"; // Dock icon name to gets a border
2001-10-17 05:46:43 +00:00
$currPage = "progress"; // Name of the page, for the menu
2000-05-08 02:39:55 +00:00
require("parts/preamble.php"); // Load most of document
?>
<TABLE width="100%" cellSpacing="0" cellPadding="0" border="0">
<TR vAlign=top>
<TD colSpan="2">
<?
need ('graph table');
2000-05-08 02:39:55 +00:00
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>';
}
2000-05-08 02:39:55 +00:00
function progressMeter( $name, $pct, $comments )
{
$result = '';
$result .= '<TR><TD noWrap class="progress" align="right">' . $name . '</TD><TH>&nbsp;</TH>';
2001-07-31 14:33:09 +00:00
$result .= '<TD noWrap align="center" vAlign="middle"><IMG src="/img/blank.gif" height="1" width="1" alt="' . $pct . '% Complete">';
2000-05-08 02:39:55 +00:00
$result .= barGraph( $pct );
$result .= '</TD><TH>&nbsp;</TH><TD class="progress" align="left">' . $comments . '</TD></TR>';
echo $result;
}
tableHeader("100%", 'black');
progressKey();
2000-10-19 16:57:26 +00:00
// Software targets
progressMeter ('SDL', 96, 'Cross-platform software standard');
2000-10-19 16:57:26 +00:00
progressMeter ('SVGAlib', 98, 'Working properly');
progressMeter ('X11', 98, 'Working properly');
// OpenGL targets
progressMeter ('3Dfx', 85, 'Working properly');
progressMeter ('GLX', 98, 'Working well');
2000-10-19 16:57:26 +00:00
progressMeter ('SDL-GL', 96, 'New cross-platform OpenGL standard');
progressKey ();
tableFooter ();
?>
</TD>
</TR>
</TABLE>
2000-05-08 02:39:55 +00:00
<!--NOSEARCH-->
<?
2000-10-19 16:57:26 +00:00
require "parts/postamble.php"; // Finish this sucker up
2000-05-08 02:39:55 +00:00
?>