<!-- Comments form -->
<font color="#ff0000">$ERROR$</font>
<style type="text/css"> 
<!--
#bbcodes {display:none;}
.selectors {
 height: 26px;
 width: auto;
}
-->
 </style>
<div align="center">
  <div style="width:460px;margin-top:10px;">
    <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" id="comments-form">
      <?if($USER_LOGGED_IN$)?>
      <tr>
        <td colspan="2" align="center"><table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td><div id="bbcodes">$BBCODES$</div></td>
              <td style="width:23px; height:25px;"><img src="/bbcodes/b.gif" title="Жирный" onclick="simpletag('b')" border="0" alt="" /></td>
              <td style="width:23px; height:25px;"><img src="/bbcodes/i.gif" title="Курсив" onclick="simpletag('i')" border="0" alt="" /></td>
              <td style="width:23px; height:25px;"><img src="/bbcodes/u.gif" title="Подчеркнутый" onclick="simpletag('u')" border="0" alt="" /></td>
              <td style="width:5px; height:25px;"><img src="/bbcodes/brkspace.gif" border="0" alt="" /></td>
              <td style="width:23px; height:25px;"><img src="/bbcodes/s.gif" title="Зачеркнутый" onclick="simpletag('s')" border="0" alt="" /></td>
              <td style="width:23px; height:25px;"><img src="/bbcodes/image.gif" title="Добавить Картинку" onclick="tag_image()" border="0" alt="" /></td>
              <td style="width:23px; height:25px;"><img src="/bbcodes/link.gif" title="Вставить ссылку" onclick="tag_url()" border="0" alt="" /></td>
              <td style="width:5px; height:25px;"><img src="/bbcodes/brkspace.gif" border="0" alt="" /></td>
              <td style="width:23px; height:25px;"><img src="/bbcodes/email.gif" title="Вставить email" onclick="tag_email()" border="0" alt="" /></td>
              <td style="width:23px; height:25px;"><img src="/bbcodes/code.gif" title="Код" onclick="simpletag('code')" border="0" alt="" /></td>
              <td style="width:23px; height:25px;"><img src="/bbcodes/quote.gif" title="Цитата" onclick="simpletag('quote')" border="0" alt="" /></td>
              <td style="width:5px; height:25px;"><img src="/bbcodes/brkspace.gif" border="0" alt="" /></td>
              <td style="width:23px; height:25px;"><img src="/bbcodes/l.gif" title="По левому краю" onclick="simpletag('l')" border="0" alt="" /></td>
              <td style="width:23px; height:25px;"><img src="/bbcodes/c.gif" title="По центру" onclick="simpletag('c')" border="0" alt="" /></td>
              <td style="width:23px; height:25px;"><img src="/bbcodes/r.gif" title="По правому краю" onclick="simpletag('r')" border="0" alt="" /></td>
              <td style="width:5px; height:25px;"><img src="/bbcodes/brkspace.gif" border="0" alt="" /></td>
              <td style="width:23px; height:25px;"><img src="/bbcodes/hide.gif" title="hide" onclick="simpletag('hide')" border="0" alt="" /></td>
              <td style="width:23px; height:25px;"><img src="/bbcodes/translit.gif" title="Транслит" onclick="simpletag('translit')" border="0" alt="" /></td>
              <td style="width:23px; height:25px;"><img src="/bbcodes/close.gif" title="Close" onclick="closeall()" border="0" alt="" /></td>
              <td style="width:5px; height:25px;"><img src="/bbcodes/brkspace.gif" border="0" alt="" /></td>
              <td style="width:23px; height:25px;"><img src="/bbcodes/mp3.gif" title="Аудио" onclick="simpletag('audio')" border="0" alt="" /></td>
              <td style="width:23px; height:25px;"><img src="/bbcodes/mp.gif" title="Video" onclick="simpletag('video')" border="0" alt="" /></td>
              <td style="width:23px; height:25px;"><a href="javascript://" onclick="new _uWnd('lajax','все коды',710,385,{autosize:1,maxh:610,minh:385},{url:'/index/17',xml:false}); return false;"><img style="border: 0pt none ; margin: 0pt; padding: 0pt;" src="/bbcodes/ide.gif" title="все коды" alt="" /></a></td>
              <td style="width:23px; height:25px;"><img src="/bbcodes/emo.gif" title="Cмайл" onclick="openLayerB('Sml',0,'/index/35-1-0','Полный список смайлов',250,300);return false;" border="0" alt="" /></td>
            </tr>
          </table>
          <div class="clear"></div></td>
      </tr>
      <?else?>
      <tr>
        <td colspan="2"><table class="tableform" align="left">
            <tr class="fieldtr">
              <td><input name="name" id="name" class="f_input" style="border:0px;background: url(../images/trans-10.png);color:#cccccc;" type="text" /></td>
              <td class="label">Имя / Логин</td>
            </tr>
            <tr class="fieldtr">
              <td><input class="commFl" type="text" name="email" value="$EMAIL$" style="border:0px;background: url(../images/trans-10.png);color:#cccccc;" type="text" /></td>
              <td class="label">Email</td>
            </tr>
          </table></td>
        <?endif?>
      </tr>
      <tr>
        <td colspan="2" style="width:458px;"><div style="padding-top:6px;" align="center">
            <textarea name="message" id="message" style="width:456px;border:0px;color:#cccccc;height:140px;background: url(../images/trans-10.png);" onclick="setNewField(this.name, document.getElementById( 'dle-comments-form' ))">$MESSAGE$</textarea>
          </div></td>
      </tr>
      <?if($SECURITY_CODE$)?>
      <tr>
        <td class="slink">&nbsp;Код:</td>
        <td class="slink"><div style="padding-top:6px;">$SECURITY_CODE$</div></td>
      </tr>
      <?endif?>
      <tr>
        <td colspan="2" align="center"><br />
          <div id="comments-form-buttons">
            <div id="comments-form-send">
              <input name="task_button" onclick="doAddComments();return false;" class="button" style="width:180px;border:0px;color:#cccccc;height:30px;background: url(../images/trans-15.png);" value="Отправить комментарий" type="submit">
            </div>
          </div></td>
      </tr>
      <tr>
        <td colspan="2">&nbsp;</td>
      </tr>
    </table>
  </div>
</div>
<!-- /Comments form -->
