";
if ( $dir[ 0 ] != '_' )
print "![]() $dir | ";
$index++;
if ( $index % 4 == 0 ) {
echo "
"; } if ( count( $files ) != 0 ) { sort( $files ); $index = 0; print "
";
print "" .
"![]() "; $index++; } foreach ( $files as $file ) { $thumb = $webpath . "/" . $tn_prefix . "" . $file; $rthumb = $realpath . "/" . $tn_prefix . "" . $file; $picture = $webpath . "/" . $file; print " | ";
if ( file_exists( $rthumb ) == false ) {
$thumb_notfound = true;
if ( $force_tn == true ) {
$thumb = $picture;
} else {
$thumb = $default_tn;
}
}
# list($wsize, $hsize, $imgtype, $imgattr) = getimagesize($file);
$picture_orig = $picture;
$picture = rawurlencode( $picture );
print "" .
" " . " | ";
$index++;
if ( $index % 3 == 0 ) {
echo "
"; } ?>