boinc/html/inc/stats_sites.inc

201 lines
6.1 KiB
PHP
Raw Normal View History

<?php
// 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/>.
// the following sites generate stats for a given CPID
//
$cpid_stats_sites = array(
array("Free-DC",
"http://stats.free-dc.org/stats.php?page=userbycpid&amp;cpid=%s"
),
array("BOINC all Project Stats",
"http://www.allprojectstats.com/showuser.php?id=%s"
),
array("BOINCstats",
"http://www.boincstats.com/en/stats/-1/user/detail/%s"
),
array("BOINC Statistics for the WORLD!",
"http://www.boincsynergy.com/stats/boinc-individual.php?cpid=%s"
),
array("BOINC Combined Statistics",
"http://boinc.netsoft-online.com/e107_plugins/boinc/get_user.php?cpid=%s&amp;html=1"
),
array("The Knights Who Say 'Ni!'",
"http://stats.kwsn.net/user.php?proj=all&amp;cpid=%s"
),
);
$stats_sites = array(
array(
2009-11-28 18:32:47 +00:00
"http://www.formula-boinc.org/",
"Formula BOINC",
"(Team ranking based on position within projects,
as in Formula 1 racing, rather than total points)"
),
array(
"http://www.allprojectstats.com/",
"BOINC All Project Stats",
""
),
array(
"http://stats.free-dc.org",
"Free-DC",
"(Includes non-BOINC projects and completed projects.)"
),
array(
"http://www.boincuk.com/globalprojectstats.php",
"BOINC UK",
""
),
array("http://www.boincsynergy.com/stats/index.php",
"BOINC Statistics for the WORLD!",
"developed by Zain Upton (email: zain.upton at boincsynergy.com)"
),
array("http://boinc.netsoft-online.com/",
"BOINC Combined Statistics",
"developed by James Drews"
),
array("http://www.boincstats.com/",
"BOINCstats",
"by Willy de Zutter"
),
array("http://www.dc-vault.com",
"DC-Vault",
"(Include non-BOINC projects)"
),
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)"
),
);
$team_stats_sites = array(
array("http://stats.czechnationalteam.cz/", "Czech National Team", "(in Czech)"),
array("http://www.boincitaly.org/", "BOINC.Italy"),
//array("http://www.spacepage.be/component/option,com_boinc/", "Spacepage"),
array("http://boinc.radax.net/de_boinc.htm", "BOINC@Austria"),
//array("http://www.myboinc.com/scores/", "L'Alliance Francophone"),
array("http://boincdenmark.dk/", "BOINC@Denmark", "(Danish)"),
array("http://boincdenmark.dk/default_en.html", "BOINC@Denmark", "(English)"),
//array("http://www.bigbee.be/comp/boinc/index.php",
// "Boinc.be team stats",
// ""
//),
array("http://www.seti-teamartbell.com/", "Team Art Bell", ""),
array("http://www.crunchers-freiburg.de/", "crunchers@freiburg", "(German)"),
);
// The following sites generate signature images based on user CPID
//
$sig_sites = array(
// 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."
// ),
array(
"http://www.boincuk.com/show3.php",
"BOINC UK",
"(Highly configurable!)"
),
array("http://boinc.mundayweb.com/",
"http://boinc.mundayweb.com",
"(User-configurable stats counters. Cool!)"
),
//array("http://www.bigbee.be/comp/boinc/",
// "boinc.be",
// ""
//),
array("http://www.boincstats.com/page/faq.php#3",
"BOINCstats",
"by Willy de Zutter"
),
array(
"http://www.allprojectstats.com/signature.php",
"BOINC All Project Stats",
"(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)"
),
);
// the following sites generate cross-project team stats based on CPID
//
$team_name_sites = array(
array("http://stats.free-dc.org/stats.php?page=teambycpid&team=",
"Free-DC",
""
),
array("http://boincstats.com/en/stats/-1/team/detail/",
"BOINCstats.com",
"hashlc"
),
array("http://stats.setibzh.fr/team.php?teamcpid=",
"SETIBZH",
2009-02-07 04:28:08 +00:00
"hashlc"
),
);
$host_sites = array(
array(
"http://boincstats.com/en/stats/-1/host/detail/",
"BOINCstats.com",
"boincstats_icon.png"
),
array(
"http://stats.free-dc.org/stats.php?page=hostbycpid&cpid=",
"Free-DC",
"freedc_icon.png"
),
);
function site_list($sites) {
echo "<ul>\n";
for ($i=0; $i<count($sites); $i++) {
$s = $sites[$i];
$url = $s[0];
$name = $s[1];
$comment = array_key_exists(2, $s)?$s[2]:"";
echo "<li><a href=\"$url\">$name</a> $comment\n";
}
echo "</ul>\n";
}
$GLOBALS['cpid_stats_sites'] = $cpid_stats_sites;
$GLOBALS['host_sites'] = $host_sites;
$cvs_version_tracker[]="\$Id$"; //Generated automatically - do not edit
?>