Farming
Так?
<style type="text/css">
#button-mod {background-image:url('http://i029.radikal.ru/0804/26/e430252a0faf.png'); padding:0; line-height:0; background-position:center; background-repeat:no-repeat; height:26px; width:100%}
</style>
<script type="text/javascript">
if((document.getElementById("navadmin")) && (form=document.getElementById("form-buttons")))
form.getElementsByTagName("tr")[0].insertCell(18).innerHTML="<img src='/i/blank.gif' title='Предупреждение' id='button-mod' onclick=\"bbcode('[mod]', '[/mod]');\"/>"
function addMod(str,from,internal){
var pos=0,pos2=0,newpos=0
if((pos=str.indexOf("[mod]",from))==-1) return str;
if((pos2=str.indexOf("[/mod]"),pos+5)==-1) return str;
newpos=str.indexOf("[mod]",pos+5)
if(newpos<pos2 && newpos!=-1) str=addMod(str,pos+5,true)
if((pos2=str.indexOf("[/mod]",pos+5))==-1) return str;
str=str.substring(0,pos)+makeMod(str.substring(pos+5,pos2))+str.substring(pos2+6,str.length)
if( str.indexOf("[mod]")!=-1 && internal==false) str=addMod(str,0,false)
return str}
function makeMod(txt){
txt="<div><noindex><table style=\"border: 1px solid; font-size: 17px; background-color: rgb(254, 254, 254); margin-bottom: -10px; line-height: 1.6;\" width=\"100%\" cellpadding=\"0\" cellspacing=\"0\"><tbody><tr onmouseout=\"this.bgColor='#fefefe'\" onmouseover=\"this.bgColor='#CCFFCC'\" bgcolor=\"#fefefe\"><td style='width: 150px;'><img src=\"http://kinolive.ucoz.com/logo_lit.png\"></td><td style=\"margin: 0px; text-align: left; padding: 10px; font-size: 17px;\" align=\"left\" height=\"40\">"+txt+"</td></tr></tbody></table></noindex></div>"
return txt}
if(document.URL.indexOf("viewtopic.php")!=-1){
elm=document.getElementById("pun-main").getElementsByTagName("div")
for(x in elm) if(elm[x].className=="post-content"){
var post=elm[x]
post.innerHTML=addMod(post.innerHTML,0,false)}}
</script>

