'', chr(27).'[0;36;40m' => '', chr(27).'[1;30;40m' => '', chr(27).'[1;31;40m' => '', chr(27).'[1;32;40m' => '', chr(27).'[1;33;40m' => '', chr(27).'[1;34;40m' => '', chr(27).'[1;35;40m' => '', chr(27).'[1;36;40m' => '', chr(27).'[0;37;40m' => '',//this should really be white - but that would leave text unreadable on the white background of the page chr(27).'[1;40m' => '', chr(27).'[4;40m' => '', chr(27).'[0;40m' => '', ); ?>

">


,\>,g;s/$/
/"',$log); echo '
'; foreach($log as $l){ if(strpos($l, 'WARNING')){$l=''.$l.'';} if(strpos($l, 'DEBUG')){$l=''.$l.'';} if(strpos($l, 'NOTICE')){$l=''.$l.'';} if(strpos($l, 'ERROR')){$l=''.$l.'';} $l=str_replace(array_keys($color), $color, $l); echo $l; } echo '
'; break; default: echo "

"._("Asterisk Log Files")."

"; ?>
" method="post">