boinc/html/ops/index.php

49 lines
1.6 KiB
PHP
Raw Normal View History

<?php
require_once("db_ops.inc");
require_once("util_ops.inc");
$cgi_url = parse_config("<cgi_url>");
$w = 7*86400;
echo "
<title>BOINC Project Management for ".PROJECT."</title>
<h2>BOINC Project Management for ".PROJECT."</h2>
<p>
Browse database:
<ul>
<li><a href=db_action.php?table=platform>Platforms</a>
<li><a href=db_form.php?table=app>Applications</a>
<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>
</p>
<p>
Browse / Rate user profiles:
<ul>
<li><a href=profile_ops.php?set=unrated&num=0>Unrated profiles</a>
<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>
</ul>
</p>
Result summary:
<a href=result_summary.php?nsecs=86400>last 24 hours</a>
<a href=result_summary.php?nsecs=$w>last week</a>
<br>
<a href=$cgi_url/stripchart.cgi>Stripcharts</a> |
<a href=show_log.php>Show/Grep all logs</a> |
<a href=show_log.php?f=mysql*.log&l=-20>Tail MySQL logs</a>
<br><a href=create_account_form.php>Create account</a>
";
// TODO: Add functionality to list the number of recommends / rejects received
// by each profiled user.
?>