boinc/top_testers.php

45 lines
1.2 KiB
PHP

<?php
require_once("../inc/boinc_db.inc");
require_once("../inc/util.inc");
db_init();
page_head("Top BOINC Alpha testers");
start_table("width=600");
echo "<tr><td colspan=2>
Each version of the BOINC software is subjected about
<a href=http://boinc.berkeley.edu/trac/wiki/TestMatrix>70 separate tests</a>
on all the major platforms (Windows, Mac, and Linux).
BOINC relies on volunteer 'Alpha testers'
to perform all these tests.
<p>
The following volunteers have reported
test results in the last 30 days.
<b>Many thanks to these people for their
help in improving the reliability of BOINC software.</b>
<p>
If you're interested in volunteering as an Alpha tester,
go <a href=http://boinc.berkeley.edu/trac/wiki/AlphaInstructions>here</a>.
</td></tr>
";
$t = time() - 30*86400;
$r = mysql_query("select * from test_report where UNIX_TIMESTAMP(mod_time)>$t");
while ($rep = mysql_fetch_object($r)) {
$count[$rep->userid]++;
}
asort($count);
$count = array_reverse($count, true);
table_header("Name", "Test reports in last 30 days");
foreach ($count as $id=>$c) {
$u = BoincUser::lookup_id($id);
row2("<a href=show_user.php?userid=$u->id>$u->name</a>", $c);
}
end_table();
?>