$parametry[naglowek]

Number of players: $ilu_z - select group           or     

"; $b=0; $c=64; for ($i = 1; $i <= $parametry['ile_g']; $i++) { $b++; if ($parametry['io']=='1') { //mam pokazywać grupy I oraz O $c++; } else { switch($i) { case 9:$c += 2; break; //omijamy nazwe grupy I case 14:$c += 2; break; //omijamy nazwe grupy O default:$c++; break; } } $a = 'g'.$i; switch($c) { case ($c>90):$c2 = $c-26; $grupa = "A".chr($c2);break; //Po Z wracamy do AA // case ($c>90):$c2 = $c+6; $grupa = chr($c2);break; //Po Z mamy a default:$grupa = chr($c); break; } $detale = 'href=show_group_details.php?id_t='.$id_t.'&group='.$i; $display_block .= " "; for ($j = 1; $j <= $parametry[$a]; $j++) { $id_chwila = $zawodnicy['id_z']["$i"]["$j"]; $zawodnik = $players['player']["$id_chwila"]; $kraj = $players['kraj']["$id_chwila"]; $mr = $zawodnicy['mr']["$i"]["$j"]; $mw = $zawodnicy['mw']["$i"]["$j"]; $fw = $zawodnicy['fw']["$i"]["$j"]; $fp = $zawodnicy['fp']["$i"]["$j"]; $fd = $fw - $fp; $display_block .= " "; } $display_block .= "
\"\" Group $grupa

 
\"\"
Player name
\"\"
Country
\"\"
MP
\"\"
MW
\"\"
FW
\"\"
FL
\"\"
FD
$j$zawodnik $kraj $mr $mw $fw $fp $fd
"; if ($b == $ile_gwr) { $b=0; $display_block .= "
"; } else { $display_block .= " "; } } $display_block .= "
Legend
\"\"
MP
- Matches Played
\"\"
MW
- Matches Won
\"\"
FW
- Frames Won
\"\"
FL
- Frames Los
\"\"
FD
- Frames Difference
"; echo "$display_block"; //exit; ?>

Created by :