PAGE BREAKER
Ready and willing.
Hmm... I played with that and it's still pretty choppy. Ah well.
<?php if (! strstr($_SERVER['HTTP_USER_AGENT'], "MSIE")) { echo <<<END Select a Style: <form name="m2k2styles" action=""> <select name="m2k2style" onchange="goTopic(this.form)"> END; $d = opendir('/home/metroid2002/styles') or die($php_errormsg); while (false !== ($f = readdir($d))) { if (is_file("/home/metroid2002/styles/$f")) { if (preg_match('/.css/', $f)) { $f2 = str_replace("_", " ", $f); $fname = ucwords(substr($f2,0,-4)); if ($current == $fname) { } else { print "\t<option value=\"$f\">$fname</option>\n"; } } } } closedir($d); echo <<<END </select> </form> <Script language="javascript"><!-- restoreDefault(document.m2k2styles.m2k2style); //--></script> END; } else { echo <<<END <a target="_BLANK" style="border-bottom: none;" href="http://www.spreadfirefox.com/?q=affiliates&id=73031&t=78"><img border="0" alt="Get Firefox!" title="Get Firefox!" src="http://sfx-images.mozilla.org/affiliates/Buttons/120x60/get.gif"/></a> END; } ?>