ADAC Kartslalom

[insert_php]
$header = array(‘Datum’, ‘Veranstalter’, ‘K0’, ‘K1’, ‘K2’, ‘K3’, ‘K4’, ‘K5’, ‘M’, ‘S’);

for($i=0;$i‘.$header[$i].’

‘;
}
[/insert_php]

[insert_php]
$dates = array();
$clubs = array();

$filePrefix = ‘files/ergebnisse/2017/adac/’;

array_push($dates,’30.04.2017′);
array_push($clubs,’AMC Burbach’);

array_push($dates,’14.05.2017′);
array_push($clubs,’MSC Süd Sauerland’);

array_push($dates,’21.05.2017′);
array_push($clubs,’MSC Schmallenberg’);

array_push($dates,’28.05.2017′);
array_push($clubs,’Briloner AC’);

array_push($dates,’11.06.2017′);
array_push($clubs,’AMC Bad Berleburg’);

array_push($dates,’25.06.2017′);
array_push($clubs,’MSC Lennetal’);

array_push($dates,’02.07.2017′);
array_push($clubs,’OC Siegerland-Nord’);

array_push($dates,’09.07.2017′);
array_push($clubs,’MSC Oeventrop’);

array_push($dates,”);
array_push($clubs,’Gesamtwertung’);

array_push($dates,”);
array_push($clubs,”);

array_push($dates,’03.09.2017′);
array_push($clubs,’1. Endlauf’);

array_push($dates,’10.09.2017′);
array_push($clubs,’2. Endlauf’);

array_push($dates,’17.09.2017′);
array_push($clubs,’3. Endlauf’);

array_push($dates,”);
array_push($clubs,’Gesamtwertung’);

array_push($dates,”);
array_push($clubs,”);

array_push($dates,”);
array_push($clubs,’Jugend-Kart-Slalom-Meisterschaft NRW’);

array_push($dates,”);
array_push($clubs,”);

array_push($dates,”);
array_push($clubs,’ADAC Bundesfinale’);

array_push($dates,”);
array_push($clubs,”);

array_push($dates,”);
array_push($clubs,’DMSJ Bundesfinale’);

$offset = 0;

for($i=0;$i‘.”\r\n”;

for ($j=0;$j‘;
if($j==0) echo $dates[$i];
if($j==1) echo $clubs[$i];
$currentFileName = $filePrefix.($i+1-$offset).’_’.($j-2).’.pdf’;
if($j>1 && is_file($currentFileName) && $clubs[$i] != “”){
echo ‘‘.$header[$j].’‘;
}
echo ‘

‘.”\r\n”;
}

echo ‘

‘.”\r\n”;
}

[/insert_php]