2004-01-06 22:09:19 +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-01-06 22:09:19 +00:00
|
|
|
|
2005-02-15 22:29:32 +00:00
|
|
|
// show a result
|
|
|
|
|
|
|
|
require_once("../inc/db.inc");
|
|
|
|
require_once("../inc/util.inc");
|
|
|
|
require_once("../inc/result.inc");
|
|
|
|
|
2011-02-09 22:11:34 +00:00
|
|
|
check_get_args(array("resultid"));
|
|
|
|
|
2005-02-15 22:29:32 +00:00
|
|
|
$resultid = get_int("resultid");
|
|
|
|
$result = lookup_result($resultid);
|
|
|
|
if (!$result) {
|
2010-02-07 23:51:37 +00:00
|
|
|
error_page(tra("No such task"));
|
2005-02-15 22:29:32 +00:00
|
|
|
}
|
2010-02-13 22:33:50 +00:00
|
|
|
page_head(tra("Task %1", $resultid));
|
2005-02-15 22:29:32 +00:00
|
|
|
show_result($result);
|
|
|
|
page_tail();
|
2004-01-06 22:09:19 +00:00
|
|
|
|
|
|
|
?>
|