";
+ echo " ";
echo "Server state | # results | \n";
for ($ss=1; $ss<6; $ss++) {
- if ($server_state[$ss] == 0) {
- $x = "0";
- } else {
- $x = "".$server_state[$ss]."";
- }
- row2(result_server_state_string($ss), $x);
+ row2(result_server_state_string($ss),
+ link_results($server_state[$ss], "result_server_state=$ss"));
}
- echo " ";
-
- echo "Outcome of 'Over' results | # results | \n";
+ echo " | ";
+
+ echo "'Over' results:";
+ echo "Outcome | # results | \n";
for ($ro=0; $ro<6; $ro++) {
- if ($outcome[$ro] == 0) {
- $x = "0";
- } else {
- $x = "".$outcome[$ro]."";
- }
- $h = result_outcome_string($ro);
- $color = outcome_color($ro);
- echo "$h | $x | \n";
+ c_row2(outcome_color($ro), result_outcome_string($ro),
+ link_results($outcome[$ro], "result_outcome=$ro"));
}
- echo " ";
-
- echo "Client state of 'Client error' results | # results | \n";
+ echo " | ";
+
+ echo "'Client error' results:";
+ echo "Client state | # results | \n";
for ($cs=1; $cs<6; $cs++) {
- if ($client_state[$cs] == 0) {
- $x = "0";
- } else {
- $x = "".$client_state[$cs]."";
- }
- row2(result_client_state_string($cs), $x);
+ row2(result_client_state_string($cs),
+ link_results($client_state[$cs], "result_client_state=$cs"));
}
- end_table();
+ print " ";
+ print " |