2002-11-12 17:01:16 +00:00
|
|
|
<?php
|
|
|
|
|
2004-02-02 23:34:39 +00:00
|
|
|
require_once("../inc/db_ops.inc");
|
|
|
|
require_once("../inc/util_ops.inc");
|
2002-11-12 17:01:16 +00:00
|
|
|
|
2004-11-14 00:55:27 +00:00
|
|
|
echo "<!--\$Id$ -->";
|
|
|
|
|
|
|
|
|
2004-07-08 19:20:19 +00:00
|
|
|
$config = get_config();
|
|
|
|
$cgi_url = parse_config($config, "<cgi_url>");
|
|
|
|
$stripchart_cgi_url = parse_config($config, "<stripchart_cgi_url>");
|
2002-11-12 17:01:16 +00:00
|
|
|
|
2003-11-11 20:49:07 +00:00
|
|
|
db_init();
|
|
|
|
|
2003-07-01 18:28:33 +00:00
|
|
|
$w = 7*86400;
|
|
|
|
echo "
|
2003-11-11 20:49:07 +00:00
|
|
|
<title>BOINC project management for ".PROJECT."</title>
|
|
|
|
<h2>BOINC project management for ".PROJECT."</h2>
|
2003-07-01 18:28:33 +00:00
|
|
|
<p>
|
|
|
|
Browse database:
|
|
|
|
<ul>
|
|
|
|
<li><a href=db_action.php?table=platform>Platforms</a>
|
2003-11-07 00:54:53 +00:00
|
|
|
<li><a href=db_action.php?table=app>Applications</a>
|
2003-07-01 18:28:33 +00:00
|
|
|
<li><a href=db_form.php?table=app_version>Application versions</a>
|
|
|
|
<li><a href=db_form.php?table=user>Users</a>
|
|
|
|
<li><a href=db_form.php?table=team>Teams</a>
|
|
|
|
<li><a href=db_form.php?table=host&detail=low>Hosts</a>
|
|
|
|
<li><a href=db_form.php?table=workunit>Workunits</a>
|
|
|
|
<li><a href=db_form.php?table=result&detail=low>Results</a>
|
|
|
|
</ul>
|
2003-08-08 01:00:56 +00:00
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
Browse / Rate user profiles:
|
|
|
|
<ul>
|
|
|
|
<li><a href=profile_ops.php?set=unrated&num=0>Unrated profiles</a>
|
2003-08-08 01:04:11 +00:00
|
|
|
<li><a href=profile_ops.php?set=approved&num=0>Approved profiles</a>
|
|
|
|
<li><a href=profile_ops.php?set=rejected&num=0>Rejected profiles</a>
|
|
|
|
<li><a href=profile_ops.php?set=uotd&num=0>Past Users of the Day</a>
|
|
|
|
<li><a href=profile_ops.php?set=all&num=0>All profiles</a>
|
2003-08-08 01:00:56 +00:00
|
|
|
</ul>
|
|
|
|
</p>
|
2003-11-11 20:49:07 +00:00
|
|
|
";
|
2004-05-06 21:29:15 +00:00
|
|
|
|
|
|
|
$result = mysql_query("select id, name from app");
|
2003-11-11 20:49:07 +00:00
|
|
|
while ($app = mysql_fetch_object($result)) {
|
|
|
|
echo "<br>Result summary for $app->name:
|
|
|
|
<ul>
|
|
|
|
<li><a href=result_summary.php?appid=$app->id&nsecs=86400>last 24 hours</a>
|
2004-05-06 21:29:15 +00:00
|
|
|
<li><a href=pass_percentage_by_platform.php?appid=$app->id&nsecs=86400>last 24 hours - pass percentage by platform</a>
|
2004-05-23 23:52:59 +00:00
|
|
|
<li><a href=failure_result_summary_by_host.php?appid=$app->id&nsecs=86400>last 24 hours - failure by host</a>
|
2004-05-03 22:20:43 +00:00
|
|
|
<li><a href=failure_result_summary_by_platform.php?appid=$app->id&nsecs=86400>last 24 hours - failure by platform</a>
|
2004-05-04 21:40:14 +00:00
|
|
|
<li><a href=result_summary.php?appid=$app->id&nsecs=604800>last week</a>
|
2004-05-06 21:35:30 +00:00
|
|
|
<li><a href=pass_percentage_by_platform.php?appid=$app->id&nsecs=604800>last week - pass percentage by platform</a>
|
2004-05-23 23:52:59 +00:00
|
|
|
<li><a href=failure_result_summary_by_host.php?appid=$app->id&nsecs=604800>last week - failure by host</a>
|
2004-05-06 21:35:30 +00:00
|
|
|
<li><a href=failure_result_summary_by_platform.php?appid=$app->id&nsecs=604800>last week - failure by platform</a>
|
2003-11-11 20:49:07 +00:00
|
|
|
</ul>
|
|
|
|
";
|
|
|
|
}
|
|
|
|
mysql_free_result($result);
|
2004-05-06 21:29:15 +00:00
|
|
|
|
2003-11-11 20:49:07 +00:00
|
|
|
echo "
|
2003-11-25 19:05:32 +00:00
|
|
|
<a href=$stripchart_cgi_url/stripchart.cgi>Stripcharts</a>
|
2003-11-11 20:49:07 +00:00
|
|
|
| <a href=show_log.php>Show/Grep all logs</a>
|
|
|
|
| <a href=show_log.php?f=mysql*.log&l=-20>Tail MySQL logs</a>
|
|
|
|
| <a href=create_account_form.php>Create account</a>
|
2004-11-14 00:42:02 +00:00
|
|
|
| <a href=cancel_wu_form.php>Cancel workunits</a>
|
2003-07-01 18:28:33 +00:00
|
|
|
";
|
2002-11-12 17:01:16 +00:00
|
|
|
|
2003-07-18 20:58:42 +00:00
|
|
|
// TODO: Add functionality to list the number of recommends / rejects received
|
|
|
|
// by each profiled user.
|
|
|
|
|
2002-11-12 17:01:16 +00:00
|
|
|
?>
|