[insert_php]
$dates = array();
$clubs = array();
$filePrefix = ‘files/ergebnisse/2017/youngstercup/’;
array_push($dates,’30.04.2017′);
array_push($clubs,’AC Oelde’);
array_push($dates,’14.05.2017′);
array_push($clubs,’MSC Bork’);
array_push($dates,’21.05.2017′);
array_push($clubs,’AMC Burbach’);
array_push($dates,’11.06.2017′);
array_push($clubs,’MSC Soester Börde’);
array_push($dates,’25.06.2017′);
array_push($clubs,’MSC Auf dem Schnee’);
array_push($dates,’09.07.2017′);
array_push($clubs,’MSC Bergstadt Rüthen’);
array_push($dates,’03.09.2017′);
array_push($clubs,’MSC Oer-Erkenschwick’);
array_push($dates,’17.10.2017′);
array_push($clubs,’MSF Warstein’);
array_push($dates,”);
array_push($clubs,’Gesamtwertung’);
array_push($dates,”);
array_push($clubs,”);
array_push($dates,”);
array_push($clubs,’NRW Landesmeisterschaft’);
array_push($dates,”);
array_push($clubs,”);
array_push($dates,”);
array_push($clubs,’Deutsche Meisterschaft’);
$offset = 0;
$classes = array(‘E’,’J’,’Y’,’M’);
for($i=0;$i‘.”\r\n”;
for ($j=0;$j‘;
if($j==0) echo $dates[$i];
if($j==1) echo $clubs[$i];
$currentFileName = $filePrefix.$classes[($j-2)].($i+1-$offset).’.pdf’;
if($j>1 && is_file($currentFileName) && $clubs[$i] != “”){
echo ‘‘.$header[$j].’‘;
}
echo ‘
‘.”\r\n”;
}
echo ‘
‘.”\r\n”;
}
[/insert_php]