UBB script
Auteur: cowbeast - 04 september 2004 - 15:07 - Gekeurd door: Dennisvb - Hits: 16286 - Aantal punten: 3.26 (17 stemmen)
Hellooow
Ik weer!!! Ik heb een ubb scriptje gemaakt dat overal toepasbaar is!! Het bestaat uit een extern ubb paginatje en een uitgebrijd java script stukje!
Het is zeer eenvoudig aan te passen!!
Hier kan je de smilys downloaden!!
http://cowbeast...mileys.zip
Veel suc6
Greetz Mathieu!!
EDIT: Sorry ik ben iets vergeten zeggen je formulier moet ook een bepaalde naam hebben! name="frmPost" tenzij je een andere wilt dan moet je dat aanpassen in het deeltje javascript!
Code:
ubb.php
--------------------
<?
$bericht = htmlspecialchars($bericht);
$bericht = str_replace("\n","<br>",$bericht);
//smilies
$bericht = str_replace(":d", "<img src=\"smileys/emotie1.gif\">", $bericht);
$bericht = str_replace(":|", "<img src=\"smileys/emotie3.gif\">", $bericht);
$bericht = str_replace("(h)", "<img src=\"smileys/emotie5.gif\">", $bericht);
$bericht = str_replace("(6)", "<img src=\"smileys/emotie7.gif\">", $bericht);
$bericht = str_replace("(h2)", "<img src=\"smileys/emotie9.gif\">", $bericht);
$bericht = str_replace(":X", "<img src=\"smileys/emotie11.gif\">", $bericht);
$bericht = str_replace(",)", "<img src=\"smileys/emotie13.gif\">", $bericht);
$bericht = str_replace(":/", "<img src=\"smileys/emotie15.gif\">", $bericht);
$bericht = str_replace(":!s", "<img src=\"smileys/emotie17.gif\">", $bericht);
$bericht = str_replace(":!/", "<img src=\"smileys/emotie28.gif\">", $bericht);
$bericht = str_replace("<)", "<img src=\"smileys/happy.gif.gif\">", $bericht);
$bericht = str_replace(":!|", "<img src=\"smileys/icon9.gif\">", $bericht);
$bericht = str_replace("<d", "<img src=\"smileys/laugh.gif\">", $bericht);
$bericht = str_replace(":-|", "<img src=\"smileys/mellow.gif\">", $bericht);
$bericht = str_replace(":o", "<img src=\"smileys/ohmy.gif\">", $bericht);
$bericht = str_replace(":!)", "<img src=\"smileys/rolleyes.gif\">", $bericht);
$bericht = str_replace(">|", "<img src=\"smileys/sleep.gif\">", $bericht);
$bericht = str_replace("8-)", "<img src=\"smileys/unsure.gif\">", $bericht);
$bericht = str_replace(";)", "<img src=\"smileys/wink.gif\">", $bericht);
$bericht = str_replace("(?)", "<img src=\"smileys/vraag.gif\">", $bericht);
$bericht = str_replace("(off)", "<img src=\"smileys/offtopic.gif\">", $bericht);
$bericht = str_replace("(8)", "<img src=\"smileys/emotie2.gif\">", $bericht);
$bericht = str_replace("8!|", "<img src=\"smileys/emotie4.gif\">", $bericht);
$bericht = str_replace(";!s", "<img src=\"smileys/emotie6.gif\">", $bericht);
$bericht = str_replace("0)", "<img src=\"smileys/emotie8.gif\">", $bericht);
$bericht = str_replace(":!!/", "<img src=\"smileys/emotie10.gif\">", $bericht);
$bericht = str_replace(":°", "<img src=\"smileys/emotie12.gif\">", $bericht);
$bericht = str_replace("x)", "<img src=\"smileys/emotie14.gif\">", $bericht);
$bericht = str_replace("x'", "<img src=\"smileys/emotie16.gif\">", $bericht);
$bericht = str_replace(":-0", "<img src=\"smileys/emotie18.gif\">", $bericht);
$bericht = str_replace(":p", "<img src=\"smileys/emotie38.gif\">", $bericht);
$bericht = str_replace("(n)", "<img src=\"smileys/huh.gif\">", $bericht);
$bericht = str_replace("(!)", "<img src=\"smileys/icon13.gif\">", $bericht);
$bericht = str_replace(":(", "<img src=\"smileys/mad.gif\">", $bericht);
$bericht = str_replace("(f)", "<img src=\"smileys/middelv2.gif\">", $bericht);
$bericht = str_replace("(-)", "<img src=\"smileys/ph34r.gif\">", $bericht);
$bericht = str_replace("*(", "<img src=\"smileys/sad.gif\">", $bericht);
$bericht = str_replace(":)", "<img src=\"smileys/smile.gif\">", $bericht);
$bericht = str_replace(":s", "<img src=\"smileys/wacko.gif\">", $bericht);
$bericht = str_replace("(l)", "<img src=\"smileys/wub.gif\">", $bericht);
$bericht = str_replace("(lh)", "<img src=\"smileys/hard.gif\">", $bericht);
//opmaak
$bericht = eregi_replace("\\[color=([^\\[]*)\\]([^\\[]*)\\[/color\\]","<font color=\"\\1\">\\2</font>",$bericht);
$bericht = eregi_replace("\\[size=([^\\[]*)\\]([^\\[]*)\\[/size\\]","<font size=\"\\1\">\\2</font>",$bericht);
$bericht = eregi_replace("\\[align=([^\\[]*)\\]([^\\[]*)\\[/align\\]","<div align=\"\\1\">\\2</div>",$bericht);
$bericht = eregi_replace("\\[email=([^\\[]*)\\]([^\\[]*)\\[/email\\]", "<a href=\"mailto:\\1\">\\2</a>",$bericht);
$bericht = eregi_replace("\\[url=([^\\[]*)\\]([^\\[]*)\\[/url\\]","<a href=\\1 target=_blank>\\2</a>",$bericht);
$bericht = eregi_replace("\[quote\]","<b style='font-size: 8pt'>Quote:</b><hr>",$bericht);
$bericht = eregi_replace('\[quote=([[:alnum:]]+)\]', "<b style='font-size: 8pt'>Quote (\\1):</b><hr>",$bericht);
$bericht = eregi_replace("\[/quote\]","<br /><hr>",$bericht);
$bericht = preg_replace("_\[code\](.*?)\[/code\]_ise", "colorcoding('\\1')", $bericht);
$bericht = str_replace("[b]","<b>",$bericht);
$bericht = str_replace("[/b]","</b>",$bericht);
$bericht = str_replace("[i]","<i>",$bericht);
$bericht = str_replace("[/i]","</i>",$bericht);
$bericht = str_replace("[u]","<u>",$bericht);
$bericht = str_replace("[/u]","</u>",$bericht);
$bericht = str_replace("[left]","<div align=\"left\">",$bericht);
$bericht = str_replace("[/left]","<div>",$bericht);
$bericht = str_replace("[center]","<center>",$bericht);
$bericht = str_replace("[/center]","</center>",$bericht);
$bericht = str_replace("[right]","<div align=\"right\">",$bericht);
$bericht = str_replace("[/right]","<div>",$bericht);
//woordfilter
$bericht = str_replace("fuck","<font color=\"#FF0000\">***</font>",$bericht);
$bericht = str_replace("shit","<font color=\"#FF0000\">***</font>",$bericht);
$bericht = str_replace("dick","<font color=\"#FF0000\">***</font>",$bericht);
$bericht = str_replace("suck","<font color=\"#FF0000\">***</font>",$bericht);
$bericht = str_replace("cum","<font color=\"#FF0000\">***</font>",$bericht);
$bericht = str_replace("blowjob","<font color=\"#FF0000\">***</font>",$bericht);
$bericht = str_replace("pik","<font color=\"#FF0000\">***</font>",$bericht);
$bericht = str_replace("kut","<font color=\"#FF0000\">***</font>",$bericht);
$bericht = str_replace("lul","<font color=\"#FF0000\">***</font>",$bericht);
$bericht = str_replace("eikel","<font color=\"#FF0000\">***</font>",$bericht);
$bericht = str_replace("klootzak","<font color=\"#FF0000\">***</font>",$bericht);
$bericht = str_replace("dyke","<font color=\"#FF0000\">***</font>",$bericht);
$bericht = str_replace("asshole","<font color=\"#FF0000\">***</font>",$bericht);
$bericht = str_replace("hoer","<font color=\"#FF0000\">***</font>",$bericht);
$bericht = str_replace("slet","<font color=\"#FF0000\">***</font>",$bericht);
$bericht = str_replace("teef","<font color=\"#FF0000\">***</font>",$bericht);
$bericht = str_replace("bitch","<font color=\"#FF0000\">***</font>",$bericht);
?>
<?
//smilies
$bericht = str_replace ( ":d" , "<img src=\" smileys/emotie1.gif\" >" , $bericht ) ; $bericht = str_replace ( ":|" , "<img src=\" smileys/emotie3.gif\" >" , $bericht ) ; $bericht = str_replace ( "(h)" , "<img src=\" smileys/emotie5.gif\" >" , $bericht ) ; $bericht = str_replace ( "(6)" , "<img src=\" smileys/emotie7.gif\" >" , $bericht ) ; $bericht = str_replace ( "(h2)" , "<img src=\" smileys/emotie9.gif\" >" , $bericht ) ; $bericht = str_replace ( ":X" , "<img src=\" smileys/emotie11.gif\" >" , $bericht ) ; $bericht = str_replace ( ",)" , "<img src=\" smileys/emotie13.gif\" >" , $bericht ) ; $bericht = str_replace ( ":/" , "<img src=\" smileys/emotie15.gif\" >" , $bericht ) ; $bericht = str_replace ( ":!s" , "<img src=\" smileys/emotie17.gif\" >" , $bericht ) ; $bericht = str_replace ( ":!/" , "<img src=\" smileys/emotie28.gif\" >" , $bericht ) ; $bericht = str_replace ( "<)" , "<img src=\" smileys/happy.gif.gif\" >" , $bericht ) ; $bericht = str_replace ( ":!|" , "<img src=\" smileys/icon9.gif\" >" , $bericht ) ; $bericht = str_replace ( "<d" , "<img src=\" smileys/laugh.gif\" >" , $bericht ) ; $bericht = str_replace ( ":-|" , "<img src=\" smileys/mellow.gif\" >" , $bericht ) ; $bericht = str_replace ( ":o" , "<img src=\" smileys/ohmy.gif\" >" , $bericht ) ; $bericht = str_replace ( ":!)" , "<img src=\" smileys/rolleyes.gif\" >" , $bericht ) ; $bericht = str_replace ( ">|" , "<img src=\" smileys/sleep.gif\" >" , $bericht ) ; $bericht = str_replace ( "8-)" , "<img src=\" smileys/unsure.gif\" >" , $bericht ) ; $bericht = str_replace ( ";)" , "<img src=\" smileys/wink.gif\" >" , $bericht ) ; $bericht = str_replace ( "(?)" , "<img src=\" smileys/vraag.gif\" >" , $bericht ) ; $bericht = str_replace ( "(off)" , "<img src=\" smileys/offtopic.gif\" >" , $bericht ) ; $bericht = str_replace ( "(8)" , "<img src=\" smileys/emotie2.gif\" >" , $bericht ) ; $bericht = str_replace ( "8!|" , "<img src=\" smileys/emotie4.gif\" >" , $bericht ) ; $bericht = str_replace ( ";!s" , "<img src=\" smileys/emotie6.gif\" >" , $bericht ) ; $bericht = str_replace ( "0)" , "<img src=\" smileys/emotie8.gif\" >" , $bericht ) ; $bericht = str_replace ( ":!!/" , "<img src=\" smileys/emotie10.gif\" >" , $bericht ) ; $bericht = str_replace ( ":°" , "<img src=\" smileys/emotie12.gif\" >" , $bericht ) ; $bericht = str_replace ( "x)" , "<img src=\" smileys/emotie14.gif\" >" , $bericht ) ; $bericht = str_replace ( "x'" , "<img src=\" smileys/emotie16.gif\" >" , $bericht ) ; $bericht = str_replace ( ":-0" , "<img src=\" smileys/emotie18.gif\" >" , $bericht ) ; $bericht = str_replace ( ":p" , "<img src=\" smileys/emotie38.gif\" >" , $bericht ) ; $bericht = str_replace ( "(n)" , "<img src=\" smileys/huh.gif\" >" , $bericht ) ; $bericht = str_replace ( "(!)" , "<img src=\" smileys/icon13.gif\" >" , $bericht ) ; $bericht = str_replace ( ":(" , "<img src=\" smileys/mad.gif\" >" , $bericht ) ; $bericht = str_replace ( "(f)" , "<img src=\" smileys/middelv2.gif\" >" , $bericht ) ; $bericht = str_replace ( "(-)" , "<img src=\" smileys/ph34r.gif\" >" , $bericht ) ; $bericht = str_replace ( "*(" , "<img src=\" smileys/sad.gif\" >" , $bericht ) ; $bericht = str_replace ( ":)" , "<img src=\" smileys/smile.gif\" >" , $bericht ) ; $bericht = str_replace ( ":s" , "<img src=\" smileys/wacko.gif\" >" , $bericht ) ; $bericht = str_replace ( "(l)" , "<img src=\" smileys/wub.gif\" >" , $bericht ) ; $bericht = str_replace ( "(lh)" , "<img src=\" smileys/hard.gif\" >" , $bericht ) ;
//opmaak
$bericht = eregi_replace ( "\\[color=([^\\[]*)\\]([^\\[]*)\\[/color\\]" , "<font color=\" \\1 \" >\\2 </font>" , $bericht ) ; $bericht = eregi_replace ( "\\[size=([^\\[]*)\\]([^\\[]*)\\[/size\\]" , "<font size=\" \\1 \" >\\2 </font>" , $bericht ) ; $bericht = eregi_replace ( "\\[align=([^\\[]*)\\]([^\\[]*)\\[/align\\]" , "<div align=\" \\1 \" >\\2 </div>" , $bericht ) ; $bericht = eregi_replace ( "\\[email=([^\\[]*)\\]([^\\[]*)\\[/email\\]" , "<a href=\" mailto:\\1 \" >\\2 </a>" , $bericht ) ; $bericht = eregi_replace ( "\\[url=([^\\[]*)\\]([^\\[]*)\\[/url\\]" , "<a href=\\1 target=_blank>\\2 </a>" , $bericht ) ; $bericht = eregi_replace ( "\[quote\]" , "<b style='font-size: 8pt'>Quote:</b><hr>" , $bericht ) ; $bericht = eregi_replace ( '\[quote=([[:alnum:]]+)\]' , "<b style='font-size: 8pt'>Quote (\\1 ):</b><hr>" , $bericht ) ; $bericht = preg_replace ( "_\[code\](.*?)\[/code\]_ise" , "colorcoding('\\1 ')" , $bericht ) ;
$bericht = str_replace ( "[left]" , "<div align=\" left\" >" , $bericht ) ; $bericht = str_replace ( "[center]" , "<center>" , $bericht ) ; $bericht = str_replace ( "[/center]" , "</center>" , $bericht ) ; $bericht = str_replace ( "[right]" , "<div align=\" right\" >" , $bericht ) ;
//woordfilter
$bericht = str_replace ( "fuck" , "<font color=\" #FF0000\" >***</font>" , $bericht ) ; $bericht = str_replace ( "shit" , "<font color=\" #FF0000\" >***</font>" , $bericht ) ; $bericht = str_replace ( "dick" , "<font color=\" #FF0000\" >***</font>" , $bericht ) ; $bericht = str_replace ( "suck" , "<font color=\" #FF0000\" >***</font>" , $bericht ) ; $bericht = str_replace ( "cum" , "<font color=\" #FF0000\" >***</font>" , $bericht ) ; $bericht = str_replace ( "blowjob" , "<font color=\" #FF0000\" >***</font>" , $bericht ) ; $bericht = str_replace ( "pik" , "<font color=\" #FF0000\" >***</font>" , $bericht ) ; $bericht = str_replace ( "kut" , "<font color=\" #FF0000\" >***</font>" , $bericht ) ; $bericht = str_replace ( "lul" , "<font color=\" #FF0000\" >***</font>" , $bericht ) ; $bericht = str_replace ( "eikel" , "<font color=\" #FF0000\" >***</font>" , $bericht ) ; $bericht = str_replace ( "klootzak" , "<font color=\" #FF0000\" >***</font>" , $bericht ) ; $bericht = str_replace ( "dyke" , "<font color=\" #FF0000\" >***</font>" , $bericht ) ; $bericht = str_replace ( "asshole" , "<font color=\" #FF0000\" >***</font>" , $bericht ) ; $bericht = str_replace ( "hoer" , "<font color=\" #FF0000\" >***</font>" , $bericht ) ; $bericht = str_replace ( "slet" , "<font color=\" #FF0000\" >***</font>" , $bericht ) ; $bericht = str_replace ( "teef" , "<font color=\" #FF0000\" >***</font>" , $bericht ) ; $bericht = str_replace ( "bitch" , "<font color=\" #FF0000\" >***</font>" , $bericht ) ;
?>
Het gedeelte dat in de pagina komt!
---------------------------------------------
Stukje java script:
<script language="javascript">
function setCursor()
{
if(document.frmPost.bericht.createTextRange)
{
document.frmPost.bericht.caretPos = document.selection.createRange().duplicate();
}
}
function ubb(begin,eind,opmaak)
{
if(!eind && !opmaak)
{
if(document.frmPost.bericht.createTextRange && document.frmPost.bericht.caretPos)
{
document.frmPost.bericht.caretPos.text = begin;
}
}
else if(opmaak == "dubbel")
{
var selectie = document.selection.createRange().text;
if(!selectie)
{
var url_deel = prompt("Typ hier de/het "+ begin +" die/dat geplaatst moet worden:","");
var tekst_deel = prompt("Typ hier de tekst die geplaatst moet worden:","");
if(url_deel && tekst_deel)
{
document.frmPost.bericht.caretPos.text = "["+begin+"="+url_deel+"]" + tekst_deel + "[/"+eind+"]";
}
}
if(selectie)
{
var url_deel = prompt("Typ hier de url die geplaatst moet worden:","");
if(url_deel)
{
document.selection.createRange().text = "["+begin+"="+url_deel+"]" + selectie + "[/"+eind+"]";
}
}
}
else
{
if(opmaak != "geen")
{
var selectie = document.selection.createRange().text;
if(!selectie)
{
var new_inhoud = prompt("Typ hier de tekst in waarrond "+begin+" & "+eind+" geplaatst moet worden:","");
if(new_inhoud)
{
document.frmPost.bericht.caretPos.text = begin + new_inhoud + eind;
}
}
if(selectie)
{
document.selection.createRange().text = begin + selectie + eind;
}
}
}
document.frmPost.bericht.focus();
return;
}
</script>
<script language = "javascript" >
function setCursor( )
{
if ( document. frmPost. bericht. createTextRange)
{
document. frmPost. bericht. caretPos = document. selection. createRange( ) . duplicate( ) ;
}
}
function ubb( begin, eind, opmaak)
{
if ( ! eind && ! opmaak)
{
if ( document. frmPost. bericht. createTextRange && document. frmPost. bericht. caretPos)
{
document. frmPost. bericht. caretPos. text = begin;
}
}
else if ( opmaak == "dubbel" )
{
var selectie = document. selection. createRange( ) . text;
if ( ! selectie)
{
var url_deel = prompt( "Typ hier de/het " + begin + " die/dat geplaatst moet worden:" , "" ) ;
var tekst_deel = prompt( "Typ hier de tekst die geplaatst moet worden:" , "" ) ;
if ( url_deel && tekst_deel)
{
document. frmPost. bericht. caretPos. text = "[" + begin+ "=" + url_deel+ "]" + tekst_deel + "[/" + eind+ "]" ;
}
}
if ( selectie)
{
var url_deel = prompt( "Typ hier de url die geplaatst moet worden:" , "" ) ;
if ( url_deel)
{
document. selection. createRange( ) . text = "[" + begin+ "=" + url_deel+ "]" + selectie + "[/" + eind+ "]" ;
}
}
}
else
{
if ( opmaak != "geen" )
{
var selectie = document. selection. createRange( ) . text;
if ( ! selectie)
{
var new_inhoud = prompt( "Typ hier de tekst in waarrond " + begin+ " & " + eind+ " geplaatst moet worden:" , "" ) ;
if ( new_inhoud)
{
document. frmPost. bericht. caretPos. text = begin + new_inhoud + eind;
}
}
if ( selectie)
{
document. selection. createRange( ) . text = begin + selectie + eind;
}
}
}
document. frmPost. bericht. focus( ) ;
return ;
}
</script>
Voor het invoegen van de smilys:
<table width="466" border="0" cellpadding="1" cellspacing="0">
<tr>
<td colspan="21" align="center">
<img src='smileys/left.gif' width="20" height="20" onclick="ubb('[left]','[/left]','URL invoegen');">
<img src='smileys/center.gif' width="20" height="20" onclick="ubb('[center]','[/center]','URL invoegen');">
<img src='smileys/right.gif' width="20" height="20" onclick="ubb('[right]','[/right]','URL invoegen');">
<img src='smileys/b.gif' width="20" height="20" onclick="ubb('[b]','[/b]','URL invoegen');"><img src='smileys/i.gif' width="20" height="20" onclick="ubb('[i]','[/i]','URL invoegen');"><img src='smileys/u.gif' width="20" height="20" onclick="ubb('[u]','[/u]','URL invoegen');">
</td>
</tr>
<tr>
<td width="20" height="31"><img src="smileys/emotie1.gif" width="20" height="20" onclick="ubb(':d');"></td>
<td width="20"><img src="smileys/emotie3.gif" width="20" height="20" onclick="ubb(':|');"></td>
<td width="20"><img src="smileys/emotie5.gif" width="20" height="20" onclick="ubb('(h)');"></td>
<td width="20"><img src="smileys/emotie7.gif" width="19" height="19" onclick="ubb('(6)');"></td>
<td width="20"><img src="smileys/emotie9.gif" width="20" height="20" onclick="ubb('(h2)');"></td>
<td width="20"><img src="smileys/emotie11.gif" width="20" height="20" onclick="ubb(':X');"></td>
<td width="20"><img src="smileys/emotie13.gif" width="20" height="20" onclick="ubb(',)');"></td>
<td width="20"><img src="smileys/emotie15.gif" width="20" height="20" onclick="ubb(':/');"></td>
<td width="20"><img src="smileys/emotie17.gif" width="18" height="18" onclick="ubb(':!s');"></td>
<td width="16"><img src="smileys/emotie28.gif" width="20" height="20" onclick="ubb(':!/');"></td>
<td width="22"><img src="smileys/happy.gif" width="20" height="20" onclick="ubb('<)');"></td>
<td width="14"><img src="smileys/icon9.gif" width="19" height="19" onclick="ubb(':!|');"></td>
<td width="14"><img src="smileys/laugh.gif" width="20" height="20" onclick="ubb('<d');"></td>
<td width="14"><img src="smileys/mellow.gif" width="20" height="20" onclick="ubb(':-|');"></td>
<td width="14"><img src="smileys/ohmy.gif" width="20" height="20" onclick="ubb(':o');"></td>
<td width="14"><img src="smileys/rolleyes.gif" width="20" height="20" onclick="ubb(':!)');"></td>
<td width="14"><img src="smileys/sleep.gif" width="20" height="20" onclick="ubb('>|');"></td>
<td width="14"><img src="smileys/unsure.gif" width="20" height="20" onclick="ubb('8-)');"></td>
<td width="14"><img src="smileys/wink.gif" width="20" height="20" onclick="ubb(';)');"></td>
<td><img src="smileys/vraag.gif" width="20" height="20" onclick="ubb('(?)');"></td>
<td width="82" rowspan="2"><img src="smileys/offtopic.gif" width="47" height="51" onclick="ubb('(off)');"></td>
</tr>
<tr>
<td height="31"><img src="smileys/emotie2.gif" width="18" height="18" onclick="ubb('(8)');"></td>
<td><img src="smileys/emotie4.gif" width="20" height="20" onclick="ubb('8'|');"></td>
<td><img src="smileys/emotie6.gif" width="18" height="18" onclick="ubb(';!s');"></td>
<td><img src="smileys/emotie8.gif" width="20" height="20" onclick="ubb('0)');"></td>
<td><img src="smileys/emotie10.gif" width="20" height="20" onclick="ubb(':!!/');"></td>
<td><img src="smileys/emotie12.gif" width="20" height="20" onclick="ubb(':°');"></td>
<td><img src="smileys/emotie14.gif" width="20" height="20" onclick="ubb('x)');"></td>
<td><img src="smileys/emotie16.gif" width="20" height="20" onclick="ubb('x!');"></td>
<td><img src="smileys/emotie18.gif" width="20" height="20" onclick="ubb(':-0');"></td>
<td><img src="smileys/emotie38.gif" width="20" height="20" onclick="ubb(':p');"></td>
<td><img src="smileys/huh.gif" width="20" height="20" onclick="ubb('(n)');"></td>
<td><img src="smileys/icon13.gif" width="19" height="19" onclick="ubb('(!)');"></td>
<td><img src="smileys/mad.gif" width="20" height="20" onclick="ubb(':(');"></td>
<td><img src="smileys/middelv2.gif" width="40" height="18" onclick="ubb('(f)');"></td>
<td><img src="smileys/ph34r.gif" width="20" height="20" onclick="ubb('(-)');"></td>
<td><img src="smileys/sad.gif" width="20" height="20" onclick="ubb('*(');"></td>
<td><img src="smileys/smile.gif" width="20" height="20" onclick="ubb(':)');"></td>
<td><img src="smileys/wacko.gif" width="20" height="20" onclick="ubb(':s');"></td>
<td><img src="smileys/wub.gif" width="22" height="29" onclick="ubb('(l)');"></td>
<td><img src="smileys/hard.gif" width="20" height="20" onclick="ubb('(lh)');"></td>
</tr>
</table>
< table width= "466" border= "0" cellpadding= "1" cellspacing= "0" >
< tr>
< td colspan= "21" align= "center" >
< img src= 'smileys/left.gif' width= "20" height= "20" onclick= "ubb('[left]','[/left]','URL invoegen');" >
< img src= 'smileys/center.gif' width= "20" height= "20" onclick= "ubb('[center]','[/center]','URL invoegen');" >
< img src= 'smileys/right.gif' width= "20" height= "20" onclick= "ubb('[right]','[/right]','URL invoegen');" >
< img src= 'smileys/b.gif' width= "20" height= "20" onclick= "ubb('[b]','[/b]','URL invoegen');" >< img src= 'smileys/i.gif' width= "20" height= "20" onclick= "ubb('[i]','[/i]','URL invoegen');" >< img src= 'smileys/u.gif' width= "20" height= "20" onclick= "ubb('[u]','[/u]','URL invoegen');" >
</ td>
</ tr>
< tr>
< td width= "20" height= "31" >< img src= "smileys/emotie1.gif" width= "20" height= "20" onclick= "ubb(':d');" ></ td>
< td width= "20" >< img src= "smileys/emotie3.gif" width= "20" height= "20" onclick= "ubb(':|');" ></ td>
< td width= "20" >< img src= "smileys/emotie5.gif" width= "20" height= "20" onclick= "ubb('(h)');" ></ td>
< td width= "20" >< img src= "smileys/emotie7.gif" width= "19" height= "19" onclick= "ubb('(6)');" ></ td>
< td width= "20" >< img src= "smileys/emotie9.gif" width= "20" height= "20" onclick= "ubb('(h2)');" ></ td>
< td width= "20" >< img src= "smileys/emotie11.gif" width= "20" height= "20" onclick= "ubb(':X');" ></ td>
< td width= "20" >< img src= "smileys/emotie13.gif" width= "20" height= "20" onclick= "ubb(',)');" ></ td>
< td width= "20" >< img src= "smileys/emotie15.gif" width= "20" height= "20" onclick= "ubb(':/');" ></ td>
< td width= "20" >< img src= "smileys/emotie17.gif" width= "18" height= "18" onclick= "ubb(':!s');" ></ td>
< td width= "16" >< img src= "smileys/emotie28.gif" width= "20" height= "20" onclick= "ubb(':!/');" ></ td>
< td width= "22" >< img src= "smileys/happy.gif" width= "20" height= "20" onclick= "ubb('<)');" ></ td>
< td width= "14" >< img src= "smileys/icon9.gif" width= "19" height= "19" onclick= "ubb(':!|');" ></ td>
< td width= "14" >< img src= "smileys/laugh.gif" width= "20" height= "20" onclick= "ubb('<d');" ></ td>
< td width= "14" >< img src= "smileys/mellow.gif" width= "20" height= "20" onclick= "ubb(':-|');" ></ td>
< td width= "14" >< img src= "smileys/ohmy.gif" width= "20" height= "20" onclick= "ubb(':o');" ></ td>
< td width= "14" >< img src= "smileys/rolleyes.gif" width= "20" height= "20" onclick= "ubb(':!)');" ></ td>
< td width= "14" >< img src= "smileys/sleep.gif" width= "20" height= "20" onclick= "ubb('>|');" ></ td>
< td width= "14" >< img src= "smileys/unsure.gif" width= "20" height= "20" onclick= "ubb('8-)');" ></ td>
< td width= "14" >< img src= "smileys/wink.gif" width= "20" height= "20" onclick= "ubb(';)');" ></ td>
< td>< img src= "smileys/vraag.gif" width= "20" height= "20" onclick= "ubb('(?)');" ></ td>
< td width= "82" rowspan= "2" >< img src= "smileys/offtopic.gif" width= "47" height= "51" onclick= "ubb('(off)');" ></ td>
</ tr>
< tr>
< td height= "31" >< img src= "smileys/emotie2.gif" width= "18" height= "18" onclick= "ubb('(8)');" ></ td>
< td>< img src= "smileys/emotie4.gif" width= "20" height= "20" onclick= "ubb('8'|');" ></ td>
< td>< img src= "smileys/emotie6.gif" width= "18" height= "18" onclick= "ubb(';!s');" ></ td>
< td>< img src= "smileys/emotie8.gif" width= "20" height= "20" onclick= "ubb('0)');" ></ td>
< td>< img src= "smileys/emotie10.gif" width= "20" height= "20" onclick= "ubb(':!!/');" ></ td>
< td>< img src= "smileys/emotie12.gif" width= "20" height= "20" onclick= "ubb(':°');" ></ td>
< td>< img src= "smileys/emotie14.gif" width= "20" height= "20" onclick= "ubb('x)');" ></ td>
< td>< img src= "smileys/emotie16.gif" width= "20" height= "20" onclick= "ubb('x!');" ></ td>
< td>< img src= "smileys/emotie18.gif" width= "20" height= "20" onclick= "ubb(':-0');" ></ td>
< td>< img src= "smileys/emotie38.gif" width= "20" height= "20" onclick= "ubb(':p');" ></ td>
< td>< img src= "smileys/huh.gif" width= "20" height= "20" onclick= "ubb('(n)');" ></ td>
< td>< img src= "smileys/icon13.gif" width= "19" height= "19" onclick= "ubb('(!)');" ></ td>
< td>< img src= "smileys/mad.gif" width= "20" height= "20" onclick= "ubb(':(');" ></ td>
< td>< img src= "smileys/middelv2.gif" width= "40" height= "18" onclick= "ubb('(f)');" ></ td>
< td>< img src= "smileys/ph34r.gif" width= "20" height= "20" onclick= "ubb('(-)');" ></ td>
< td>< img src= "smileys/sad.gif" width= "20" height= "20" onclick= "ubb('*(');" ></ td>
< td>< img src= "smileys/smile.gif" width= "20" height= "20" onclick= "ubb(':)');" ></ td>
< td>< img src= "smileys/wacko.gif" width= "20" height= "20" onclick= "ubb(':s');" ></ td>
< td>< img src= "smileys/wub.gif" width= "22" height= "29" onclick= "ubb('(l)');" ></ td>
< td>< img src= "smileys/hard.gif" width= "20" height= "20" onclick= "ubb('(lh)');" ></ td>
</ tr>
</ table>
Code van je tekstveld:
<textarea rows="9" cols="90" name="bericht" onkeyup="setCursor();" onkeydown="setCursor();" onfocus="setCursor();" onclick="setCursor();">Tik hier je tekst...</textarea>
< textarea rows= "9" cols= "90" name= "bericht" onkeyup= "setCursor();" onkeydown= "setCursor();" onfocus= "setCursor();" onclick= "setCursor();" > Tik hier je tekst...</ textarea>
Download code (.txt)
Stemmen
Niet ingelogd.