cats: ". var_dump($categories) ." pics: ". var_dump($pictures) . " 0 ) { echo "
\n"; foreach ( $categories as $category ) { if (file_exists( $category."/.gridhide") ) { continue; } $file = absoluteToRelative( $category, $imagesFolder ); $name = tidyName( $category ); $createFile = false; foreach( $newImages as $entry ) { $path = realpath( $category ); if( isInFolder( $path, $entry ) ) { $createFile = true; break; } } $image = addslashes( absoluteToRelative( listFiles( $category, true, true), $imagesFolder )); echo "
"; if( $createFile ) { ?>
$name
"; }?>
0 ) { ?>
"; }?>