Serien


anhaltende Serien von gewonnenen, nicht verlorenen Spielen, aber auch nicht gewonnener Spiele.


                   

"; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; $sql = mysql_query("SELECT * FROM spiele WHERE nr > $anfang[$m] AND nr < $ende[$m];"); while ($ds = mysql_fetch_object($sql)){ $dat = $ds -> dat; $ort = $ds -> ort; $heim = $ds -> heim; $gast = $ds -> gast; $ee = $ds -> ee; $he = $ds -> he; $pkt = $ds -> pkt; $tpl = $ds -> tpl; $tmin = $ds -> tmin; $nr = $ds -> nr; $art = $ds -> art; $bem = $ds -> bem; $bem2 = $ds -> bem2; $tr = $ds -> tr; //----------------- Umwandlung von ee ------------------------- $t1 = substr($ee, 0, 2); $t2 = substr($ee, 3, 2); $t11 = substr($t1, 0, 1); $t21 = substr($t2, 0, 1); if ($t11 === "0"){ $t1 = substr($ee, 1, 1); } else { $t1 = $t1; } if ($t21 === "0"){ $t2 = substr($ee, 4, 1); } else { $t2 = $t2; } $ee = "$t1".":"."$t2"; //----------------- Umwandlung von he ------------------------- $u1 = substr($he, 0, 2); $u2 = substr($he, 3, 2); $u11 = substr($u1, 0, 1); $u21 = substr($u2, 0, 1); if ($u11 === "0"){ $u1 = substr($he, 1, 1); } else { $u1 = $u1; } if ($u21 === "0"){ $u2 = substr($he, 4, 1); } else { $u2 = $u2; } $he = "$u1".":"."$u2"; //............................................................ echo ""; echo "Vogts"; break; case "H": echo "
DatumSpielortHeimGastErgArtTrainer
$dat"; echo "$ort"; echo "$heim"; echo "$gast"; if ($pkt ==3) { ?> Herberger"; break; case "D": echo "Derwall"; break; case "": echo "o h n e "; break; default: echo "$tr"; } echo ""; if ($pkt ==3) { $gew[$m] = $gew[$m] +1; } if ($pkt ==1) { $un[$m] = $un[$m] +1; } if ($pkt ==0) { $ver[$m] = $ver[$m] +1; } $z[$m] = $z[$m] + 1; $tp[$m] = $tp[$m] + $tpl; $tm[$m] = $tm[$m] + $tmin; $gp[$m] = $gp[$m] + $pkt; $tore[$m] = "$tp[$m]".":"."$tm[$m]"; } ?>


Sp ge un ve Tore Pkt

                     ------------------------------------------------------------------------------------------------------------------------------------

"; ?>