Código PHP:
<table cellpadding="4" cellspacing="1" border="0" width="100%">
<tr>
<td bgcolor="#becfdf" valign="top"><font face="arial, verdana, helvetica" size="2"><b>Código
vB</b></font><font face="verdana, arial, helvetica" size="1"><br>
<input type="radio" name="mode" value="0" title="Modo Normal: (alt+n)" accesskey="n" onclick="setmode(this.value)"
onmouseover="stat('norm')" checked> Modo Normal<br>
<input type="radio" name="mode" value="1" title="Modo Mejorado (alt+e)" accesskey="e" onclick="setmode(this.value)"
onmouseover="stat('enha')"> Modo Mejorado</font></td>
<td bgcolor="#becfdf">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap><font face="verdana, arial, helvetica" size="1"> <input type="button" class="bginput" value=" B " onclick="vbcode(this.form,'B','')" onmouseover="stat('b')"
title="BOLD (alt+b)" accesskey="b" NAME="Button1"><input type="button" class="bginput" value=" I " onclick="vbcode(this.form,'I','')" onmouseover="stat('i')"
title="ITALIC (alt+i)" accesskey="i" NAME="Button2"><input type="button" class="bginput" value=" U " onclick="vbcode(this.form,'U','')" onmouseover="stat('u')"
title="UNDERLINE (alt+u)" accesskey="u" NAME="Button3">
<select onchange="fontformat(this.form,this.options[this.selectedIndex].value,'SIZE')"
onmouseover="stat('size')" NAME="sizeselect">
<option value="0" selected>Tamaño</option>
<option value="1">pequeño</option>
<option value="3">grande</option>
<option value="4">enorme</option>
</select><select onchange="fontformat(this.form,this.options[this.selectedIndex].value,'FONT')"
onmouseover="stat('font')" NAME="fontselect">
<option value="0" selected>Fuente</option>
<option value="arial">Arial</option>
<option value="times new roman">Times</option>
<option value="courier new">Courier</option>
<option value="century gothic">Century</option>
</select><select onchange="fontformat(this.form,this.options[this.selectedIndex].value,'COLOR')"
onmouseover="stat('color')" NAME="colorselect">
<option value="0" selected>Color</option>
<option value="skyblue" style="COLOR:skyblue">sky blue</option>
<option value="royalblue" style="COLOR:royalblue">royal blue</option>
<option value="blue" style="COLOR:blue">blue</option>
<option value="darkblue" style="COLOR:darkblue">dark-blue</option>
</select>
<br>
<input type="button" class="bginput" value="http://" title="Insert Hyperlink" onclick="namedlink(this.form,'URL')"
onmouseover="stat('url')" NAME="Button4"><input type="button" class="bginput" value=" @ " title="Insertar una Dirección de Email"
onclick="namedlink(this.form,'EMAIL')" onmouseover="stat('email')" NAME="Button5"><input type="button" class="bginput" value="IMG" title="Insertar una Imagen" onclick="vbcode(this.form,'IMG','http://')"
onmouseover="stat('img')" NAME="Button6"> <input type="button" class="bginput" value=" # " title="CODE" onclick="vbcode(this.form,'CODE','')"
onmouseover="stat('code')" NAME="Button7"><input type="button" class="bginput" value="PHP" title="Código PHP" onclick="vbcode(this.form,'PHP','')"
onmouseover="stat('php')" NAME="Button8"> <input type="button" class="bginput" value="Lista" title="Lista Ordenada" accesskey="l"
onclick="dolist(this.form)" onmouseover="stat('list')" NAME="Button9">
<input type="button" class="bginput" value="Citar" title="Insertar una Cita" onclick="vbcode(this.form,'QUOTE','')"
onmouseover="stat('quote')" NAME="Button10">
<br>
<input type="text" class="bginput" name="status" style="FONT-SIZE:7pt" size="50" value="Utiliza estos controles para insertar vBcode"></font>
</td>
<td> </td>
<td><font face="verdana, arial, helvetica" size="1"> <input type="button" class="bginput" value=" x " accesskey="c" title="Close Current Tag (alt+c)"
style="FONT-WEIGHT:bold; COLOR:red" onclick="closetag(this.form)" onmouseover="stat('closecurrent')" NAME="Button11">
Cerrar el Tag Actual<br>
<input type="button" class="bginput" value=" x " accesskey="x" title="Close All Open Tags (alt+x)"
style="FONT-WEIGHT:bold; COLOR:red" onclick="closeall(this.form)" onmouseover="stat('closeall')"
NAME="Button12"> Cerrar todos los Tags</font></td>
</tr>
</table>
</td>
</tr>
<tr>
<td bgcolor="#becfdf" valign="top" nowrap>
<table cellpadding="3" cellspacing="1" border="0" bgcolor="#dbe7f3" class="smilieTable"
align="center">
<tr>
<td colspan="4" align="center" bgcolor="#becfdf" style="BORDER-RIGHT:1px inset; BORDER-TOP:1px inset; BORDER-LEFT:1px inset; BORDER-BOTTOM:1px inset"><font face="verdana, arial, helvetica" size="1"><b>Smilies</b></font></td>
</tr>
<tr align='center'>
<td vAlign="top" align="center"><a href="#" onclick="smilie(':-)');return false"><img src="images/smilies/smile.gif" alt="sonrie" border="0"></a>
</td>
<td><a href="#" onclick="smilie(':-(');return false"><img src="images/smilies/frown.gif" alt="triste" border="0"></a>
</td>
<td><a href="#" onclick="smilie(':pensando:');return false"><img src="images/smilies/scratchchin.gif" alt="Pensando" border="0"></a>
</td>
<td><a href="#" onclick="smilie(':-D');return false"><img src="images/smilies/biggrin.gif" alt="sonrisota" border="0"></a>
</td>
</tr>
<tr align='center'>
<td><a href="#" onclick="smilie(';-)');return false"><img src="images/smilies/wink.gif" alt="apachar ojo" border="0"></a>
</td>
<td><a href="#" onclick="smilie(':cool:');return false"><img src="images/smilies/cool.gif" alt="cool" border="0"></a>
</td>
<td><a href="#" onclick="smilie(':arriba:');return false"><img src="images/smilies/dedosarriba.gif" alt="de acuerdo" border="0"></a>
</td>
<td><a href="#" onclick="smilie(':borracho:');return false"><img src="images/smilies/borracho.gif" alt="borracho" border="0"></a>
</td>
</tr>
<tr align='center'>
<td><a href="#" onclick="smilie(':\'(');return false"><img src="images/smilies/chillando.gif" alt="lloron" border="0"></a>
</td>
<td><a href="#" onclick="smilie(':abajo:');return false"><img src="images/smilies/dedosabajo.gif" alt="en desacuerdo" border="0"></a>
</td>
<td><a href="#" onclick="smilie(':Zzz:');return false"><img src="images/smilies/durmiendo.gif" alt="dormir" border="0"></a>
</td>
<td><a href="#" onclick="smilie(':molesto:');return false"><img src="images/smilies/enojado.gif" alt="enojado" border="0"></a>
</td>
</tr>
<tr align='center'>
<td><a href="#" onclick="smilie(':ojotes:');return false"><img src="images/smilies/ojotes.gif" alt="ojotes" border="0"></a>
</td>
<td><a href="#" onclick="smilie(':no:');return false"><img src="images/smilies/negar.gif" alt="Negando" border="0"></a>
</td>
<td><a href="#" onclick="smilie(':censura:');return false"><img src="images/smilies/sho.gif" alt="censurado" border="0"></a>
</td>
<td><a href="#" onclick="smilie(':-p');return false"><img src="images/smilies/wacala.gif" alt="wacala" border="0"></a>
</td>
</tr>
<tr align='center'>
<td><a href="#" onclick="smilie(':pirata:');return false"><img src="images/smilies/pirate.gif" alt="Pirata" border="0"></a>
</td>
<td><a href="#" onclick="smilie(':neurotico');return false"><img src="images/smilies/scared.gif" alt="Neurótico" border="0"></a>
</td>
<td><a href="#" onclick="smilie(':si:');return false"><img src="images/smilies/afirmar.gif" alt="Afirmando" border="0"></a>
</td>
<td><a href="#" onclick="smilie(':policia:');return false"><img src="images/smilies/cop.gif" alt="Policia" border="0"></a>
</td>
</tr>
<tr align='center'>
<td><a href="#" onclick="smilie(':patada:');return false"><img src="images/smilies/footinmouth.gif" alt="Patada" border="0"></a>
</td>
<td><a href="#" onclick="smilie(':corazon:');return false"><img src="images/smilies/heartbeat.gif" alt="Corazón" border="0"></a>
</td>
<td><a href="#" onclick="smilie(':aplauso:');return false"><img src="images/smilies/aplausos.gif" alt="Aplauso" border="0"></a>
</td>
<td><a href="#" onclick="smilie(':golpeado:');return false"><img src="images/smilies/pelea.gif" alt="Golpeado" border="0"></a>
</td>
</tr>
<tr align='center'>
<td><a href="#" onclick="smilie(':risa:');return false"><img src="images/smilies/risa.gif" alt="Riendo" border="0"></a>
</td>
<td><a href="#" onclick="smilie(':stress:');return false"><img src="images/smilies/tstress.gif" alt="Stress" border="0"></a>
</td>
<td><a href="#" onclick="smilie(':serio:');return false"><img src="images/smilies/molesto.gif" alt="Serio" border="0"></a>
</td>
<td><a href="#" onclick="smilie(':adios:');return false"><img src="images/smilies/adios.gif" alt="Adios" border="0"></a>
</td>
</tr>
</table>
</td>
<td valign="top" bgcolor="#becfdf">
<font face="arial, verdana, helvetica" size="2"><b>Mensaje:</b></font><br>
<table cellpadding="0" cellspacing="0" border="0">
<tr valign="top">
<td><textarea name="message" rows="20" cols="70" wrap="virtual" tabindex="2" onChange="getActiveText(this)"
onClick="getActiveText(this)"></textarea></td>
</tr>
</table>
</td>
</tr>
</table>