";
if ($handle = opendir(".")) {
while (false !== ($file = readdir($handle))) {
if ($file != "." && $file != ".." && $file != "index.php") {
$filelist[] = "$file";
}
}
closedir($handle);
}
sort($filelist);
foreach($filelist as $file) {
$ffile = str_replace(" ", "%20", $file);
if (ereg($o, $file)) {
print "
";
} else {
print "$file
";
}
}
print "
";
?>