mirror of https://github.com/BOINC/boinc.git
parent
5edae3f8cb
commit
19d1c8269c
|
@ -1830,3 +1830,18 @@ Rom 14 Feb 2006
|
|||
ProjectInfoPage.cpp
|
||||
ProxyPage.cpp
|
||||
ViewProjects.cpp
|
||||
|
||||
David 14 Feb 2006
|
||||
- user web: on "Statistics" page, remove the XML mumbo-jumbo.
|
||||
Show a list of all current stats sites,
|
||||
and sites that provide signature images.
|
||||
The central repository for these lists is html/inc/stats_sites.inc
|
||||
|
||||
html/
|
||||
doc/
|
||||
stats_sites.dat (removed)
|
||||
inc/
|
||||
stats_sites.inc
|
||||
user.inc
|
||||
user/
|
||||
stats.php
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
require_once("docutil.php");
|
||||
|
||||
include("stats_sites.dat");
|
||||
include("../html/inc/stats_sites.inc");
|
||||
|
||||
function show_link($language, $name, $url) {
|
||||
list_item($language, "<a href=$url>$name</a>");
|
||||
|
|
|
@ -1,80 +0,0 @@
|
|||
<?php
|
||||
|
||||
$stats_sites = array(
|
||||
array("http://www.setisynergy.com/stats/index.php",
|
||||
"BOINC Statistics for the WORLD!",
|
||||
"developed by Zain Upton (email: zain.upton at setisynergy.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/",
|
||||
"www.boincstats.com",
|
||||
"by Willy de Zutter"
|
||||
),
|
||||
array("http://www.dc-vault.com",
|
||||
"DC-Vault",
|
||||
"Include non-BOINC projects"
|
||||
),
|
||||
array("http://boincdenmark.dk/", "BOINC@Denmark", "(Danish)"),
|
||||
array("http://boincdenmark.dk/default_en.html", "BOINC@Denmark", "(English)"),
|
||||
array("http://www.seti.nl/boinc_team.php",
|
||||
"SETI@Netherlands stats page",
|
||||
""
|
||||
),
|
||||
array("http://www.boinc.dk/index.php?page=statistics",
|
||||
"http://www.boinc.dk",
|
||||
"developed by Janus Kristensen (email: stats at boinc.dk)."
|
||||
),
|
||||
//array("http://stats.boincbzh.net/BZHwds/index.php",
|
||||
// "BOINC Alliance Francophone",
|
||||
// "developed by Vincent Mary (email: stats at hoincbzh.net).
|
||||
// Supports competition between 'mini-teams'."
|
||||
//),
|
||||
array("http://stats.kwsn.net/",
|
||||
"The Knights Who Say 'Ni' stats",
|
||||
""
|
||||
),
|
||||
array("http://www.teamocuk.com/",
|
||||
"Team OcUK stats",
|
||||
""
|
||||
),
|
||||
array("http://www.bigbee.be/comp/boinc/index.php",
|
||||
"Boinc.be team stats",
|
||||
""
|
||||
),
|
||||
);
|
||||
|
||||
$sig_sites = array(
|
||||
array("http://boinc.mundayweb.com/",
|
||||
"http://boinc.mundayweb.com",
|
||||
"user-configurable stats counters. Cool!"
|
||||
),
|
||||
array("http://www.boinc.dk/index.php?page=signatures",
|
||||
"http://www.boinc.dk/index.php?page=signatures",
|
||||
""
|
||||
),
|
||||
array("http://www.bigbee.be/comp/boinc/signature.php?id=9",
|
||||
"http://www.bigbee.be/comp/boinc/signature.php",
|
||||
""
|
||||
),
|
||||
);
|
||||
|
||||
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";
|
||||
}
|
||||
|
||||
?>
|
|
@ -2,13 +2,14 @@
|
|||
|
||||
require_once("docutil.php");
|
||||
|
||||
include("stats_sites.dat");
|
||||
include("../html/inc/stats_sites.inc");
|
||||
|
||||
page_head("Web sites for BOINC statistics");
|
||||
echo "
|
||||
<p>
|
||||
The following web sites show statistics for one or more BOINC projects:
|
||||
";
|
||||
shuffle($stats_sites);
|
||||
site_list($stats_sites);
|
||||
echo "
|
||||
These sites use XML-format data exported by BOINC projects.
|
||||
|
@ -24,6 +25,7 @@ The following sites offer dynamically-generated
|
|||
images showing your statistics in BOINC projects.
|
||||
Use these in your email or message-board signature.
|
||||
";
|
||||
shuffle($sig_sites);
|
||||
site_list($sig_sites);
|
||||
|
||||
page_tail();
|
||||
|
|
|
@ -15,6 +15,81 @@ $cpid_stats_sites = array(
|
|||
),
|
||||
);
|
||||
|
||||
shuffle($cpid_stats_sites);
|
||||
$stats_sites = array(
|
||||
array("http://www.setisynergy.com/stats/index.php",
|
||||
"BOINC Statistics for the WORLD!",
|
||||
"developed by Zain Upton (email: zain.upton at setisynergy.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/",
|
||||
"www.boincstats.com",
|
||||
"by Willy de Zutter"
|
||||
),
|
||||
array("http://www.dc-vault.com",
|
||||
"DC-Vault",
|
||||
"Include non-BOINC projects"
|
||||
),
|
||||
array("http://boincdenmark.dk/", "BOINC@Denmark", "(Danish)"),
|
||||
array("http://boincdenmark.dk/default_en.html", "BOINC@Denmark", "(English)"),
|
||||
array("http://www.seti.nl/boinc_team.php",
|
||||
"SETI@Netherlands stats page",
|
||||
""
|
||||
),
|
||||
array("http://www.boinc.dk/index.php?page=statistics",
|
||||
"http://www.boinc.dk",
|
||||
"developed by Janus Kristensen (email: stats at boinc.dk)."
|
||||
),
|
||||
//array("http://stats.boincbzh.net/BZHwds/index.php",
|
||||
// "BOINC Alliance Francophone",
|
||||
// "developed by Vincent Mary (email: stats at hoincbzh.net).
|
||||
// Supports competition between 'mini-teams'."
|
||||
//),
|
||||
array("http://stats.kwsn.net/",
|
||||
"The Knights Who Say 'Ni' stats",
|
||||
""
|
||||
),
|
||||
array("http://www.teamocuk.com/",
|
||||
"Team OcUK stats",
|
||||
""
|
||||
),
|
||||
array("http://www.bigbee.be/comp/boinc/index.php",
|
||||
"Boinc.be team stats",
|
||||
""
|
||||
),
|
||||
);
|
||||
|
||||
$sig_sites = array(
|
||||
array("http://boinc.mundayweb.com/",
|
||||
"http://boinc.mundayweb.com",
|
||||
"user-configurable stats counters. Cool!"
|
||||
),
|
||||
array("http://www.boinc.dk/index.php?page=signatures",
|
||||
"http://www.boinc.dk/index.php?page=signatures",
|
||||
""
|
||||
),
|
||||
array("http://www.bigbee.be/comp/boinc/signature.php?id=9",
|
||||
"http://www.bigbee.be/comp/boinc/signature.php",
|
||||
""
|
||||
),
|
||||
);
|
||||
|
||||
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";
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
|
@ -46,6 +46,7 @@ function show_user_stats_private($user) {
|
|||
row2("Results", "<a href=results.php?userid=$user->id>View</a>");
|
||||
$cpid = md5($user->cross_project_id . $user->email_addr);
|
||||
$x = "";
|
||||
shuffle($cpid_stats_sites);
|
||||
foreach ($cpid_stats_sites as $site) {
|
||||
$name = $site[0];
|
||||
$y = sprintf($site[1], $cpid);
|
||||
|
|
|
@ -1,45 +1,26 @@
|
|||
<?php
|
||||
require_once('../inc/util.inc');
|
||||
require_once('../inc/stats_sites.inc');
|
||||
page_head('Project statistics');
|
||||
|
||||
echo "
|
||||
<p>
|
||||
Data describing the users, teams, and computers
|
||||
participating in this project,
|
||||
and how much work each has done,
|
||||
is available as compressed XML files.
|
||||
The format is described
|
||||
<a href=http://boinc.berkeley.edu/db_dump.php>here</a>,
|
||||
and the files are
|
||||
<a href=stats/>here</a>.
|
||||
|
||||
<p>
|
||||
This data can be summarized and represented as Web pages.
|
||||
Examples:
|
||||
<ul>
|
||||
<li>
|
||||
<a href=http://www.hispaseti.org/stats/team/BOINCStats/WEB_index.php>HispaSeti & BOINC</a> (Spanish-language)
|
||||
<li>
|
||||
<a href=http://www.setisynergy.com/stats/index.php>BOINC Statistics for the WORLD!</a>
|
||||
<li>
|
||||
<a href=http://www.boinc.dk/index.php?page=statistics>http://www.boinc.dk</a>,
|
||||
developed by <a href=mailto:stats@boinc.dk>Janus Kristensen</a>.
|
||||
<li>
|
||||
<a href=http://www.saschapfalz.de/boincstats/boinc-stats.php>boincstats</a>,
|
||||
developed by Sascha Pfalz.
|
||||
<li>
|
||||
<a href=http://stats.boincbzh.net/BZHwds/index.php>BOINC Alliance Francophone</a>,
|
||||
developed by Vincent Mary (email: stats at hoincbzh dot net).
|
||||
Supports competition between 'mini-teams'.
|
||||
<li>
|
||||
<a href=http://boinc.mundayweb.com>BOINC Stats Counters by Neil Munday</a>,
|
||||
developed by Neil Munday.
|
||||
</ul>
|
||||
These systems are implemented using PHP,
|
||||
and the source code may be available.
|
||||
If you are interested in running your own site or
|
||||
participating in the development efforts,
|
||||
please contact the people listed above.
|
||||
Statistics from this project
|
||||
(and other BOINC-based projects) are available
|
||||
at several web sites:
|
||||
";
|
||||
shuffle($stats_sites);
|
||||
site_list($stats_sites);
|
||||
echo "
|
||||
You can get your current statistics in the form
|
||||
of a 'signature image':
|
||||
";
|
||||
shuffle($sig_sites);
|
||||
site_list($sig_sites);
|
||||
echo "
|
||||
You can get your individual statistics
|
||||
across all BOINC projects from several sites;
|
||||
see your <a href=home.php>home page</a>.
|
||||
";
|
||||
|
||||
page_tail();
|
||||
|
|
Loading…
Reference in New Issue