[adminred]После $body$[/adminred]
Code
<script type="text/javascript">
// wwwwwww
e=document.getElementsByTagName("TD");
for(k=0;k<e.length;k++) {
if(e[k].className=='posttdMessage') {
s=e[k].innerHTML;
while (s.indexOf('[a dmin1]') != -1) {
s=s.replace('[a dmin1]','<table width="100%" border="0" cellspacing="0" cellpadding="5" style="background-color:#222222; border-top:1px dotted #987023; border-right:1px dotted #987023; border-bottom:1px dotted #987023; border-left:1px dotted #987023;"><tr><td style="width:50px; height:50px; background-image: url(http://sequnse-css.ucoz.com/steam/1.png); background-repeat:no-repeat; background-position:5px 3px;"> </td><td><font style="font-size: 15px; font-family: Verdana; color: 987023;">'); s=s.replace('[/ admin1]','</font></td></tr></table>');
e[k].innerHTML=s;}}}
</script>
После BBCODES
Code
<?IF($CUR_GROUP_ID$=4)?><input type="button" value="admin1" uzzonclick="simpletag('admin1','','','message',''); return false;" class="codeButtons" title="Вставить админ-сообщение" name="admin1"/><?ENDIF?>