Juha-Matti Huusko
21.10.2021
';
$dirname = $a;
$images = glob($dirname."*.txt");
$images = array_reverse($images);
foreach($images as $image) {
$paivam = substr($image, 6, 10);
$lines = file($image);//file in to an array
$nimi = substr($image, 0, -4);
$localpdf = $nimi.'.pdf';
if (file_exists($localpdf)) {
$local = ', pdf';
} else {$local ='';}
echo '
Tämä julkaisuluettelo noudattaa ohjetta https://www.aka.fi/julkaisuluettelo.