$dir = opendir("."); while(($file = readdir($dir))!=null){ if($file != "index.php" && $file != "." && $file != "..") $all[] = $file; } closedir($dir); for($i=0;$i
"); else{ if(file_exists("lock.$i.gif")) print("
"); } } ?>