Download\n");
print("
Your download should begin shortly. If not, please "
."click here to download the file "
."from the current mirror.
\n"
."\n");
}
else
{
// Show files...
print("Releases
\n");
html_start_table(array("Version", "Filename", "Size", "MD5 Sum"));
$curversion = "";
for ($i = 0; $i < sizeof($files); $i ++)
{
// Grab the data for the current file...
$data = explode(" ", $files[$i]);
$md5 = $data[0];
$fversion = $data[1];
$filename = $data[2];
$basename = basename($filename);
if ($fversion == $version)
{
$cs = "";
$ce = " | ";
}
else
{
$cs = "";
$ce = " | ";
}
if ($fversion != $curversion)
{
if ($curversion != "")
{
html_start_row("header");
print(" | ");
html_end_row();
}
$curversion = $fversion;
html_start_row();
print("$cs$fversion$ce");
}
else
{
html_start_row();
print("$cs$ce");
}
if (file_exists("/home/ftp.easysw.com/pub/$filename"))
$kbytes = (int)((filesize("/home/ftp.easysw.com/pub/$filename") + 1023) / 1024);
else
$kbytes = "???";
print("$cs"
."$basename$ce"
."$cs${kbytes}k$ce"
."$cs$md5$ce");
html_end_row();
}
html_end_table();
print("\n"
."The $PROJECT_NAME software is available via Subversion "
."using the following URL:
\n"
."\n"
." "
."http://svn.easysw.com/public/$PROJECT_MODULE/\n"
."
\n"
."The following command can be used to checkout the current "
."$PROJECT_NAME source from Subversion:
\n"
."\n"
." svn co http://svn.easysw.com/public/$PROJECT_MODULE/trunk/ $PROJECT_MODULE\n"
."
\n");
}
// Show the standard footer...
html_footer();
//
// End of "$Id$".
//
?>