Ergebnisse der Regelumfrage\n"; StartQuery(<<\n"; echo "{$row['name']} ({$row['cast']})\n"; $lines = array(); $line = array(); if (strlen($row['score_exact'])) $line[] = "exakt: {$row['score_exact']}"; if (strlen($row['score_diff'])) $line[] = "Differenz: {$row['score_diff']}"; if (strlen($row['score_win'])) $line[] = "Sieger: {$row['score_win']}"; if (strlen($row['score_even'])) $line[] = "Unentschieden: {$row['score_even']}"; if (count($line)) $lines[] = implode(" • ", $line); if (intval($row['with11']) == 1) $lines[] = "Ergebnis ohne Elfmeter erwünscht"; if (intval($row['with11']) == 2) $lines[] = "Endergebnis (mit Elfmeter) erwünscht"; $line = array(); $item = MergeBonuses($row, 'wm', '0842'); if ($item != "?-?-?-?") $line[] = "WM: $item"; $item = MergeBonuses($row, 'em', '042'); if ($item != "?-?-?") $line[] = "EM: $item"; if (count($line)) $lines[] = implode(" • ", $line); if (count($lines)) echo "" . implode("
", $lines) . "\n"; $comment = trim($row['comment']); if (strlen($comment)) echo "" . htmlescape($comment) . "\n"; echo "\n"; } CloseQuery(); EndPage(); CloseDB(); ?>