Single-mode Windows installer"; } } function win_new() { global $xml; if ($xml) { return "Windows installer"; } else { return "Windows installer"; } } function bare_core() { global $xml; if ($xml) { return "Core client only (command-line)"; } else { return "Core client only (command-line)"; } } function sea() { global $xml; if ($xml) { return "Self-extracting archive"; } else { return "Self-extracting archive"; } } function mac_simple() { global $xml; if ($xml) { return "Menubar (simple GUI)"; } else { return "Menubar (simple GUI)"; } } function mac_advanced() { global $xml; if ($xml) { return "Advanced GUI"; } else { return "Advanced GUI"; } } $w419 = array( "num"=>"4.19", "status"=>"Older version", "file"=>"boinc_4.19_windows_intelx86.exe", "date"=>"25 Jan 2005", "type"=>win_old(), null, "bugs"=>" " ); $w443= array( "num"=>"4.43", "status"=>"Recommended version", "file"=>"boinc_4.43_windows_intelx86.exe", "date"=>"19 May 2005", "type"=>win_new(), "features"=>" ", "bugs"=>" " ); $w444= array( "num"=>"4.44", "status"=>"Development version", "file"=>"boinc_4.44_windows_intelx86.exe", "date"=>"26 May 2005", "type"=>win_new(), "features"=>" ", "bugs"=>" " ); $w419 = array( "num"=>"4.19", "status"=>"Older version", "file"=>"boinc_4.19_windows_intelx86.exe", "date"=>"25 Jan 2005", "type"=>win_old(), null, "bugs"=>" " ); $m443 = array( "num"=>"4.43", "status"=>"Recommended version (advanced GUI)", "file"=>"boinc_4.43_macOSX.zip", "date"=>"21 May 2005", "type"=>mac_advanced(), "bugs"=>" " ); $m443c = array( "num"=>"4.43", "status"=>"Recommended version (command line, no GUI)", "file"=>"boinc_4.43_powerpc-apple-darwin.zip", "date"=>"21 May 2005", "type"=>bare_core(), "bugs"=>" " ); $m419 = array( "num"=>"4.19", "status"=>"Old version", "file"=>"boinc_4.19_powerpc-apple-darwin.gz", "date"=>"25 Jan 2005", "type"=>bare_core() ); $m437s = array( "num"=>"4.43 (4)", "status"=>"Development version (simple GUI)", "file"=>"boinc_menubar_v4.43_(4)_mac.zip", "date"=>"23 May 2005", "type"=>mac_simple(), "features"=>" " ); $l443 = array( "num"=>"4.43", "status"=>"Recommended version", "file"=>"boinc_4.43_i686-pc-linux-gnu.sh", "date"=>"23 May 2005", "type"=>sea() ); $l419 = array( "num"=>"4.19", "status"=>"Old Version", "file"=>"boinc_4.19_i686-pc-linux-gnu.gz", "date"=>"25 Jan 2005", "type"=>bare_core() ); $s419 = array( "num"=>"4.19", "status"=>"Recommended version", "file"=>"boinc_4.19_sparc-sun-solaris2.7.gz", "date"=>"25 Jan 2005", "type"=>bare_core() ); $s443 = array( "num"=>"4.43", "status"=>"Development version", "file"=>"boinc_4.43_sparc-sun-solaris2.7.sh", "date"=>"26 May 2005", "type"=>sea() ); $windows = array( "name"=>"Windows", "versions"=>array( $w443, $w444, $w419 ) ); $mac = array( "name"=>"Macintosh OS X", "versions"=>array( $m443, $m437s, $m443c, $m419 ) ); $linux = array( "name"=>"Linux/x86", "versions"=>array( $l443, $l419 ) ); $solaris = array( "name"=>"Solaris/SPARC", "versions"=>array( $s419, $s443 ) ); $platforms = array( "win"=>$windows, "mac"=>$mac, "linux"=>$linux, "solaris"=>$solaris ); ?>