boinc/html/inc/stats_sites.inc

206 lines
6.1 KiB
PHP

<?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/stats/boinc_user_graph.php?pr=bo&amp;id=%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"
),
array("Team Starfire World BOINC Stats 'N Stones",
"http://statsnstones.tswb.org/userdetail.aspx?cpid=%s"
),
);
$stats_sites = array(
array(
"http://www.myboinc.com/FormulaBoinc/",
"Formula BOINC",
"(Team ranking based on position within projects,
as in Formula 1 racing, rather than total points)"
),
array(
"http://statsnstones.tswb.org/",
"Team Starfire World BOINC Stats 'N Stones",
""
),
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://home.btconnect.com/Gabys_Bazar/hwupgrade.html",
"Every Earthly Hour",
"developed by Hydnum Repandum."
),
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",
""
),
// array("http://www.teamocuk.com/",
// "Team OcUK stats",
// ""
// ),
);
$team_stats_sites = array(
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", ""
),
);
// 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 name
//
$team_name_sites = array(
array("http://stats.free-dc.org/stats.php?page=teambycpid&team=",
"Free-DC",
""
),
array("http://boincstats.com/stats/boinc_team_graph.php?pr=bo&teamcpid=",
"BOINCstats.com",
"hashlc"
),
array("http://stats.setibzh.fr/team.php?teamcpid=",
"SETIBZH",
"hashlc"
),
);
$host_sites = array(
array(
"http://boincstats.com/stats/boinc_host_graph.php?pr=bo&id=",
"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 = $s[2];
echo "<li><a href=\"$url\">$name</a> $comment\n";
}
echo "</ul>\n";
}
$cvs_version_tracker[]="\$Id$"; //Generated automatically - do not edit
?>