02740     <div class="allb2">
 <div class="id{comment-id}">
 <div class="mainfy"><a href="#ent$ID$" onclick="if (document.getElementById('comEnt$ID$')){$('body').scrollTo( { top:$('#comEnt$ID$').offset().top-22, left:0}, 500 );return false;}" name="ent$ID$"><b>Комментарий № $NUMBER$</b></a>
 написал: <?if($USERNAME$)?><a href="$PROFILE_URL$"><b>$USERNAME$</b></a><?else?><b>$NAME$</b><?endif?> ($DATE$)</div>
 <div class="regix" style="margin-top:5px;">
 <div style="padding-left:15px; width:140px; float:left; border-right:1px dotted #cfdde0; margin-right:10px; font:11px Tahoma;">
 <?if($USER_AVATAR_URL$)?><img src="$USER_AVATAR_URL$" alt="$USERNAME$" width="100" height="100" /><?else?><img src="/img/noavatar.png" alt="$USERNAME$" width="100" height="100" /><?endif?><br />
 Имя: $NAME$<br />
 </div>
 <div style="margin-left:160px;">$MESSAGE$
 <br /><br /><span style="color:#c0c0c0; font-size:15px;">--------------------------</span><br />
 </div>
 <div class="clear"> </div></div>
 <div class="nfooty">
 <div style="text-align:right;">
 <a href="javascript://" onclick="Insert('$USERNAME$',document.getSelection());"><span class="but" style="float:right; margin-bottom:5px;">цитировать</span></a>
 <script type="text/javascript">
 function Insert(qname,text){
 if (text!=""){ qname=qname.replace(/[\[\]]/g, "|"); document.getElementById('message').value += "[quote="+qname+"]"+text+"[/quote]\n"; document.getElementById(wh).focus(); document.getElementById(wh).focus()}
 else _uWnd.alert('Выделите текст для цитирования','',{w:230,h:80,tm:3000});
 }
 </script>
 <?if($COMMENT_RATING$<0)?><span class="myWinError"> <b>$COMMENT_RATING$</b></span><?else?><?if($COMMENT_RATING$=0)?><span style="color:gray;"><b>$COMMENT_RATING$</b></span><?else?><span class="myWinSuccess"><b>+$COMMENT_RATING$</b></span><?endif?><?endif?> &nbsp;<?if($GOOD_COMMENT_URL$)?><a href="$GOOD_COMMENT_URL$"><img ilo-full-src="http://s14.ucoz.net/img/icon/thumbu.png" src="http://s14.ucoz.net/img/icon/thumbu.png" title="Хороший пост" width="13" align="absmiddle" border="0"></a> <a href="$BAD_COMMENT_URL$"><img ilo-full-src="http://s14.ucoz.net/img/icon/thumbd.png" src="http://s14.ucoz.net/img/icon/thumbd.png" title="Плохой пост" width="13" align="absmiddle" border="0"></a><?else?><img src="http://s14.ucoz.net/img/icon/thumbu_.png" align="absmiddle" width="13" border="0" title="Хороший пост"> <img src="http://s14.ucoz.net/img/icon/thumbd_.png" width="13" align="absmiddle" border="0" title="Плохой пост"><?endif?> $MODER_PANEL$</div><div class="cTop" style="text-align: left;"><?if($IS_OWN$)?><span class="myWinError"></span> <?else?><?if($IS_NEW$)?><span class="myWinSuccess">*</span> <?endif?><?endif?>
 <div class="clear"> </div></div></div> 
 </div>
</div><!--Форма добавления комментариев-->
<!--IF-->
<div id="bbcodes">$BBCODES$</div>
<table class="commTable" border="0" cellpadding="2" cellspacing="1" height="26" width="424">
<tbody>
<tr><td class="commTd2" colspan="2">$ERROR$</td></tr>
<?if($USER_LOGGED_IN$)?><?else?>
<div align="center" class="commReg">
<table class="commTable" border="0" cellpadding="2" cellspacing="1" height="27" width="200">
<tbody>
<tr></tr>
<tr><td width="15%" class="commTd1" nowrap>Имя *:</td><td class="commTd2"><input class="commFl" type="text" name="name" value="$NAME$" size="30" maxlength="60"></td></tr>
<tr><td class="commTd1">Email:</td><td class="commTd2"><input class="commFl" type="text" name="email" value="$EMAIL$" size="30" maxlength="60"></td></tr>
</tbody>
</table>
<?endif?>

<style type="text/css">
<!--
#bbcodes {display:none;}
.selectors {
 height: 26px;
 width: auto;
}
-->
</style>

<table height="284" width="469">
<tbody>
<tr>
<td class="news" valign="top">
 
<table height="9" width="470">
<tbody>
 
<?if($USER_LOGGED_IN$)?>
 <tr>
 <td colspan="2">
<?if($USER_LOGGED_IN$)?>
 <div id="bbcodes">$BBCODES$</div>
