appid); start_table(); row2("application", $app->user_friendly_name); row2("created", time_str($wu->create_time)); row2("name", $wu->name); if ($wu->canonical_resultid) { row2("canonical result", "canonical_resultid>$wu->canonical_resultid"); row2("granted credit", format_credit($wu->canonical_credit)); } if ($wu->error_mask) { row2("errors", wu_error_mask_str($wu->error_mask)); } if ($wu->need_validate) { row2("validation", "Pending"); } end_table(); project_workunit($wu); result_table_start(false, true, true); $result = mysql_query("select * from result where workunitid=$wuid"); while ($res = mysql_fetch_object($result)) { show_result_row($res, false, true, true); } mysql_free_result($result); echo "\n"; page_tail(); ?>