<script type="text/javascript">
function repchange(val,id){
repval=val;
ajaxtime=setInterval('checkajax'+id+'()',500);}
</script><script type="text/javascript" language="javascript">
<!--
//
function toggle( targetId ) {
if (document.getElementById) {
target = document.getElementById( targetId );
if (target.style.display == "none") {
target.style.display = "";
} else {
target.style.display = "none";
}
}
}
//
--></script>
Это заменяете весь вид материалов форума:
table border="0" width="100%" cellspacing="1" cellpadding="2" class="postTable">
<tr><td width="23%" class="postTdTop" align="center"><a class="postUser" href="javascript://" onClick="emoticon('$USERNAME$,');return false;">$USERNAME$</a></td><td class="postTdTop">Дата: $WDAY$, $DATE$, $TIME$ | Сообщение # $NUMBER$</td></tr>
<tr><td class="postTdInfo" valign="top">
<?if($AVATAR_URL$)?>
<a href="$PROFILE_URL$"><img 0="" src="$AVATAR_URL$" title="$USERNAME$" border=""></a>
<?else?>
<a href="$PROFILE_URL$"><img 0="" src="http://www.5may.ucoz.ru/images/No-Avatars/54.png" title="$USERNAME$" border=""></a>
<?endif?>
<?if($USER_TITLE$)?><div class="postRankName">$USER_TITLE$</div><?else?><div class="postRankName">$USER_RANK_NAME$</div><?endif?>
<?if($GROUP_ICON$)?><div class="postRankIco">$GROUP_ICON$</div><?endif?><div class="postRankIco">$USER_RANK_ICON$</div>
<?if($GROUP_NAME$)?><div class="postUserGroup">Группа: $GROUP_NAME$</div><?endif?>
<?if($POSTS$)?><div class="numposts">Сообщений: <span="unp">$POSTS$</span></div><?endif?>
<?if($READ_REP_URL$)?><div class="reputation">Репутация: <a title="Смотреть историю репутации" class="repHistory" href="$READ_REP_URL$"><span class="repNums">$REP_RATING$</span> [$REP_RATING_PERS$]</a> <script type="text/javascript">
function checkajax$ID$(){
forms=document.getElementsByTagName('form');
for(f=0;f<forms.length;f++){
if(forms[f].id=='frm981'){ // by Ezdi
if(repval=='plus'){document.getElementById('a2').checked='true';
forms[f].reason.value='Спасибо!';
document.getElementById('submfrm981').click();
document.getElementById('sbt981').onclick=null;
clearInterval(ajaxtime);}}}}
</script>
<?if($DO_REP_URL$)?><a href="$DO_REP_URL$"><img onclick="repchange('plus','$ID$');" align="absmiddle" title="Выразить благодарность" src="http://i030.radikal.ru/0806/34/f52969ab0ca0.gif" border="0" /></a><?endif?><?endif?>
<?if($READ_BAN_URL$)?><div class="userBan">Замечания: <a class="banPercent" title="Смотреть историю замечаний" href="$READ_BAN_URL$">$BAN_RATING$</a> <?if($DO_BAN_URL$)?> <a title="Изменить уровень замечаний" class="banDo" href="$DO_BAN_URL$">±</a></div><?endif?><?endif?>
<?if($USER_STATUS$)?><div class="statusBlock">Статус: $USER_STATUS$</div><?endif?>
<script type="text/javascript">
var n; money='';
zn=$POSTS$; Nm=Math.floor(zn/10);
ue='';
//деньги за посты
if(zn<9) ue='0.10'
if(zn>10) ue='0.88'
if(zn>20) ue='1.03'
if(zn>30) ue='2.54'
if(zn>40) ue='3.44'
if(zn>50) ue='4.24'
if(zn>60) ue='5.16'
if(zn>70) ue='6.18'
if(zn>80) ue='7.65'
if(zn>90) ue='7.99'
if(zn>100) ue='8.14'
if(zn>110) ue='9.05'
if(zn>120) ue='9.88'
if(zn>130) ue='10.23'
if(zn>140) ue='11.44'
if(zn>150) ue='12.14'
if(zn>160) ue='13.09'
if(zn>170) ue='13.89'
if(zn>180) ue='14.06'
if(zn>190) ue='15.88'
if(zn>200) ue='16.24'
if(zn>210) ue='17.43'
if(zn>220) ue='18.14'
if(zn>230) ue='19.12'
if(zn>240) ue='20.54'
if(zn>250) ue='21.05'
if(zn>260) ue='21.99'
if(zn>270) ue='22.36'
if(zn>280) ue='23.14'
if(zn>290) ue='24.04'
if(zn>300) ue='25.01'
if(zn>310) ue='25.88'
if(zn>320) ue='26.41'
if(zn>310) ue='27.18'
if(zn>320) ue='28.14'
if(zn>330) ue='29.05'
if(zn>340) ue='30.44'
if(zn>350) ue='31.84'
if(zn>360) ue='32.14'
if(zn>370) ue='33.19'
if(zn>380) ue='34.94'
if(zn>390) ue='35.18'
if(zn>400) ue='36.14'
if(zn>410) ue='37.58'
if(zn>420) ue='38.02'
if(zn>430) ue='39.81'
if(zn>440) ue='40.12'
if(zn>450) ue='41.43'
if(zn>460) ue='42.74'
if(zn>470) ue='43.18'
if(zn>480) ue='44.19'
if(zn>490) ue='45.51'
if(zn>500) ue='46.24'
if(zn>510) ue='47.44'
if(zn>520) ue='48.15'
if(zn>530) ue='49.55'
if(zn>540) ue='50.14'
if(zn>550) ue='51.19'
if(zn>560) ue='58.12'
if(zn>570) ue='59.33'
if(zn>580) ue='60.81'
if(zn>590) ue='61.14'
if(zn>600) ue='62.87'
if(zn>610) ue='63.11'
if(zn>620) ue='64.83'
if(zn>630) ue='65.51'
if(zn>640) ue='66.32'
if(zn>650) ue='67.23'
if(zn>660) ue='67.88'
if(zn>670) ue='68.74'
if(zn>680) ue='69.38'
if(zn>690) ue='70.11'
if(zn>700) ue='71.00'
if(zn>710) ue='72.31'
if(zn>720) ue='73.15'
if(zn>730) ue='74.13'
if(zn>740) ue='75.12'
if(zn>750) ue='76.48'
if(zn>760) ue='77.29'
if(zn>770) ue='78.41'
if(zn>780) ue='79.62'
if(zn>790) ue='80.50'
if(zn>800) ue='81.06'
if(zn>810) ue='82.24'
if(zn>820) ue='82.99'
if(zn>830) ue='83.28'
if(zn>840) ue='84.34'
if(zn>850) ue='85.91'
if(zn>860) ue='86.12'
if(zn>870) ue='87.74'
if(zn>880) ue='88.63'
if(zn>890) ue='89.04'
if(zn>900) ue='90.31'
if(zn>910) ue='91.43'
if(zn>920) ue='92.26'
if(zn>930) ue='93.12'
if(zn>940) ue='94.01'
if(zn>950) ue='95.36'
if(zn>960) ue='96.23'
if(zn>970) ue='97.88'
if(zn>980) ue='98.31'
if(zn>990) ue='99.16'
if(zn>1000) ue='100.00'
if(zn>1010) ue='101.11'
if(zn>1020) ue='102.43'
if(zn>1040) ue='103.88'
if(zn>1060) ue='104.48'
if(zn>1080) ue='105.71'
if(zn>1100) ue='106.38'
if(zn>1120) ue='107.56'
if(zn>1140) ue='108.72'
if(zn>1160) ue='109.47'
if(zn>1180) ue='110.15'
if(zn>1200) ue='111.08'
if(zn>1220) ue='112.54'
if(zn>1240) ue='113.89'
if(zn>1260) ue='114.47'
if(zn>1280) ue='115.87'
if(zn>1300) ue='116.72'
if(zn>1320) ue='117.45'
if(zn>1340) ue='118.63'
if(zn>1360) ue='119.09'
if(zn>1380) ue='120.44'
if(zn>1400) ue='121.47'
if(zn>1420) ue='122.31' &nbs
...
Читать дальше »