I think the problem was that you can't have a block element (e.g. "<blockquote>" or "<code>") embeded in a <li> tag. I needed to add <code> tags because I had to load included files.
PHP Code:
$fc = preg_split("/include\(([^|]*?)\);/i", $fc, -1, PREG_SPLIT_DELIM_CAPTURE );
$t=array(); $tc=array();
for ( $i = 0; $i < count ( $fc ); $i++ ) {
if ( $i % 2 > 0 ) {
$template_parse_code = false;
$t[$i] = eval( ' return @include(' . $fc[$i] . ');' );
$tc[$i] = $fc[$i];
$fc[$i] = '"[::' . $i . '::]"';
}
}
foreach($t as $i => $value) $fc = str_replace ('"[::' . $i . '::]"', '</font>include(<a onclick="sh(' . $i . ');">' . trim($tc[$i]) . '</a>);</code><div >' . highlight_string($t[$i], true) . '</div><code>' , $fc );
print $fc;
I wouldn't recommend anybody trying to use that though. Its what I call a hack.