Receptenlijst

"; for ($t = 0; $t < sizeof($mappen); $t ++){ $uploadmap = "$hoofdmap/$mappen[$t]/"; if(!file_exists($uploadmap)){ mkdir($uploadmap); } $bestanden = array(); $namen = array(); $i = 0; $overzicht = opendir($uploadmap); while ($bestand = readdir($overzicht)) { if (($bestand != ".")&&($bestand != "..")&&($bestand != "index.php")) { $bestanden[$i] = $bestand; $i++; } } closedir($overzicht); sort($bestanden); reset($bestanden); if ($i > 0){ $map = substr($uploadmap, 10); $map = ucfirst(str_replace("/", "", $map)); $icoon = $map.'icoon'; echo " $map
"; echo ""; echo "
"; } } echo ""; echo "

Recept toevoegen

"; ?>