diff --git a/checkin_notes b/checkin_notes index aebf8c5d3a..bad63505a6 100755 --- a/checkin_notes +++ b/checkin_notes @@ -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 diff --git a/doc/links.php b/doc/links.php index 99901b168a..5dc44f9b77 100644 --- a/doc/links.php +++ b/doc/links.php @@ -1,7 +1,7 @@ $name"); diff --git a/doc/stats_sites.dat b/doc/stats_sites.dat deleted file mode 100644 index 218041243c..0000000000 --- a/doc/stats_sites.dat +++ /dev/null @@ -1,80 +0,0 @@ -\n"; - for ($i=0; $i $name $comment\n"; - } - echo "\n"; -} - -?> diff --git a/doc/stats_sites.php b/doc/stats_sites.php index 152ce4f447..8c9c17b5b6 100644 --- a/doc/stats_sites.php +++ b/doc/stats_sites.php @@ -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 "

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(); diff --git a/html/inc/stats_sites.inc b/html/inc/stats_sites.inc index 8ba352be58..f2f461ce9b 100644 --- a/html/inc/stats_sites.inc +++ b/html/inc/stats_sites.inc @@ -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 "

\n"; +} ?> diff --git a/html/inc/user.inc b/html/inc/user.inc index 5e5ae3a671..7f4e685b12 100644 --- a/html/inc/user.inc +++ b/html/inc/user.inc @@ -46,6 +46,7 @@ function show_user_stats_private($user) { row2("Results", "id>View"); $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); diff --git a/html/user/stats.php b/html/user/stats.php index 2e61aac323..9e3e2be3b5 100644 --- a/html/user/stats.php +++ b/html/user/stats.php @@ -1,45 +1,26 @@ -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 -here, -and the files are -here. - -

-This data can be summarized and represented as Web pages. -Examples: -

-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 home page. "; page_tail();