website/documentation.php
2001-02-06 19:21:47 +00:00

50 lines
1 KiB
PHP

<? // Preamble
$pageName = "Documentation";
$focused = "none"; // Dock icon name to gets a border
require("parts/preamble.php"); // Load most of document
?>
<?
$program_list = array (
"qf-client-3dfx",
"qf-client-ggi",
"qf-client-glx",
"qf-client-mgl",
"qf-client-sdl",
"qf-client-sgl",
"qf-client-svga",
"qf-client-wgl",
"qf-client-x11",
"qf-server"
);
?>
<P>cvar documentation</P>
<UL>
<?
reset ($program_list);
while (list (, $cdl) = each ($program_list)) {
if (is_file ('doc/' . $cdl . '-cvar.txt')) {
echo '<LI>';
echo '<A href="cvar.php?program=' . $cdl . '">' . $cdl . '</A>';
echo '</LI>';
}
}
?>
</UL>
<P>command documentation</P>
<UL>
<?
reset ($program_list);
while (list (, $cdl) = each ($program_list)) {
if (is_file ('doc/' . $cdl . '-cmd.txt')) {
echo '<LI>';
echo '<A href="cmd.php?program=' . $cdl . '">' . $cdl . '</A>';
echo '</LI>';
}
}
?>
</UL>
<?
require("parts/postamble.php"); // Finish this sucker up
?>