2005-05-20 17:42:06 +00:00
|
|
|
<?php
|
|
|
|
|
2005-10-26 05:38:40 +00:00
|
|
|
function type_text($type) {
|
2005-05-20 17:42:06 +00:00
|
|
|
global $xml;
|
|
|
|
if ($xml) {
|
2005-10-26 05:38:40 +00:00
|
|
|
switch($type) {
|
|
|
|
case "win_old":
|
|
|
|
return "Single-mode Windows installer";
|
|
|
|
case "win_new":
|
|
|
|
return "Windows installer";
|
|
|
|
case "bare_core":
|
|
|
|
return "Core client only (command-line)";
|
|
|
|
case "sea":
|
|
|
|
return "Self-extracting archive";
|
|
|
|
case "mac_advanced":
|
|
|
|
return "Standard GUI";
|
|
|
|
}
|
2005-05-20 17:42:06 +00:00
|
|
|
} else {
|
2005-10-26 05:38:40 +00:00
|
|
|
switch($type) {
|
|
|
|
case "win_old":
|
|
|
|
return "<a href=client_windows.php>Single-mode Windows installer</a>";
|
|
|
|
case "win_new":
|
|
|
|
return "<a href=win_install.php>Windows installer</a>";
|
|
|
|
case "bare_core":
|
|
|
|
return "<a href=bare_core.php>Core client only (command-line)</a>";
|
|
|
|
case "sea":
|
|
|
|
return "<a href=sea.php>Self-extracting archive</a>";
|
|
|
|
case "mac_advanced":
|
|
|
|
return "<a href=mac_advanced.php>Standard GUI</a>";
|
|
|
|
}
|
2005-05-20 17:42:06 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2007-08-24 03:26:24 +00:00
|
|
|
$w51020= array(
|
|
|
|
"num"=>"5.10.20",
|
2007-09-03 12:35:07 +00:00
|
|
|
"status"=>"Recommended version (Win98+, Win2000+)",
|
2007-08-24 03:26:24 +00:00
|
|
|
"file"=>"boinc_5.10.20_windows_intelx86.exe",
|
|
|
|
"date"=>"23 Aug 2007",
|
2007-07-25 15:50:52 +00:00
|
|
|
"type"=>"win_new",
|
|
|
|
);
|
|
|
|
|
2007-10-24 20:54:11 +00:00
|
|
|
$w51027= array(
|
|
|
|
"num"=>"5.10.27",
|
2007-10-02 05:13:00 +00:00
|
|
|
"status"=>"Development version (Win98+, Win2000+)",
|
2007-10-24 20:54:11 +00:00
|
|
|
"file"=>"boinc_5.10.27_windows_intelx86.exe",
|
|
|
|
"date"=>"24 Oct 2007",
|
2007-10-02 05:13:00 +00:00
|
|
|
"type"=>"win_new",
|
|
|
|
);
|
|
|
|
|
2007-08-24 03:26:24 +00:00
|
|
|
$w51020x64= array(
|
|
|
|
"num"=>"5.10.20",
|
2007-09-03 12:35:07 +00:00
|
|
|
"status"=>"Recommended version (WinXP64+)",
|
2007-08-24 03:26:24 +00:00
|
|
|
"file"=>"boinc_5.10.20_windows_x86_64.exe",
|
|
|
|
"date"=>"23 Aug 2007",
|
2007-07-25 15:50:52 +00:00
|
|
|
"type"=>"win_new",
|
|
|
|
);
|
|
|
|
|
2007-10-24 20:54:11 +00:00
|
|
|
$w51027x64= array(
|
|
|
|
"num"=>"5.10.27",
|
2007-10-02 05:13:00 +00:00
|
|
|
"status"=>"Development version (WinXP64+)",
|
2007-10-24 20:54:11 +00:00
|
|
|
"file"=>"boinc_5.10.27_windows_x86_64.exe",
|
|
|
|
"date"=>"24 Oct 2007",
|
2007-10-02 05:13:00 +00:00
|
|
|
"type"=>"win_new",
|
|
|
|
);
|
|
|
|
|
2007-03-01 16:38:42 +00:00
|
|
|
$w5816= array(
|
|
|
|
"num"=>"5.8.16",
|
2007-06-05 03:57:34 +00:00
|
|
|
"status"=>"Recommended version (Win95+, WinNT40+)",
|
2007-03-01 16:38:42 +00:00
|
|
|
"file"=>"boinc_5.8.16_windows_intelx86.exe",
|
|
|
|
"date"=>"1 Mar 2007",
|
|
|
|
"type"=>"win_new",
|
|
|
|
);
|
|
|
|
|
2006-08-03 09:14:31 +00:00
|
|
|
$w5411= array(
|
|
|
|
"num"=>"5.4.11",
|
2007-02-01 20:06:44 +00:00
|
|
|
"status"=>"Older version",
|
2006-08-03 09:14:31 +00:00
|
|
|
"file"=>"boinc_5.4.11_windows_intelx86.exe",
|
|
|
|
"date"=>"2 Aug 2006",
|
2005-12-04 11:56:57 +00:00
|
|
|
"type"=>"win_new",
|
|
|
|
);
|
|
|
|
|
2007-08-23 22:25:25 +00:00
|
|
|
$m51020 = array(
|
|
|
|
"num"=>"5.10.20",
|
2007-09-03 12:35:07 +00:00
|
|
|
"status"=>"Recommended version (standard GUI)",
|
2007-08-23 22:25:25 +00:00
|
|
|
"file"=>"boinc_5.10.20_macOSX_universal.zip",
|
|
|
|
"date"=>"23 Aug 2007",
|
2007-06-24 01:10:39 +00:00
|
|
|
"type"=>"mac_advanced",
|
|
|
|
);
|
|
|
|
|
2007-10-24 23:56:11 +00:00
|
|
|
$m51027 = array(
|
|
|
|
"num"=>"5.10.27",
|
2007-10-02 10:33:30 +00:00
|
|
|
"status"=>"Development version (standard GUI)",
|
2007-10-24 23:56:11 +00:00
|
|
|
"file"=>"boinc_5.10.27_macOSX_universal.zip",
|
|
|
|
"date"=>"24 Oct 2007",
|
2007-10-02 10:33:30 +00:00
|
|
|
"type"=>"mac_advanced",
|
|
|
|
);
|
|
|
|
|
2007-04-03 10:36:34 +00:00
|
|
|
$m5817 = array(
|
|
|
|
"num"=>"5.8.17",
|
2007-04-04 15:37:41 +00:00
|
|
|
"status"=>"Recommended version (standard GUI)",
|
2007-04-03 10:36:34 +00:00
|
|
|
"file"=>"boinc_5.8.17_macOSX_universal.zip",
|
|
|
|
"date"=>"3 Apr 2007",
|
2007-03-02 03:52:01 +00:00
|
|
|
"type"=>"mac_advanced",
|
|
|
|
);
|
|
|
|
|
2006-05-05 23:33:19 +00:00
|
|
|
$m549 = array(
|
|
|
|
"num"=>"5.4.9",
|
2007-02-01 20:04:11 +00:00
|
|
|
"status"=>"Older version (standard GUI)",
|
2006-05-05 23:33:19 +00:00
|
|
|
"file"=>"boinc_5.4.9_macOSX_universal.zip",
|
|
|
|
"date"=>"5 May 2006",
|
2005-12-06 12:26:34 +00:00
|
|
|
"type"=>"mac_advanced",
|
|
|
|
);
|
|
|
|
|
2007-08-23 22:25:25 +00:00
|
|
|
$m51020c = array(
|
|
|
|
"num"=>"5.10.20",
|
2007-09-03 12:35:07 +00:00
|
|
|
"status"=>"Recommended version (Unix command-line version)",
|
2007-08-23 22:25:25 +00:00
|
|
|
"file"=>"boinc_5.10.20_universal-apple-darwin.zip",
|
|
|
|
"date"=>"23 Aug 2007",
|
2007-06-24 01:10:39 +00:00
|
|
|
"type"=>"bare_core",
|
|
|
|
);
|
|
|
|
|
2007-10-24 23:56:11 +00:00
|
|
|
$m51027c = array(
|
|
|
|
"num"=>"5.10.27",
|
2007-10-02 10:33:30 +00:00
|
|
|
"status"=>"Development version (Unix command-line version)",
|
2007-10-24 23:56:11 +00:00
|
|
|
"file"=>"boinc_5.10.27_universal-apple-darwin.zip",
|
|
|
|
"date"=>"24 Oct 2007",
|
2007-10-02 10:33:30 +00:00
|
|
|
"type"=>"bare_core",
|
|
|
|
);
|
|
|
|
|
2007-04-03 10:36:34 +00:00
|
|
|
$m5817c = array(
|
|
|
|
"num"=>"5.8.17",
|
2007-04-04 15:37:41 +00:00
|
|
|
"status"=>"Recommended version (Unix command-line version)",
|
2007-04-03 10:36:34 +00:00
|
|
|
"file"=>"boinc_5.8.17_universal-apple-darwin.zip",
|
|
|
|
"date"=>"3 Apr 2007",
|
2007-03-02 03:52:01 +00:00
|
|
|
"type"=>"bare_core",
|
|
|
|
);
|
|
|
|
|
2006-05-05 23:33:19 +00:00
|
|
|
$m549c = array(
|
|
|
|
"num"=>"5.4.9",
|
2007-02-01 20:04:11 +00:00
|
|
|
"status"=>"Older version (Unix command-line version)",
|
2006-05-05 23:33:19 +00:00
|
|
|
"file"=>"boinc_5.4.9_universal-apple-darwin.zip",
|
|
|
|
"date"=>"5 May 2006",
|
2006-02-25 01:19:44 +00:00
|
|
|
"type"=>"bare_core",
|
|
|
|
);
|
|
|
|
|
2007-10-02 16:40:45 +00:00
|
|
|
$l51021 = array(
|
|
|
|
"num"=>"5.10.21",
|
2007-10-19 15:54:43 +00:00
|
|
|
"status"=>"Recommended version (standard GUI)",
|
2007-10-02 16:40:45 +00:00
|
|
|
"file"=>"boinc_5.10.21_i686-pc-linux-gnu.sh",
|
|
|
|
"date"=>"2 Oct 2007",
|
2007-04-05 04:12:45 +00:00
|
|
|
"type"=>"sea",
|
|
|
|
);
|
2007-05-16 16:11:30 +00:00
|
|
|
|
2007-10-02 16:40:45 +00:00
|
|
|
$l51021x64 = array(
|
|
|
|
"num"=>"5.10.21",
|
2007-10-19 15:54:43 +00:00
|
|
|
"status"=>"Recommended version (standard GUI)",
|
2007-10-02 16:40:45 +00:00
|
|
|
"file"=>"boinc_5.10.21_x86_64-pc-linux-gnu.sh",
|
|
|
|
"date"=>"2 Oct 2007",
|
2007-05-17 17:39:31 +00:00
|
|
|
"type"=>"sea",
|
|
|
|
);
|
|
|
|
|
2007-04-23 22:17:55 +00:00
|
|
|
$l5816 = array(
|
|
|
|
"num"=>"5.8.16",
|
2007-04-04 15:37:41 +00:00
|
|
|
"status"=>"Recommended version (standard GUI)",
|
2007-04-23 22:17:55 +00:00
|
|
|
"file"=>"boinc_5.8.16_i686-pc-linux-gnu.sh",
|
2007-03-08 03:24:20 +00:00
|
|
|
"date"=>"7 March 2007",
|
2007-03-02 03:28:15 +00:00
|
|
|
"type"=>"sea",
|
|
|
|
);
|
|
|
|
|
2006-12-12 19:30:14 +00:00
|
|
|
$l5411 = array(
|
|
|
|
"num"=>"5.4.11",
|
2006-12-12 23:23:56 +00:00
|
|
|
"status"=>"Recommended version",
|
2006-12-12 19:30:14 +00:00
|
|
|
"file"=>"boinc_5.4.11_i686-pc-linux-gnu.sh",
|
|
|
|
"date"=>"12 December 2006",
|
|
|
|
"type"=>"sea",
|
2005-12-28 14:21:59 +00:00
|
|
|
);
|
|
|
|
|
2005-05-20 17:42:06 +00:00
|
|
|
$windows = array(
|
|
|
|
"name"=>"Windows",
|
2005-11-10 06:06:11 +00:00
|
|
|
"dbname" => "windows_intelx86",
|
2005-05-20 17:42:06 +00:00
|
|
|
"versions"=>array(
|
2007-10-24 20:54:11 +00:00
|
|
|
$w51027,
|
2007-08-24 03:26:24 +00:00
|
|
|
$w51020,
|
2007-03-01 16:38:42 +00:00
|
|
|
$w5816,
|
2006-08-03 09:14:31 +00:00
|
|
|
$w5411,
|
2005-05-20 17:42:06 +00:00
|
|
|
)
|
|
|
|
);
|
2007-04-20 18:47:55 +00:00
|
|
|
|
|
|
|
$windowsx64 = array(
|
|
|
|
"name"=>"Windows x64",
|
|
|
|
"dbname" => "windows_x86_64",
|
|
|
|
"versions"=>array(
|
2007-10-24 20:54:11 +00:00
|
|
|
$w51027x64,
|
2007-08-24 03:26:24 +00:00
|
|
|
$w51020x64,
|
2007-04-20 18:47:55 +00:00
|
|
|
)
|
|
|
|
);
|
|
|
|
|
2005-05-20 17:42:06 +00:00
|
|
|
$mac = array(
|
2006-08-01 21:22:25 +00:00
|
|
|
"name"=>"Mac OS X",
|
2005-11-10 06:06:11 +00:00
|
|
|
"dbname" => "powerpc-apple-darwin",
|
2005-05-20 17:42:06 +00:00
|
|
|
"versions"=>array(
|
2007-10-24 23:56:11 +00:00
|
|
|
$m51027,
|
|
|
|
$m51027c,
|
2007-10-02 10:34:48 +00:00
|
|
|
$m51020,
|
|
|
|
$m51020c,
|
2007-04-03 10:36:34 +00:00
|
|
|
$m5817,
|
|
|
|
$m5817c,
|
2007-03-02 03:52:01 +00:00
|
|
|
$m549,
|
|
|
|
$m549c,
|
2005-05-20 17:42:06 +00:00
|
|
|
)
|
|
|
|
);
|
2007-05-17 17:39:31 +00:00
|
|
|
|
2005-05-20 17:42:06 +00:00
|
|
|
$linux = array(
|
2005-10-02 18:23:38 +00:00
|
|
|
"name"=>"Linux/x86",
|
2005-11-10 06:06:11 +00:00
|
|
|
"dbname" => "i686-pc-linux-gnu",
|
2005-05-20 17:42:06 +00:00
|
|
|
"versions"=>array(
|
2007-10-02 16:40:45 +00:00
|
|
|
$l51021,
|
2007-04-23 22:17:55 +00:00
|
|
|
$l5816,
|
2006-12-12 19:34:38 +00:00
|
|
|
$l5411,
|
2005-05-20 17:42:06 +00:00
|
|
|
)
|
|
|
|
);
|
|
|
|
|
2007-05-17 17:39:31 +00:00
|
|
|
$linuxx64 = array(
|
|
|
|
"name"=>"Linux/x64",
|
|
|
|
"dbname" => "x86_64-pc-linux-gnu",
|
|
|
|
"versions"=>array(
|
2007-10-02 16:40:45 +00:00
|
|
|
$l51021x64,
|
2007-05-17 17:39:31 +00:00
|
|
|
)
|
|
|
|
);
|
|
|
|
|
2005-05-20 17:42:06 +00:00
|
|
|
$platforms = array(
|
|
|
|
"win"=>$windows,
|
2007-04-20 18:47:55 +00:00
|
|
|
"winx64"=>$windowsx64,
|
2005-05-20 17:42:06 +00:00
|
|
|
"mac"=>$mac,
|
|
|
|
"linux"=>$linux,
|
2007-05-17 17:39:31 +00:00
|
|
|
"linuxx64"=>$linuxx64,
|
2005-05-20 17:42:06 +00:00
|
|
|
);
|
|
|
|
|
2006-08-01 21:22:25 +00:00
|
|
|
function is_dev($v) {
|
|
|
|
return (strstr($v["status"], "Development") != null);
|
|
|
|
}
|
|
|
|
|
2007-07-10 17:49:51 +00:00
|
|
|
$url_base = "http://boincdl.ssl.berkeley.edu/dl/";
|
|
|
|
//switch(rand(0,5)) {
|
|
|
|
//case 0: $url_base = "http://boinc.berkeley.edu/dl/"; break;
|
|
|
|
//case 1: $url_base = "http://morel.mit.edu/download/boinc/dl/"; break;
|
|
|
|
//case 2: $url_base = "http://einstein.aei.mpg.de/download/boinc/dl/"; break;
|
|
|
|
//case 3: $url_base = "http://einstein.astro.gla.ac.uk/download/boinc/dl/"; break;
|
|
|
|
//case 4: $url_base = "http://albert.gravity.psu.edu/download/boinc/dl/"; break;
|
|
|
|
//case 5: $url_base = "http://einstein.ligo.caltech.edu/download/boinc/dl/"; break;
|
2007-03-23 18:48:06 +00:00
|
|
|
//case 6: $url_base = "http://einstein.phys.uwm.edu/download/boinc/dl/"; break;
|
2007-07-10 17:49:51 +00:00
|
|
|
//}
|
2006-08-01 21:22:25 +00:00
|
|
|
|
2005-05-20 17:42:06 +00:00
|
|
|
?>
|