{% else-1 %}

                        
function iniCode($code)

{

$code = str_replace('=', '<font style="color: #FF0000">=</font>', $code);

$code = preg_replace('#(\[.+?\])#i', '<font style="font-weight: bold; color: #8000FF">$1</font>', $code);

$code = preg_replace('#^;(.+?)' . PHP_EOL . '#im', '<font style="color: #008000">;$1</font><br />', $code);

$code = str_replace(PHP_EOL, '<br />', $code);

return $code;

}
0 23 0
Без комментариев...