Re: test |
Thu, 25 November 2004 17:14 |
|
No Message Body
-
Attachment: TESSERA.jpg
(Size: 23.67KB, Downloaded 2104 times)
|
|
Re: test |
Fri, 26 November 2004 16:45 |
|
No Message Body
-
Attachment: konami.jpg
(Size: 6.21KB, Downloaded 1827 times)
|
|
Re: test |
Fri, 03 December 2004 09:56 |
|
No Message Body
|
|
Re: test |
Mon, 13 December 2004 11:01 |
|
No Message Body
-
Attachment: Flute.jpg
(Size: 9.12KB, Downloaded 3505 times)
|
|
Re: test |
Mon, 13 December 2004 15:34 |
|
No Message Body
-
Attachment: baga5.jpg
(Size: 13.95KB, Downloaded 1252 times)
|
|
Re: test |
Mon, 13 December 2004 15:38 |
|
No Message Body
-
Attachment: baga5.jpg
(Size: 13.95KB, Downloaded 1726 times)
|
|
Re: test |
Mon, 13 December 2004 16:03 |
|
No Message Body
-
Attachment: Skyline.jpg
(Size: 20.20KB, Downloaded 3360 times)
|
|
Re: test |
Tue, 14 December 2004 21:33 |
|
Anonymous wrote on Thu, 11 November 2004 04:10 |
|
Hello word
|
|
Re: test |
Wed, 22 December 2004 10:20 |
|
No Message Body
|
|
Re: test |
Tue, 28 December 2004 18:49 |
|
TEST
|
|
Re: test |
Tue, 28 December 2004 18:51 |
|
Anonymous wrote on Tue, 28 December 2004 13:49 | TEST
|
|
|
Re: test |
Wed, 05 January 2005 15:13 |
|
No Message Body
-
Attachment: Casa.jpg
(Size: 23.49KB, Downloaded 1250 times)
|
|
Re: test |
Mon, 17 January 2005 16:56 |
|
No Message Body
-
Attachment: ingr.jpg
(Size: 11.26KB, Downloaded 1760 times)
|
|
|
Re: test |
Tue, 08 February 2005 16:39 |
|
Laertes wrote on Thu, 15 July 2004 17:07 |
<?php
class my_highlight_string
{ function my_highlight_string ($html='#0000ff',
$default='#0000BB',
$keyword='#000080',
$string='#b60033',
$comment='#008000',
$tag_open_close='#ffffcc'
) //constructor
{ echo "<style>\n";
echo ".source span.html { color: $html; }\n";
echo ".source span.default { color: $default; }\n";
echo ".source span.keyword { color: $keyword; font-weight: bold;}\n";
echo ".source span.string { color: $string; }\n";
echo ".source span.comment { color: $comment; font-style: italic; }\n";
echo ".source span.tag_open_close { color: $default; background-color: $tag_open_close; }\n";
echo "</style>\n"; }
function PrintCode ($code)
{ echo '<pre class="source">';
$source = highlight_file($code, TRUE);
// search style.
$search[0] = '<font color="'.ini_get('highlight.html').'">';
$search[1] = '<font color="'.ini_get('highlight.default').'">';
$search[2] = '<font color="'.ini_get('highlight.keyword').'">';
$search[3] = '<font color="'.ini_get('highlight.string').'">';
$search[4] = '<font color="'.ini_get('highlight.comment').'">';
$search[5] = '</font>';
$search[6] = '<br />';
$search[7] = '\r';
$search[8] = ' ';
$search[9] = '<?';
$search[10] = '?>';
// replace style.
$replace[0] = '<span class="html">';
$replace[1] = '<span class="default">';
$replace[2] = '<span class="keyword">';
$replace[3] = '<span class="string">';
$replace[4] = '<span class="comment">';
$replace[5] = '</span>';
$replace[6] = "\n";
$replace[7] = '';
$replace[8] = ' ';
$replace[9] = '<span class="tag_open_close"><?</span>';
$replace[10] = '<span class="tag_open_close">?></span>';
echo str_replace($search, $replace, $source);
echo '</pre>';
}
} ;
?>
|
how do i get code to show up on my forum area like this is with the colors... do I use this code or is there a tutorial somewhere that I could use to add this to my FUD forum.
|
|
Re: test |
Tue, 08 February 2005 16:41 |
|
use the [php] fudcode tag.
|
|
Re: test |
Tue, 08 February 2005 16:46 |
|
Ilia wrote on Tue, 08 February 2005 11:41 | use the [php] fudcode tag.
|
Thanks Ilia..
|
|
Re: test |
Wed, 09 February 2005 09:07 |
|
No Message Body
|
|
Re: test |
Wed, 09 February 2005 11:27 |
|
No Message Body
|
|
Re: test |
Sun, 13 February 2005 22:38 |
|
This looks like nice forum software!!!
On my forum I have been using phpBB but I am going to give this a try, at least test it out on my personal server!!!
|
|
Re: test |
Sun, 13 February 2005 22:41 |
|
BTW, Does this forum software support sub forums?
|
|
Re: test |
Sun, 13 February 2005 23:57 |
|
No, only sub-categories.
|
|
Re: test |
Wed, 02 March 2005 14:59 |
|
No Message Body
-
Attachment: camera.jpg
(Size: 7.82KB, Downloaded 1761 times)
|
|
Re: test |
Tue, 19 April 2005 13:57 |
|
No Message Body
-
Attachment: Lau.gif
(Size: 5.51KB, Downloaded 2276 times)
|
|
Re: test |
Fri, 22 July 2005 09:55 |
|
No Message Body
-
Attachment: pavi.jpg
(Size: 8.78KB, Downloaded 1378 times)
|
|