"; // Hmm, should we make this variable? chdir('admin/'); $dir = opendir("."); $setmodules=1; while($file = readdir($dir)) { if(preg_match("/^admin_.*/", $file)) { //print "$file
\n"; include($file); } } while(list($cat, $action_array) = each($module)) { print "

$cat

\n"; print "\n"; } //var_dump($module); $setmodules = 0; } elseif ($pane == 'right') { echo "This the right pane ;)"; } else { // Generate frameset ?> Admin <body bgcolor="#FFFFFF"> Sorry, your browser doesn't seem to support Frames.. </body>