<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>


