"; } echo (''); if ($i % 4 == 0) { echo ""; } } if ($i % 4 != 0) echo ""; echo "
logo.gif border=0>
granit.jpg> "; $i = 0; while (false !== ($f = readdir($handle))) { if ($f != "." and $f != "..") { $photo[] = $f; } } rsort($photo); foreach ($photo as $i => $ph) { if ($i++ % 4 == 0) { echo "
'); if(file_exists($desc.$ph.'.txt')) { echo '

'.file_get_contents($dr.$f.'.txt').'

'; } echo ('
"; closedir($handle); ?>