enable_line_numbers(GESHI_FANCY_LINE_NUMBERS); $geshi->set_line_style('font-size: 0.8em; color: #999;', 'font-size: 0.8em; color: #000;'); $geshi->set_code_style('margin-left: 1em; color: #000; font-size: 1.3em;', true); $geshi->set_header_type(GESHI_HEADER_DIV); $geshi->set_footer_content('Rendered in {TIME}s with GeSHi {VERSION}'); $geshi->set_footer_content_style('font-size: 0.5em; color: #DDD; text-align: center;'); $geshi->set_overall_style('width: 100%;'); if (isset($_REQUEST['hl'])) { $geshi->highlight_lines_extra(explode(',', $_REQUEST['hl'])); } $output = $geshi->parse_code(); $html = << Pasted code - $desc
$desc ($language) [ New ] [ Link ] [ Remove ]
$output EOH; return $html; } ?>