"; // 'too cool 4 ie' logo // echo "\n\n"; // function to create horizontal menu function create_menu2() { global $theme; $handle = opendir('sections'); while ($file = readdir($handle)) { if (!($file=="." OR $file==".." ) AND (!ereg("^\.",$file) AND ($file!="CVS"))) $modlist .= "$file "; } closedir($handle); $modlist = explode(" ", $modlist); sort($modlist); echo "Home"; for ($i=1; $i < sizeof($modlist); $i++) { if(!stristr($modlist[$i],"none_")) { if(stristr($modlist[$i],"_")) { $tmp=eregi_replace("^[0-9][0-9]_","",$modlist[$i]); $tmp=str_replace("_"," ",$tmp); } else $tmp=$modlist[$i]; echo " | $tmp"; } } } ?>
FlatNuke Valid HTML 4.01! Valid CSS! Get RSS 2.0 Feed Mail me!