<!--*-->
/**
* This is a callback used to preprocess a code tag
*/
function trcode($matches)
{
if(empty($matches<!--{2}-->[2]<!--*-->)
return $matches<!--{1}-->[1]<!--*-->.$matches<!--{3}-->[3]<!--*-->;
$ret = highlight_string( Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /home/militate/public_html/next/board/hacks.php on line 96
'<?\'.$matches<!--{2}-->[2]<!--*-->, true);
$ret = str_replace(\'<br />\', \'\', substr($ret, strpos($ret, \'</font>\')+7));
// Oh man I am so confused...I hate this method
return $matches<!--{1}-->[1]<!--*-->.$ret.$matches<!--{3}-->[3]<!--*-->;
}<!--{/code}-->
/**
* This is a callback used to preprocess a [code] tag
* NOT READY FOR PRIME TIME!!
*/
function trcode($matches)
{
if(empty($matches[2]))
return $matches[1].$matches[3];
$ret = highlight_string('<?'.$matches[2], true);
$ret = addslashes(str_replace('<br />', '', substr($ret, strpos($ret, '</font>')+7)));
// Oh man I am so confused...I hate this method
return $matches[1].$ret.$matches[3];
}