=gentitle($pgtitle);?>
/*
* Find all javascript files that need to be included
* for this page ... from the arrays ... :)
* Coded by: Erik Kristensen
*/
## Make Sure $page_filename has been set ##
## if it hasn't been don't bother ... :P ##
/*
if ($page_filename) {
include('includes/javascript.inc.php');
foreach ($top_javascript_files["$page_filename"] as $file) {
echo '';
}
}
*/
$dir = trim(basename($_SERVER["PHP_SELF"]), '.php');
$path = "/usr/local/www/javascript/" . $dir . "/";
if (is_dir($path)) {
if ($dh = opendir($path)) {
while (($file = readdir($dh)) !== false) {
"here ";
if (is_dir($file)) continue;
echo "\t".''."\n";
}
closedir($dh);
}
}
?>