$file

"; print "
"; if (is_dir("portfolio/$cat")) { if (file_exists("portfolio/$cat/images/$file")) { echo "\"image\""; } } ?>