Spatenstich
Bilder vom Spatenstich des Neubaus
function verzeichnis($ges,$ver) {
$anz = 0;
$anzdir = 0;
//print "Ordner: $ver
";
if (!($ver == ""))
chdir($ver);
$text = $ges . "/" . $ver;
$dat = opendir('./');
while ($res = readdir($dat)) {
if (is_dir($res)) {
if (!(($res == ".") or ($res == ".."))) {
$anzdir++;
$dir[$anzdir] = $res;
}
}
else {
$endung = stristr($res,'.');
if (!(($endung == '.php') or ($res== '.bash_profile') or ($res== '.bashrc') or ($endung== '.gif') or ($endung== '.jpg'))) {
while (substr($text,0,1) == "/")
$text = substr($text,1);
$anz++;
if ($text == "")
print "
";
else
print "
";
}
}
}
closedir($dat);
//print "$anz Dateien, $anzdir Ordner
";
//print "
- ";
if (!(count ($dir) == 0))
foreach ($dir as $d) {
verzeichnis($text,$d);
}
if (!($ver == ""))
chdir("..");
print "
12.2.2011 - Hartmut Kurz (Fotos von Merlin Schmidt)