2006-02-12 06:19:00 +00:00
|
|
|
<?php
|
2008-08-05 22:43:14 +00:00
|
|
|
// This file is part of BOINC.
|
|
|
|
// http://boinc.berkeley.edu
|
|
|
|
// Copyright (C) 2008 University of California
|
|
|
|
//
|
|
|
|
// BOINC is free software; you can redistribute it and/or modify it
|
|
|
|
// under the terms of the GNU Lesser General Public License
|
|
|
|
// as published by the Free Software Foundation,
|
|
|
|
// either version 3 of the License, or (at your option) any later version.
|
|
|
|
//
|
|
|
|
// BOINC is distributed in the hope that it will be useful,
|
|
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
|
// See the GNU Lesser General Public License for more details.
|
|
|
|
//
|
|
|
|
// You should have received a copy of the GNU Lesser General Public License
|
|
|
|
// along with BOINC. If not, see <http://www.gnu.org/licenses/>.
|
2006-02-12 06:19:00 +00:00
|
|
|
|
2006-05-01 18:54:01 +00:00
|
|
|
// the following sites generate stats for a given CPID
|
|
|
|
//
|
|
|
|
$cpid_stats_sites = array(
|
2008-06-11 16:08:09 +00:00
|
|
|
array("Free-DC",
|
2009-02-17 17:39:57 +00:00
|
|
|
"http://stats.free-dc.org/stats.php?page=userbycpid&cpid=%s"
|
2008-06-11 16:08:09 +00:00
|
|
|
),
|
2007-06-26 21:14:58 +00:00
|
|
|
array("BOINC all Project Stats",
|
|
|
|
"http://www.allprojectstats.com/showuser.php?id=%s"
|
|
|
|
),
|
2006-10-20 17:15:31 +00:00
|
|
|
array("BOINCstats",
|
2012-05-18 22:13:36 +00:00
|
|
|
"http://www.boincstats.com/en/stats/-1/user/detail/%s"
|
2006-05-01 18:54:01 +00:00
|
|
|
),
|
|
|
|
array("BOINC Statistics for the WORLD!",
|
|
|
|
"http://www.boincsynergy.com/stats/boinc-individual.php?cpid=%s"
|
|
|
|
),
|
|
|
|
array("BOINC Combined Statistics",
|
2007-10-30 19:36:27 +00:00
|
|
|
"http://boinc.netsoft-online.com/e107_plugins/boinc/get_user.php?cpid=%s&html=1"
|
2006-05-01 18:54:01 +00:00
|
|
|
),
|
|
|
|
array("The Knights Who Say 'Ni!'",
|
2007-10-30 19:36:27 +00:00
|
|
|
"http://stats.kwsn.net/user.php?proj=all&cpid=%s"
|
2006-05-01 18:54:01 +00:00
|
|
|
),
|
|
|
|
);
|
|
|
|
|
2006-02-14 22:30:42 +00:00
|
|
|
$stats_sites = array(
|
2008-01-10 23:27:42 +00:00
|
|
|
array(
|
2009-11-28 18:32:47 +00:00
|
|
|
"http://www.formula-boinc.org/",
|
2008-01-10 23:27:42 +00:00
|
|
|
"Formula BOINC",
|
|
|
|
"(Team ranking based on position within projects,
|
|
|
|
as in Formula 1 racing, rather than total points)"
|
|
|
|
),
|
2007-06-26 21:14:58 +00:00
|
|
|
array(
|
|
|
|
"http://www.allprojectstats.com/",
|
2008-01-15 22:22:08 +00:00
|
|
|
"BOINC All Project Stats",
|
2007-10-21 13:10:13 +00:00
|
|
|
""
|
2007-06-26 21:14:58 +00:00
|
|
|
),
|
2006-07-18 20:08:25 +00:00
|
|
|
array(
|
|
|
|
"http://stats.free-dc.org",
|
|
|
|
"Free-DC",
|
2009-03-01 19:00:40 +00:00
|
|
|
"(Includes non-BOINC projects and completed projects.)"
|
2006-07-18 20:08:25 +00:00
|
|
|
),
|
2006-04-28 16:59:53 +00:00
|
|
|
array(
|
|
|
|
"http://www.boincuk.com/globalprojectstats.php",
|
|
|
|
"BOINC UK",
|
|
|
|
""
|
|
|
|
),
|
2008-03-07 21:13:01 +00:00
|
|
|
array("http://www.boincsynergy.com/stats/index.php",
|
2006-02-14 22:30:42 +00:00
|
|
|
"BOINC Statistics for the WORLD!",
|
2007-05-18 22:02:51 +00:00
|
|
|
"developed by Zain Upton (email: zain.upton at boincsynergy.com)"
|
2006-02-14 22:30:42 +00:00
|
|
|
),
|
|
|
|
array("http://boinc.netsoft-online.com/",
|
|
|
|
"BOINC Combined Statistics",
|
|
|
|
"developed by James Drews"
|
|
|
|
),
|
|
|
|
array("http://www.boincstats.com/",
|
2006-10-20 17:15:31 +00:00
|
|
|
"BOINCstats",
|
2006-02-14 22:30:42 +00:00
|
|
|
"by Willy de Zutter"
|
|
|
|
),
|
|
|
|
array("http://www.dc-vault.com",
|
|
|
|
"DC-Vault",
|
2009-03-01 19:00:40 +00:00
|
|
|
"(Include non-BOINC projects)"
|
2006-02-14 22:30:42 +00:00
|
|
|
),
|
|
|
|
array("http://www.seti.nl/boinc_team.php",
|
|
|
|
"SETI@Netherlands stats page",
|
|
|
|
""
|
|
|
|
),
|
|
|
|
array("http://stats.kwsn.net/",
|
|
|
|
"The Knights Who Say 'Ni' stats",
|
|
|
|
""
|
|
|
|
),
|
2009-04-27 14:55:31 +00:00
|
|
|
array("http://www.teamocuk.co.uk/",
|
|
|
|
"Team OcUK stats",
|
|
|
|
""
|
|
|
|
),
|
2009-11-28 18:32:47 +00:00
|
|
|
array("http://statsbzh.boinc-af.org/listteams.php",
|
|
|
|
"SETIBZH Stats",
|
|
|
|
"(cross-project team stats; available in French, English, Spanish, German)"
|
|
|
|
),
|
2006-04-28 16:59:53 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
$team_stats_sites = array(
|
2010-09-13 21:20:30 +00:00
|
|
|
array("http://stats.czechnationalteam.cz/", "Czech National Team", "(in Czech)"),
|
2008-12-01 22:06:24 +00:00
|
|
|
array("http://www.boincitaly.org/", "BOINC.Italy"),
|
2013-01-25 23:14:23 +00:00
|
|
|
//array("http://www.spacepage.be/component/option,com_boinc/", "Spacepage"),
|
2006-05-21 21:11:28 +00:00
|
|
|
array("http://boinc.radax.net/de_boinc.htm", "BOINC@Austria"),
|
2013-01-25 23:14:23 +00:00
|
|
|
//array("http://www.myboinc.com/scores/", "L'Alliance Francophone"),
|
2006-04-28 16:59:53 +00:00
|
|
|
array("http://boincdenmark.dk/", "BOINC@Denmark", "(Danish)"),
|
|
|
|
array("http://boincdenmark.dk/default_en.html", "BOINC@Denmark", "(English)"),
|
2013-01-25 23:14:23 +00:00
|
|
|
//array("http://www.bigbee.be/comp/boinc/index.php",
|
|
|
|
// "Boinc.be team stats",
|
|
|
|
// ""
|
|
|
|
//),
|
2009-04-30 21:48:20 +00:00
|
|
|
array("http://www.seti-teamartbell.com/", "Team Art Bell", ""),
|
|
|
|
array("http://www.crunchers-freiburg.de/", "crunchers@freiburg", "(German)"),
|
2006-02-14 22:30:42 +00:00
|
|
|
);
|
|
|
|
|
2009-02-05 19:40:01 +00:00
|
|
|
// The following sites generate signature images based on user CPID
|
|
|
|
//
|
2006-02-14 22:30:42 +00:00
|
|
|
$sig_sites = array(
|
2007-07-19 21:55:42 +00:00
|
|
|
// array(
|
|
|
|
// "http://brainsmashr.com/BOINC/",
|
|
|
|
// "BrainSmashR.com boincwapstats",
|
|
|
|
// "Boincwapstats retrieves real-time BOINC statistics data
|
|
|
|
// and creates signature pictures out of it.
|
|
|
|
// You can select the background, style, data, etc.
|
|
|
|
// It's PHP and open source, so you can run it on your own server."
|
|
|
|
// ),
|
2006-04-28 21:26:23 +00:00
|
|
|
array(
|
2006-04-28 16:59:53 +00:00
|
|
|
"http://www.boincuk.com/show3.php",
|
2006-04-28 21:26:23 +00:00
|
|
|
"BOINC UK",
|
2009-03-01 19:00:40 +00:00
|
|
|
"(Highly configurable!)"
|
2006-04-28 16:59:53 +00:00
|
|
|
),
|
2006-02-14 22:30:42 +00:00
|
|
|
array("http://boinc.mundayweb.com/",
|
|
|
|
"http://boinc.mundayweb.com",
|
2009-03-01 19:00:40 +00:00
|
|
|
"(User-configurable stats counters. Cool!)"
|
2006-02-14 22:30:42 +00:00
|
|
|
),
|
2013-01-25 23:14:23 +00:00
|
|
|
//array("http://www.bigbee.be/comp/boinc/",
|
|
|
|
// "boinc.be",
|
|
|
|
// ""
|
|
|
|
//),
|
2006-10-20 17:15:31 +00:00
|
|
|
array("http://www.boincstats.com/page/faq.php#3",
|
|
|
|
"BOINCstats",
|
|
|
|
"by Willy de Zutter"
|
|
|
|
),
|
2008-01-15 22:22:08 +00:00
|
|
|
array(
|
|
|
|
"http://www.allprojectstats.com/signature.php",
|
|
|
|
"BOINC All Project Stats",
|
2009-03-01 19:00:40 +00:00
|
|
|
"(Signature files for both users and teams)"
|
|
|
|
),
|
|
|
|
array(
|
|
|
|
"http://www.unitedboinc.com/news-sig/",
|
|
|
|
"United BOINC",
|
|
|
|
"(Images showing the latest news from your choice of projects)"
|
2008-01-15 22:22:08 +00:00
|
|
|
),
|
2006-02-14 22:30:42 +00:00
|
|
|
);
|
|
|
|
|
2012-05-18 22:13:36 +00:00
|
|
|
// the following sites generate cross-project team stats based on CPID
|
2009-02-05 19:40:01 +00:00
|
|
|
//
|
|
|
|
$team_name_sites = array(
|
|
|
|
array("http://stats.free-dc.org/stats.php?page=teambycpid&team=",
|
|
|
|
"Free-DC",
|
2009-02-05 20:25:30 +00:00
|
|
|
""
|
|
|
|
),
|
2012-05-18 22:13:36 +00:00
|
|
|
array("http://boincstats.com/en/stats/-1/team/detail/",
|
2009-02-05 20:25:30 +00:00
|
|
|
"BOINCstats.com",
|
2009-02-05 22:34:10 +00:00
|
|
|
"hashlc"
|
|
|
|
),
|
|
|
|
array("http://stats.setibzh.fr/team.php?teamcpid=",
|
|
|
|
"SETIBZH",
|
2009-02-07 04:28:08 +00:00
|
|
|
"hashlc"
|
2009-02-05 19:40:01 +00:00
|
|
|
),
|
|
|
|
);
|
|
|
|
|
2009-02-05 21:19:19 +00:00
|
|
|
$host_sites = array(
|
2009-03-03 21:58:03 +00:00
|
|
|
array(
|
2012-06-21 17:03:47 +00:00
|
|
|
"http://boincstats.com/en/stats/-1/host/detail/",
|
2009-03-03 21:58:03 +00:00
|
|
|
"BOINCstats.com",
|
|
|
|
"boincstats_icon.png"
|
2009-02-05 21:19:19 +00:00
|
|
|
),
|
2009-03-03 21:58:03 +00:00
|
|
|
array(
|
|
|
|
"http://stats.free-dc.org/stats.php?page=hostbycpid&cpid=",
|
|
|
|
"Free-DC",
|
|
|
|
"freedc_icon.png"
|
2009-02-05 21:38:55 +00:00
|
|
|
),
|
2009-02-05 21:19:19 +00:00
|
|
|
);
|
|
|
|
|
2006-02-14 22:30:42 +00:00
|
|
|
function site_list($sites) {
|
|
|
|
echo "<ul>\n";
|
|
|
|
for ($i=0; $i<count($sites); $i++) {
|
|
|
|
$s = $sites[$i];
|
|
|
|
$url = $s[0];
|
|
|
|
$name = $s[1];
|
2010-09-27 20:34:47 +00:00
|
|
|
$comment = array_key_exists(2, $s)?$s[2]:"";
|
2007-10-22 19:36:01 +00:00
|
|
|
echo "<li><a href=\"$url\">$name</a> $comment\n";
|
2006-02-14 22:30:42 +00:00
|
|
|
}
|
|
|
|
echo "</ul>\n";
|
|
|
|
}
|
2006-02-12 18:59:31 +00:00
|
|
|
|
2010-02-04 16:15:54 +00:00
|
|
|
$GLOBALS['cpid_stats_sites'] = $cpid_stats_sites;
|
|
|
|
$GLOBALS['host_sites'] = $host_sites;
|
|
|
|
|
2008-08-05 22:43:14 +00:00
|
|
|
$cvs_version_tracker[]="\$Id$"; //Generated automatically - do not edit
|
2006-02-12 06:19:00 +00:00
|
|
|
?>
|