P.U.B.L.I.C. html


"; foreach ($files1 as $file) { $extension = substr($file, -4); switch ($extension) { case ".mp3": $musics[] = $file; break; case ".jpg": $pictures[] = $file; break; case ".pdf": $pdfs[] = $file; break; default: $others[] = $file; } } echo "\n"; echo "

Musik:

"; echo "\n"; echo "

Bilder:

"; echo "\n"; echo "

PDFs:

"; echo "\n"; echo "

Rest:

"; echo "\n"; ?>