<div class="commentbox"><table class="window-container"><tr><td class="wc_tl"></td><td class="wc_t"><h4>Персональные сообщения</h4></td><td class="wc_tr"></td></tr><tr><td class="wc_ls_bg"><img src="{THEME}/images/windowzru_wc_ls.png" alt="" /></td>
      <td class="wc_c"><div class="newss">
        <div align="center">[inbox]Входящие сообщения[/inbox] | [outbox]Отправленные сообщения[/outbox] | [new_pm]Отправить сообщение[/new_pm]</div></div>
      [pmlist]<br />
<br />
<div class="sblk">
        <div align="left" style="font-size: 12px">{pmlist}</div>
      </div>
      [/pmlist]
        
       [newpm] <br />
<table width="450" border="0" cellpadding="0" cellspacing="0" class="newss">
<tr>
                              <td width="70" height="25">Получатель:</td>
                              <td width="380" height="25"><input type="text" style="width:120px; height:18px; margin-left:3px; margin-right:3px; border: 1px solid #CCCCCC; color:#666666; font-size:12px" name="name" value="{author}" class="f_input" /></td>
          </tr>
                            <tr>
                              <td width="70" height="25">Тема:</td>
                              <td width="380" height="25"><input type="text" name="subj" style="width:120px; height:18px; margin-left:3px; margin-right:3px; border: 1px solid #CCCCCC; color:#666666; font-size:12px" value="{subj}" class="f_input" /></td>
                            </tr>
[not-wysywyg]
                            <tr>
                              <td colspan="2">{bbcode}</td>
                            </tr>
[/not-wysywyg]
                            <tr>
                              <td colspan="2">[not-wysywyg]<textarea name="comments" style="width:462px; height:150px; border: 1px solid #CCCCCC; color:#666666; font-size:12px" id="comments" tabindex="3" class="f_textarea" />{text}</textarea>[/not-wysywyg]{wysiwyg}<br /><input type="checkbox" name="outboxcopy" value="1" /> Сохранить сообщение в папке "Отправленные"</td>
                            </tr>
[sec_code]                  <tr>
                              <td width="70" height="25">Код:</td>
                              <td width="380" height="25"><br />{sec_code}</td>
                            </tr>
                            <tr>
                              <td width="70" height="25">Введите код:</td>
                              <td width="380" height="25"><input type="text" name="sec_code" id="sec_code" style="width:120px; height:18px; margin-left:3px; margin-right:3px; border: 1px solid #CCCCCC; color:#666666; font-size:12px" class="f_input" /></td>
                            </tr>
[/sec_code]
                            <tr>
                              <td colspan="2"><br /><input class="bbcodes_poll" type="submit" name="add" value="отправить" />&nbsp;&nbsp;<input class="bbcodes_poll" type="button" onclick="dlePMPreview()" value="просмотр" /></td>
                            </tr>
        </table>
[/newpm]
[readpm]

<br />


<div class="sblk">
        <div>
          <div align="left" style="font-size: 12px">{text}<br />
              <br />
<div class="newss">Отправил: <strong>{author}</strong> | [reply]ответить[/reply] | [del]удалить[/del]</div>
          </div>
        </div>
      </div>
[/readpm]              
                          
      <td class="wc_rs_bg"><img src="{THEME}/images/windowzru_wc_rs.png" alt="" /></td></tr><tr><td class="wc_bl"></td><td class="wc_b"></td><td class="wc_br"></td></tr></table></div>
[/readpm]