"; if(in_array(basename($file,".jpg"),$url,true)) echo ""; if(in_array(basename($file,".gif"),$url,true)) echo ""; if(in_array(basename($file,".jpeg"),$url,true)) echo ""; } ?>