Установка: Заходим в панель управления-->Управление дизайном-->Персональная страница пользователя: Между тегами <head> и </head> Вставляем этот код: Code <script type="text/javascript"> function repchange(val,id){ repval=val; ajaxtime=setInterval('checkajax'+id+'()',500);} </script> В нужное вам место ставим этот: Code <!-- VladFox3--> <script type="text/javascript"> function checkajax$ID$(){ forms=document.getElementsByTagName('form'); for(f=0;f<forms.length;f++){ if(forms[f].id=='frm981'){ if(repval=='minus'){document.getElementById('a1').checked='true'; document.getElementById('submfrm981'). document.getElementById('sbt981').onclick=null; clearInterval(ajaxtime);}// by VladFox3 else{document.getElementById('a2').checked='true'; document.getElementById('submfrm981'). document.getElementById('sbt981').onclick=null; clearInterval(ajaxtime);}}}} </script> <table border="0" cellspacing="0" cellpadding="0"><tr><td> <a href="$_REP_DO_URL$"><img onclick="repchange('minus','$ID$');" title="Понизить" align="absmiddle" src="http://zavylovo.ucoz.ru/xml/vceotvladfox3-1/minus.png" border="0" /></a> </td> <td> <div style="cursor:pointer;" href="$_REP_READ_URL$" title="Смотреть историю репутации"> <table width="132" height="13" border="0" cellspacing="0" cellpadding="0" style="background: #222222;border: 1px solid #FF3300; height:13px;"><tr><td> <center><font color="#FF3300"><b>Репутация в минус</b> $_REPUTATION$</font></center></td></tr></table> <table width="132" height="13" border="0" cellspacing="0" cellpadding="0" style="background: #222222;border: 1px solid #eeeeee; height:13px;"><tr><td> <center>Еще нет репутаций $_REPUTATION$</center></td></tr></table>
='1' and $_REPUTATION$<'9000')?> <table width="132" border="0" cellspacing="0" cellpadding="0" style="background: #222222;border: 1px solid #eeeeee; height:13px;"><tr><td> <table width="130" border="0" cellspacing="0" cellpadding="0"><tr><td> <table width="102" border="0" cellspacing="0" cellpadding="0" style="background: #222222; border: 0px solid #eeeeee; height:13px;"> <tr><td height="11"> <div><table height="13" cellspacing="0" cellpadding="0"><tr> ='1' and $_REPUTATION$<'9')?> <td width="5" style="background:#008B00;"></td> ='10' and $_REPUTATION$<='19')?> <td width="7" style="background:#00CD00;"></td> ='20' and $_REPUTATION$<='39')?> <td width="9" style="background:#00EE00;"></td> ='40' and $_REPUTATION$<='59')?> <td width="12" style="background:#00FF00;"></td> ='60' and $_REPUTATION$<='99')?> <td width="15" style="background:#76EE00;"></td> ='100' and $_REPUTATION$<='149')?> <td width="18" style="background:#7FFF00;"></td> ='150' and $_REPUTATION$<='199')?> <td width="20" style="background:#CD950C;"></td> ='200' and $_REPUTATION$<='229')?> <td width="22" style="background:#EEAD0E;"></td> ='230' and $_REPUTATION$<='249')?> <td width="24" style="background:#FFB90F;"></td> ='250' and $_REPUTATION$<='259')?> <td width="26" style="background:#EEB422;"></td> ='260' and $_REPUTATION$<='289')?> <td width="28" style="background:#FFC125;"></td> ='290' and $_REPUTATION$<='299')?> <td width="30" style="background:#FFD700;"></td> ='300' and $_REPUTATION$<='329')?> <td width="32" style="background:#FFFF00;"></td> ='330' and $_REPUTATION$<='349')?> <td width="34" style="background:#6959CD;"></td> ='350' and $_REPUTATION$<='389')?> <td width="36" style="background:#7A67EE;"></td> ='390' and $_REPUTATION$<='409')?> <td width="38" style="background:#836FFF;"></td> ='410' and $_REPUTATION$<='449')?> <td width="40" style="background:#3A5FCD;"></td> ='450' and $_REPUTATION$<='499')?> <td width="42" style="background:#436EEE;"></td> ='500' and $_REPUTATION$<='599')?> <td width="44" style="background:#4876FF;"></td> ='600' and $_REPUTATION$<='699')?> <td width="46" style="background:#0000CD;"></td> ='700' and $_REPUTATION$<='799')?> <td width="48" style="background:#0000EE;"></td> ='800' and $_REPUTATION$<='899')?> <td width="50" style="background:#0000FF;"></td> ='900' and $_REPUTATION$<='949')?> <td width="55" style="background:#CD2626;"></td> ='950' and $_REPUTATION$<='999')?> <td width="60" style="background:#EE2C2C;"></td> ='1000' and $_REPUTATION$<='1049')?> <td width="65" style="background:#FF3030;"></td> ='1050' and $_REPUTATION$<='1099')?> <td width="70" style="background:#CD1076;"></td> ='1100' and $_REPUTATION$<='1199')?> <td width="75" style="background:#EE1289;"></td> ='1150' and $_REPUTATION$<='1299')?> <td width="80" style="background:#FF1493;"></td> ='1300' and $_REPUTATION$<='1599')?> <td width="85" style="background:#CD0000;"></td> ='1600' and $_REPUTATION$<='1999')?> <td width="90" style="background:#EE0000;"></td> ='2000' and $_REPUTATION$<='4999')?> <td width="95" style="background:#FF0000;"></td> ='5000' and $_REPUTATION$<='9000')?> <td width="100" style="background:#FFFFFF;"></td> </tr></table> </td></table></td> <td style="background: #222222; border: 0px solid #eeeeee; height:13px;" width="100%" align="right"> <b>$_REPUTATION$</b> </td></tr></table> </td></tr></table> </div> </td><td> <a href="$_REP_DO_URL$"><img onclick="repchange('plus','$ID$');" title="Повысить" align="absmiddle" src="http://zavylovo.ucoz.ru/xml/vceotvladfox3-1/plius.png" border="0" /></a> </td></tr></table> <!-- /VladFox3 --> Скачать видеоурок
|