create a fileUpdated function and use it :)

This commit is contained in:
Bill Currie 2003-08-10 05:48:33 +00:00
parent 3d70d0365d
commit 174e09109c

View file

@ -46,6 +46,11 @@
}
}
function fileUpdated ($file)
{
$ftime = filemtime ($file);
echo " Updated " . gmdate ("d M Y g:ia", $ftime) . " UTC";
}
?>
<P>QuakeForge and <A href="#quake2">Quake2Forge</A> are always in constant
@ -178,8 +183,7 @@ very few people on Windows would be able to play. <STRONG>:)</STRONG>
</LI>
<LI>Win32 binaries (Made with <A href="http://www.mingw.org/">MinGW</A> (GCC) in Linux)
<?
$ftime = filemtime ("files/qf-win32-server.zip");
echo " Updated " . gmdate ("d M Y g:ia", $ftime) . " UTC";
fileUpdated ("files/qf-win32-server.zip");
echo " <UL>";
echo " <LI>SDL (software) client ";
fileDownloadLink("files/qf-win32-client-sdl", "zip");
@ -206,7 +210,8 @@ very few people on Windows would be able to play. <STRONG>:)</STRONG>
?>
</LI>
<LI>qwprogs.dat for the server. Uses QuakeForge specific features.
<?fileDownloadLink("files/qwprogs.dat", "gz zip");?>
<?fileUpdated ("files/qf-win32-server.zip");
fileDownloadLink("files/qwprogs.dat", "gz zip");?>
</LI>
</UL>