website/documentation.php
2001-10-17 05:46:43 +00:00

51 lines
1.1 KiB
PHP

<? // Preamble
$pageName = "Documentation";
$focused = "none"; // Dock icon name to gets a border
$currPage = "docs"; // Name of the page, for the menu
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
?>