Quote:
Originally Posted by kira
hello I would like to add bbcode plugin shoutbox? how! thank you
|
add to index or to shoutbox
PHP Code:
function quickbbshout(){
echo "<center><table border=0 cellpadding=0 cellspacing=2 ALIGN=\"left\" width=\"25%\"><tr>";
echo "<td width=22><a href=\"javascript:bbshout('[b]', '[/b]')\"><img src=images/bbcode/bbcode_bold.gif border=0 alt='Bold' id=button1></a></td>";
echo "<td width=22><a href=\"javascript:bbshout('[i]', '[/i]')\"><img src=images/bbcode/bbcode_italic.gif border=0 alt='Italic'></a></td>";
echo "<td width=22><a href=\"javascript:bbshout('[u]', '[/u]')\"><img src=images/bbcode/bbcode_underline.gif border=0 alt='Underline'></a></td>";
echo "<td width=22><a href=\"javascript:bbshout('[url]', '[/url]')\"><img src=images/bbcode/bbcode_url.gif border=0 alt='Url'></a></td>";
echo "<td width=22><a href=\"javascript:bbshout('[img]', '[/img]')\"><img src=images/bbcode/bbcode_image.gif border=0 alt='Img'></a></td>";
echo "<td width=22><a href=\"javascript:bbshout('[blink]', '[/blink]')\"><img src=images/bbcode/bbcode_blink.gif border=0 alt='blink'></a></td>";
echo "<td width=22><a href=\"javascript:bbshout('[center]', '[/center]')\"><img src=images/bbcode/bbcode_center.gif border=0 alt='center'></a></td>";
echo "<td width=22><a href=\"javascript:bbshout('[left]', '[/left]')\"><img src=images/bbcode/bbcode_left.gif border=0 alt='left'></a></td>";
echo "<td width=22><a href=\"javascript:bbshout('[right]', '[/right]')\"><img src=images/bbcode/bbcode_right.gif border=0 alt='right'></a></td>";
echo "<td width=22><a href=\"javascript:bbshout('[df]', '[/df]')\"><img src=images/bbcode/bbcode_defile.gif border=0 alt='defile'></a></td>";