. // show a result require_once("../inc/util.inc"); require_once("../inc/result.inc"); $x = get_int("resultid", true); if ($x) { $result = BoincResult::lookup_id($x); } else { $x = get_str("result_name"); $result = BoincResult::lookup_name($x); } if (!$result) { error_page(tra("No such task: $x")); } page_head(tra("Task %1", $x)); show_result($result); page_tail(); ?>