VGS

[insert_php]
$filePrefix = ‘files/ergebnisse/2017/vgs/’;
$header = array(‘Datum’, ‘Veranstalter’, ‘K1’, ‘K2’, ‘K3’, ‘K4’, ‘K5’, ‘K6’, ‘Mannschaft’);
$dates = array();
$clubs = array();

array_push($dates,’25.02.2017′);
array_push($clubs,’AC Hohenseelbachskopf’);

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

array_push($dates,’07.05.2017′);
array_push($clubs,’MSC Saßmannshausen’);

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

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

array_push($dates,’03.10.2017′);
array_push($clubs,’AC Hohenseelbachskopf’);

array_push($dates,’03.10.2017′);
array_push($clubs,’AC Hohenseelbachskopf’);

array_push($dates,’08.10.2017′);
array_push($clubs,’EMC Erndtebrück’);

array_push($dates,”);
array_push($clubs,’Gesamtwertung’);
[/insert_php]

[insert_php]

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

‘;
}
[/insert_php]

[insert_php]
$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-1).’.pdf’;
if($j>1 && is_file($currentFileName) && $clubs[$i] != “”){
echo ‘‘.$header[$j].’‘;
}
echo ‘

‘.”\r\n”;
}

echo ‘

‘.”\r\n”;
}

[/insert_php]