<table border="0" cellpadding="0" cellspacing="2" width="100%">
<tbody><tr>
<td align="left"><iframe id="cp" src="bbcodes/color.html" vspace="0" hspace="0" marginwidth="0" marginheight="0" style="visibility: hidden; display: none; position: absolute;" frameborder="0" height="104" scrolling="no" width="154"></iframe>
<div id="dle_emo" style="border: 1px solid rgb(187, 187, 187); background: rgb(233, 232, 242) none repeat scroll 0% 0%; overflow: auto; visibility: hidden; display: none; position: absolute; width: 140px; height: 124px; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;">{$output}</div>
<table border="0" cellpadding="0" cellspacing="0">
<tbody><tr>
<td><img ilo-full-src="/bbcodes/b.gif" src="/bbcodes/b.gif" title="Жирный" onclick="simpletag('b')" border="0" height="25" width="26"></td>
<td><img ilo-full-src="/bbcodes/i.gif" src="/bbcodes/i.gif" title="Курсив" onclick="simpletag('i')" border="0"></td>
<td><img ilo-full-src="/bbcodes/u.gif" src="/bbcodes/u.gif" title="Подчеркнутый" onclick="simpletag('u')" border="0"></td>
<td><img ilo-full-src="/bbcodes/s.gif" src="/bbcodes/s.gif" title="Зачеркнутый" onclick="simpletag('s')" border="0"></td>
<td><img ilo-full-src="/bbcodes/brkspace.gif" src="/bbcodes/brkspace.gif" border="0"></td>
<td><img ilo-full-src="/bbcodes/image.gif" src="/bbcodes/image.gif" title="Добавить Картинку" onclick="tag_image()" border="0"></td>
<td><img ilo-full-src="/bbcodes/link.gif" src="/bbcodes/link.gif" title="Вставить ссылку" onclick="tag_url()" border="0"></td>
<td><img ilo-full-src="/bbcodes/email.gif" src="/bbcodes/email.gif" title="Вставить email" onclick="tag_email()" border="0"></td>
<td><img ilo-full-src="/bbcodes/code.gif" src="/bbcodes/code.gif" title="Код" onclick="simpletag('code')" border="0"></td>
<td><img ilo-full-src="/bbcodes/brkspace.gif" src="/bbcodes/brkspace.gif" border="0"></td><td><img ilo-full-src="/bbcodes/quote.gif" src="/bbcodes/quote.gif" title="Цитата" onclick="simpletag('quote')" border="0"></td>
<td><img ilo-full-src="/bbcodes/l.gif" src="/bbcodes/l.gif" title="По левому краю" onclick="simpletag('l')" border="0"></td>
<td><img ilo-full-src="/bbcodes/c.gif" src="/bbcodes/c.gif" title="По центру" onclick="simpletag('c')" border="0"></td>
<td><img ilo-full-src="/bbcodes/r.gif" src="/bbcodes/r.gif" title="По правому краю" onclick="simpletag('r')" border="0"></td>
<td><img ilo-full-src="/bbcodes/brkspace.gif" src="/bbcodes/brkspace.gif" border="0"></td><td><img ilo-full-src="/bbcodes/hide.gif" src="/bbcodes/hide.gif" title="hide" onclick="simpletag('hide')" border="0"></td>
<td><img ilo-full-src="/bbcodes/translit.gif" src="/bbcodes/translit.gif" title="Транслит" onclick="simpletag('translit')" border="0"></td>
<td><img ilo-full-src="/bbcodes/close.gif" src="/bbcodes/close.gif" title="Close" onclick="closeall()" border="0"></td>
<td><img ilo-full-src="/bbcodes/mp3.gif" src="/bbcodes/mp3.gif" title="Аудио" onclick="simpletag('audio')" border="0"></td>
<td><img ilo-full-src="/bbcodes/brkspace.gif" src="/bbcodes/brkspace.gif" border="0"></td><td><img ilo-full-src="/bbcodes/mp.gif" src="/bbcodes/mp.gif" title="Video" onclick="simpletag('video')" border="0"></td>
<td><img src="/bbcodes/ide.gif" title="все коды" onclick="window.open('/index/17','options','scrollbars=1,top=0,left=0,resizable=1,width=680,height=350'); return false;" border="0"></td>
<td><img src="/bbcodes/emo.gif" title="Смайлики" onclick="openLayerB('Sml',0,'/index/35-1-0','Полный список смайлов',270,250);return false;" class="" name="Sml" type="button"></td>
</tr></tbody>
</table>
</td>
</tr>
</tbody></table>
<?endif?></td>
</tr>
<?endif?><tr>
</tr></tbody></table>

<table border="0" cellpadding="0" cellspacing="0" height="137" width="464">
<tbody>
<tr><td valign="top"><textarea class="commFl" style="height: 135px;" rows="8" name="message" id="message" cols="50">$MESSAGE$</textarea></td><?if($SMILES$)?><td style="padding-left: 3px;" align="center" valign="top" width="5%">$SMILES$</td><?endif?></tr>
</tbody>
</table>
</td></tr>
<?if($SUBSCRIBE$)?><tr><td class="commTd1" nowrap="nowrap" width="15%">Подписка:$SUBSCRIBE$</td><td class="commTd2"><br></td></tr><?endif?>
<?if($SECURITY_CODE$)?><tr><td class="commTd1" nowrap="nowrap">Код *:$SECURITY_CODE$<br><br></td><td class="commTd2"><br></td></tr><?endif?>
<tr align="right"><td colspan="2"><br /><input type="submit" class="commSbmFl" id="addcBut" name="submit" value="- Добавить комментарий -"></td></tr></tbody></table>
<!--Форма добавления комментариев-->