http://mirucoz.ru/other_img/table.png
Довольно популярный скрипт используются на многих форумах.
Это после $BBCODES$
Code
<input type="button" value="Таблица" onclick="simpletag('Table','','','message',''); return false;" class="codeButtons" title="Вставить Таблицу" name="Table"/>
А это в общий вид страниц форума после $BODY$
Code
<script type="text/javascript">
e=document.getElementsByTagName("TD");
for(k=0;k<e.length;k++) {
if(e[k].className=='posttdMessage') {
s=e[k].innerHTML;
while (s.indexOf('[Table]') != -1) {
s=s.replace('[Table]','<table width="100%" border="0" cellspacing="0" cellpadding="5" style="background-color:14ae14; border-top:1px dotted #c3c3c3; border-right:1px dotted #c3c3c3; border-bottom:1px dotted #c3c3c3; border-left:1px dotted #c3c3c3;"><tr><td style="width:25px; height:25px;background-repeat:no-repeat; background-position:5px 3px;"> </td><td><font style="font-size: 12px; font-family: Verdana; color: 898989;">'); s=s.replace('[/Table]','</font></td></tr></table>');
e[k].innerHTML=s;}}}
</script>
Все теперь установлена таблица.