include("site.inc");
$template = new Page;
$template->initCommon();
$template->displayHeader();
# I stole this from php.net, I no speak da php
$the_array = Array();
$handle = opendir('.');
while (false !== ($file = readdir($handle))) {
if ($file != "." && $file != ".." && $file != "index.php" && $file != "index.html" ) { /* as descripted below: these "files" will not be added to the array */
$the_array[] = $file;
}
}
closedir($handle);
foreach ($the_array as $element) {
echo "$element
\n";
}
$template->displayFooter('$Date: 2005/11/29 17:32:50 $');
?>