*** empty log message ***

svn path=/trunk/boinc/; revision=3262
This commit is contained in:
David Anderson 2004-04-14 21:27:48 +00:00
parent 00c54bac9d
commit 7914d8d19e
1 changed files with 3 additions and 5 deletions

View File

@ -17,11 +17,8 @@
if ($hostid) {
$host = lookup_host($hostid);
// if (!$host || $host->userid != $user->id) {
// echo "No access";
// exit();
// }
$type = "host";
$link = "<a href=show_host_detail.php?hostid=$hostid>host $hostid</a>";
$clause = "hostid=$hostid";
} else {
if ($userid != $user->id) {
@ -29,10 +26,11 @@
exit();
}
$type = "user";
$link = "user";
$clause = "userid=$userid";
}
page_head("Results for $type");
echo "<h3>Results for $type</h3>\n";
echo "<h3>Results for $link</h3>\n";
result_table_start(true, false, true);
$i = 0;
$query = "select * from result where $clause order by id desc limit $offset,".($results_per_page+1);