2003-10-31 21:26:12 +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/>.
|
|
|
|
|
2004-02-02 23:34:39 +00:00
|
|
|
require_once('../inc/util.inc');
|
2006-02-14 22:30:42 +00:00
|
|
|
require_once('../inc/stats_sites.inc');
|
2018-08-10 22:41:25 +00:00
|
|
|
page_head(tra('Credit leader boards and statistics'));
|
2003-10-31 21:26:12 +00:00
|
|
|
|
2011-02-09 22:11:34 +00:00
|
|
|
check_get_args(array());
|
|
|
|
|
2014-09-28 15:11:51 +00:00
|
|
|
$credit_by_app = parse_bool(get_config(), "credit_by_app");
|
|
|
|
|
2011-02-08 21:38:16 +00:00
|
|
|
start_table();
|
2003-10-31 21:26:12 +00:00
|
|
|
echo "
|
2014-04-18 07:15:05 +00:00
|
|
|
<tr><td>"
|
2018-08-10 22:41:25 +00:00
|
|
|
. tra("Leader boards for %1",PROJECT).":
|
2014-04-18 07:15:05 +00:00
|
|
|
<ul>
|
2018-08-10 22:41:25 +00:00
|
|
|
<li><a href=\"top_users.php\">" . tra("Participants")."</a>
|
2014-04-18 07:15:05 +00:00
|
|
|
";
|
2014-09-28 15:11:51 +00:00
|
|
|
if ($credit_by_app) {
|
|
|
|
echo "<ul><li><a href=per_app_list.php>Per application</a></ul>\n";
|
|
|
|
}
|
|
|
|
|
2014-04-18 07:15:05 +00:00
|
|
|
if (!DISABLE_TEAMS) {
|
|
|
|
echo "
|
2018-08-10 22:41:25 +00:00
|
|
|
<li><a href=\"top_teams.php\">" . tra("Teams"). "</a>
|
2014-04-18 07:15:05 +00:00
|
|
|
";
|
2014-09-28 15:11:51 +00:00
|
|
|
if ($credit_by_app) {
|
|
|
|
echo "<ul><li><a href=per_app_list.php?is_team=1>Per application</a></ul>\n";
|
|
|
|
}
|
2014-04-18 07:15:05 +00:00
|
|
|
}
|
|
|
|
echo "
|
2018-08-10 22:41:25 +00:00
|
|
|
<li><a href=\"top_hosts.php\">" . tra("Computers")."</a>
|
|
|
|
<li><a href=\"host_stats.php\">" . tra("Operating systems")."</a>
|
|
|
|
<li><a href=\"host_stats.php?boinc_version=1\">" . tra("BOINC versions")."</a>
|
2006-02-14 22:36:29 +00:00
|
|
|
</ul>
|
|
|
|
|
2008-12-13 19:31:40 +00:00
|
|
|
<p>".
|
|
|
|
tra("More detailed statistics for %1 and other BOINC-based projects are available at several web sites:", PROJECT);
|
2006-02-14 22:30:42 +00:00
|
|
|
shuffle($stats_sites);
|
|
|
|
site_list($stats_sites);
|
2008-12-13 19:31:40 +00:00
|
|
|
echo tra("You can also get your current statistics in the form of a \"signature image\":");
|
2006-02-14 22:30:42 +00:00
|
|
|
shuffle($sig_sites);
|
|
|
|
site_list($sig_sites);
|
2017-07-13 08:17:21 +00:00
|
|
|
echo tra("Additionally you can get your individual statistics summed across all BOINC projects from several sites; see your %1 home page %2.",
|
|
|
|
sprintf('<a href="%s">', USER_HOME), "</a>"
|
|
|
|
);
|
2003-10-31 21:26:12 +00:00
|
|
|
|
2011-02-08 21:38:16 +00:00
|
|
|
echo "</td></tr>";
|
|
|
|
end_table();
|
2003-10-31 21:26:12 +00:00
|
|
|
page_tail();
|
|
|
|
?>
|