Код: Выделить всё
<!-- IF postrow.POSTER_AVATAR -->
<!-- We use "\r\n" newline here because insert_text() JS function doesn't insert newline with "\n" (at least in Windows) -->
<center><font size=2><!-- IF QUICK_REPLY --><a href="#postform" onclick="insert_text('[b]{postrow.POSTER_QUOTE}[/b], '); return false;"<!-- IF postrow.POST_AUTHOR_COLOUR --> style="color: {postrow.POST_AUTHOR_COLOUR}" <!-- ENDIF -->>{postrow.POST_AUTHOR}</a><!-- ELSE --><!-- IF not postrow.U_POST_AUTHOR --><strong>{postrow.POST_AUTHOR_FULL}</strong><!-- ELSE -->{postrow.POST_AUTHOR_FULL}<!-- ENDIF --><!-- ENDIF --></font></center><br />
<!-- IF not postrow.RANK_TITLE --><!-- ENDIF -->
<center><!-- IF postrow.RANK_TITLE or postrow.RANK_IMG --><dd><!-- IF postrow.RANK_TITLE and postrow.RANK_IMG --><!-- ENDIF -->{postrow.RANK_IMG}</dd><!-- ENDIF --></center>
<center><!-- IF postrow.S_ONLINE and not postrow.S_IGNORE_POST -->
<table border="0" cellpadding="0" cellspacing="0" align="center" width="0">
<tr>
<td background="http://djedaysoft.ru/images/dlavok/tlon.png" height="17" width="17" style="padding: 0"></td>
<td background="http://djedaysoft.ru/images/dlavok/tmon.png" height="17" style="padding: 0"></td>
<td background="http://djedaysoft.ru/images/dlavok/tron.png" height="17" width="17" style="padding: 0"></td>
</tr>
<tr>
<td background="http://djedaysoft.ru/images/dlavok/mlon.png" width="17" style="padding: 0"></td>
<td>
<!-- IF postrow.U_POST_AUTHOR --><a href="{postrow.U_POST_AUTHOR}">{postrow.POSTER_AVATAR}</a><!-- ELSE -->{postrow.POSTER_AVATAR}<!-- ENDIF -->
</td>
<td background="http://djedaysoft.ru/images/dlavok/mron.png" width="17" style="padding: 0"></td>
</tr>
<tr>
<td background="http://djedaysoft.ru/images/dlavok/blon.png" height="17" width="17" style="padding: 0"></td>
<td background="http://djedaysoft.ru/images/dlavok/bmon.png" height="17" style="padding: 0"></td>
<td background="http://djedaysoft.ru/images/dlavok/bron.png" height="17" width="17" style="padding: 0"></td>
</tr>
</table><!-- ELSE -->
<table border="0" cellpadding="0" cellspacing="0" align="center" width="0">
<tr>
<td background="http://djedaysoft.ru/images/dlavok/tloff1.png" height="17" width="17" style="padding: 0"></td>
<td background="http://djedaysoft.ru/images/dlavok/tmoff1.png" height="17" style="padding: 0"></td>
<td background="http://djedaysoft.ru/images/dlavok/troff1.png" height="17" width="17" style="padding: 0"></td>
</tr>
<tr>
<td background="http://djedaysoft.ru/images/dlavok/mloff1.png" width="17" style="padding: 0"></td>
<td>
<!-- IF postrow.U_POST_AUTHOR --><a href="{postrow.U_POST_AUTHOR}">{postrow.POSTER_AVATAR}</a><!-- ELSE -->{postrow.POSTER_AVATAR}<!-- ENDIF -->
</td>
<td background="http://djedaysoft.ru/images/dlavok/mroff1.png" width="17" style="padding: 0"></td>
</tr>
<tr>
<td background="http://djedaysoft.ru/images/dlavok/bloff1.png" height="17" width="17" style="padding: 0"></td>
<td background="http://djedaysoft.ru/images/dlavok/bmoff1.png" height="17" style="padding: 0"></td>
<td background="http://djedaysoft.ru/images/dlavok/broff1.png" height="17" width="17" style="padding: 0"></td>
</tr>
</table><!-- ENDIF --></center>
<!-- ELSE -->
<!-- We use "\r\n" newline here because insert_text() JS function doesn't insert newline with "\n" (at least in Windows) -->
<center><font size=2><!-- IF QUICK_REPLY --><a href="#postform" onclick="insert_text('[b]{postrow.POSTER_QUOTE}[/b], '); return false;"<!-- IF postrow.POST_AUTHOR_COLOUR --> style="color: {postrow.POST_AUTHOR_COLOUR}" <!-- ENDIF -->>{postrow.POST_AUTHOR}</a><!-- ELSE --><!-- IF not postrow.U_POST_AUTHOR --><strong>{postrow.POST_AUTHOR_FULL}</strong><!-- ELSE -->{postrow.POST_AUTHOR_FULL}<!-- ENDIF --><!-- ENDIF --></font></center><br />
<!-- IF not postrow.RANK_TITLE --><!-- ENDIF -->
<center><!-- IF postrow.RANK_TITLE or postrow.RANK_IMG --><dd><!-- IF postrow.RANK_TITLE and postrow.RANK_IMG --><!-- ENDIF -->{postrow.RANK_IMG}</dd><!-- ENDIF --></center>
<center><!-- IF postrow.S_ONLINE and not postrow.S_IGNORE_POST -->
<table border="0" cellpadding="0" cellspacing="0" align="center" width="0">
<tr>
<td background="http://djedaysoft.ru/images/dlavok/tlon.png" height="17" width="17" style="padding: 0"></td>
<td background="http://djedaysoft.ru/images/dlavok/tmon.png" height="17" style="padding: 0"></td>
<td background="http://djedaysoft.ru/images/dlavok/tron.png" height="17" width="17" style="padding: 0"></td>
</tr>
<tr>
<td background="http://djedaysoft.ru/images/dlavok/mlon.png" width="17" style="padding: 0"></td>
<td>
<img src="http://djedaysoft.ru/images/dlavok/NoAvatarOn.jpg" />
</td>
<td background="http://djedaysoft.ru/images/dlavok/mron.png" width="17" style="padding: 0"></td>
</tr>
<tr>
<td background="http://djedaysoft.ru/images/dlavok/blon.png" height="17" width="17" style="padding: 0"></td>
<td background="http://djedaysoft.ru/images/dlavok/bmon.png" height="17" style="padding: 0"></td>
<td background="http://djedaysoft.ru/images/dlavok/bron.png" height="17" width="17" style="padding: 0"></td>
</tr>
</table><!-- ELSE -->
<table border="0" cellpadding="0" cellspacing="0" align="center" width="0">
<tr>
<td background="http://djedaysoft.ru/images/dlavok/tloff1.png" height="17" width="17" style="padding: 0"></td>
<td background="http://djedaysoft.ru/images/dlavok/tmoff1.png" height="17" style="padding: 0"></td>
<td background="http://djedaysoft.ru/images/dlavok/troff1.png" height="17" width="17" style="padding: 0"></td>
</tr>
<tr>
<td background="http://djedaysoft.ru/images/dlavok/mloff1.png" width="17" style="padding: 0"></td>
<td>
<img src="http://djedaysoft.ru/images/dlavok/NoAvatar.jpg" />
</td>
<td background="http://djedaysoft.ru/images/dlavok/mroff1.png" width="17" style="padding: 0"></td>
</tr>
<tr>
<td background="http://djedaysoft.ru/images/dlavok/bloff1.png" height="17" width="17" style="padding: 0"></td>
<td background="http://djedaysoft.ru/images/dlavok/bmoff1.png" height="17" style="padding: 0"></td>
<td background="http://djedaysoft.ru/images/dlavok/broff1.png" height="17" width="17" style="padding: 0"></td>
</tr>
</table><!-- ENDIF --></center>
<!-- ENDIF -->
</dt>
<!-- We use "\r\n" newline here because insert_text() JS function doesn't insert newline with "\n" (at least in Windows) -->
<dd> </dd>
<div><div class="topicinfo"> <input type="button" value="Профиль" style="width:100%;font-size:10px;margin:0px;padding:0px;" onclick="if (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != '') { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = ''; this.innerText = ''; this.value = 'Скрыть'; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value = 'Профиль'; }" /></div><div><div style="display: none;">
<center><table><tr><td><SCRIPT language=JavaScript>
var i1={postrow.POSTER_POSTS};
t=new Array();
g=0;
g1=30;
t[0]=0;
for (n=1;n<500;n++){
t[n]=g+g1;
g=t[n];
if (i1<t[n] & i1>t[n-1]) {k1=t[n];y=n-1;}
if (i1==t[n]) {k1=t[n];y=n-1;}
}
if (i1<g1) {k1=g1;y=0;}
if (i1==g1) {k1=g1;y=0;}
k2=i1-t[y];
k3=k1-t[y];
pr=k2*150/k3;
o=y;
document.write('<tr><td><div align="center"><b>Уровень '+o+'</b></div></td></tr><tr ><td><table border="0" cellspacing="0" cellpadding="0"><tr><td align="right"><img src="http://djeday.4adm.ru/storage/djeday_4adm_ru/images/lm.png" ></td><td background="http://djeday.4adm.ru/storage/djeday_4adm_ru/images/cm.png" width="'+pr+'"> </td><td><img src="http://djeday.4adm.ru/storage/djeday_4adm_ru/images/pm.png" ></td></tr></table></td></tr><tr ><td><div align="center"><b>'+i1+'/'+k1+'</b></div></td></tr>');
-->
</SCRIPT></td></tr></table></center>А если я див не в том месте закрыл, то сам боюсь не найду. Точнее найти я дивы найду, но не пойму, в нужном месте тег закрывается или нет.
Можете посмотреть, пожалуйста, их там не много.


