md5 =\n"); //print_r($md5); //print("\n"); fclose($fp); // Show files... html_header("Download"); print("

Download

"); html_start_table(array("Version", "Filename", "Size", "MD5 Sum")); $curversion = ""; $firstversion = current($files); reset($files); while (list($file, $version) = each($files)) { html_start_row(); if ($version == $firstversion) { $cs = ""; $ce = ""; } else { $cs = ""; $ce = ""; } if ($version != $curversion) { if ($curversion != "") { print(""); html_end_row(); html_start_row(); } $curversion = $version; print("$cs$version$ce"); } else print("$cs$ce"); $kbytes = (int)((filesize("swfiles/$file") + 1023) / 1024); $filemd5 = $md5["$file"]; print("$cs$file$ce" ."$cs${kbytes}k$ce" ."$cs$filemd5$ce"); html_end_row(); } html_end_table(); html_footer(); // // End of "$Id: software.php,v 1.2 2004/05/19 12:15:20 mike Exp $". // ?>