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"; } } $w445= array( "num"=>"4.45", "status"=>"Recommended version", "file"=>"boinc_4.45_windows_intelx86.exe", "date"=>"6 June 2005", "type"=>win_new(), "features"=>" ", "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 (standard GUI)", "file"=>"boinc_4.43_macOSX.zip", "date"=>"21 May 2005", "type"=>mac_advanced(), "bugs"=>" " ); $m443c = array( "num"=>"4.43", "status"=>"Unix command-line version", "file"=>"boinc_4.43_powerpc-apple-darwin.zip", "date"=>"21 May 2005", "type"=>bare_core(), "bugs"=>" " ); $m419 = array( "num"=>"4.19", "status"=>"Older version", "file"=>"boinc_4.19_powerpc-apple-darwin.gz", "date"=>"25 Jan 2005", "type"=>bare_core() ); $m437s = array( "num"=>"4.43 (4)", "status"=>"Recommended 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"=>"Older 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( $w445, $w419 ) ); $mac = array( "name"=>"Macintosh OS X (10.3 or higher)", "versions"=>array( $m443, $m437s, $m443c, $m419 ) ); $linux = array( "name"=>"Linux/x86 details", "versions"=>array( $l443, $l419 ) ); $solaris = array( "name"=>"Solaris/SPARC details", "versions"=>array( $s419, $s443 ) ); $platforms = array( "win"=>$windows, "mac"=>$mac, "linux"=>$linux, "solaris"=>$solaris ); ?>