<table width="100%">
    <tr>
        <td width="5"><img src="{THEME}/images/mtdlgeen.png" width="5" height="58" border="0"></td>
        <td background="{THEME}/images/mtdbggreen.png" class="ntitle" valign="top">Персональные сообщения</td>
        <td width="5"><img src="{THEME}/images/mtdrgreen.png" width="5" height="58" border="0"></td>
    </tr>
    <tr>
        <td background="{THEME}/images/ltd.gif"><img src="{THEME}/images/ltd.gif" width="5" border="0"></td>
        <td class="news" height="50"><div align="center">[inbox]Входящие сообщения[/inbox] || [outbox]Отправленные сообщения[/outbox] || [new_pm]Отправить сообщение[/new_pm]</div></td>
        <td background="{THEME}/images/rtd.gif"><img src="{THEME}/images/rtd.gif" width="5" border="0"></td>
    </tr>
    <tr>
        <td><img src="{THEME}/images/ltdb.png" width="5" height="10" border="0"></td>
        <td background="{THEME}/images/tdbbg.png"><img src="{THEME}/images/tdbbg.png" width="1" height="10" border="0"></td>
        <td><img src="{THEME}/images/rtdb.png" width="5" height="10" border="0"></td>
    </tr>
</table>
[pmlist]
<table width="100%">
    <tr>
        <td width="5"><img src="{THEME}/images/mtdlred.png" width="5" height="58" border="0"></td>
        <td background="{THEME}/images/mtdbgred.png" class="ntitle" valign="top">Список сообщений</td>
        <td width="5"><img src="{THEME}/images/mtdrred.png" width="5" height="58" border="0"></td>
    </tr>
    <tr>
        <td background="{THEME}/images/ltd.gif"><img src="{THEME}/images/ltd.gif" width="5" border="0"></td>
        <td class="news">{pmlist}</td>
        <td background="{THEME}/images/rtd.gif"><img src="{THEME}/images/rtd.gif" width="5" border="0"></td>
    </tr>
    <tr>
        <td><img src="{THEME}/images/ltdb.png" width="5" height="10" border="0"></td>
        <td background="{THEME}/images/tdbbg.png"><img src="{THEME}/images/tdbbg.png" width="1" height="10" border="0"></td>
        <td><img src="{THEME}/images/rtdb.png" width="5" height="10" border="0"></td>
    </tr>
</table>
[/pmlist]
[newpm]
<table width="100%">
    <tr>
        <td width="5"><img src="{THEME}/images/mtdlgeen.png" width="5" height="58" border="0"></td>
        <td background="{THEME}/images/mtdbggreen.png" class="ntitle" valign="top">Отправка персонального сообщения</td>
        <td width="5"><img src="{THEME}/images/mtdrgreen.png" width="5" height="58" border="0"></td>
    </tr>
    <tr>
        <td background="{THEME}/images/ltd.gif"><img src="{THEME}/images/ltd.gif" width="5" border="0"></td>
        <td class="news" valign="top" style="padding-left:20px;">
<table width="100%" class="slink">
<tr><td colspan="2">
<table class="slink">
                <tr align="left" valign="middle">
                  <td width="80" height="25">Получатель:</td>
                  <td height="25"><input type="text" name="name" value="{author}" style="width:140px; font-family:tahoma; font-size:11px; border:1px solid #E0E0E0 "></td>
                </tr>
                <tr align="left" valign="middle">
                  <td height="25" align="left" >Тема:</td>
                  <td height="25"><input type="text" name="subj" value="{subj}" style="width:200px; font-family:tahoma; font-size:11px; border:1px solid #E0E0E0 "></td>
                </tr></table>
</td></tr>
 				<tr align="left" valign="middle">
                  <td colspan="2">{editor}<br><input type="checkbox" name="outboxcopy" value="1"> Сохранить сообщение в папке "Отправленные"</td>
                            </tr>
[sec_code]                  <tr>
                              <td>Код:</td>
                              <td width="100%"><br />{sec_code}</td>
                            </tr>
                            <tr>
                              <td nowrap>Введите код:</td>
                              <td><input type="text" name="sec_code" id="sec_code" style="width:115px; font-family:verdana; font-size:11px; border:1px solid #E0E0E0;" /></td>
                            </tr>
[/sec_code]
                            <tr>
                              <td colspan="2"><br /><input class="bbcodes" type="submit" name="add" value="отправить" />&nbsp;&nbsp;<input class="bbcodes" type="button" onclick="dlePMPreview()" value="просмотр" /></td>
                            </tr>
</table>
</td>
        <td background="{THEME}/images/rtd.gif"><img src="{THEME}/images/rtd.gif" width="5" border="0"></td>
    </tr>
    <tr>
        <td><img src="{THEME}/images/ltdb.png" width="5" height="10" border="0"></td>
        <td background="{THEME}/images/tdbbg.png"><img src="{THEME}/images/tdbbg.png" width="1" height="10" border="0"></td>
        <td><img src="{THEME}/images/rtdb.png" width="5" height="10" border="0"></td>
    </tr>
</table>
[/newpm]

[readpm]
<table width="100%">
    <tr>
        <td width="5"><img src="{THEME}/images/mtdlblue.png" width="5" height="58" border="0"></td>
        <td background="{THEME}/images/mtdbgblue.png" class="ctitle" valign="top" colspan="2">{subj}</td>
        <td width="5"><img src="{THEME}/images/mtdrblue.png" width="5" height="58" border="0"></td>
    </tr>
    <tr>
        <td background="{THEME}/images/ltd.gif"><img src="{THEME}/images/ltd.gif" width="5" border="0"></td>
        <td class="news" valign="top" height="50" colspan="2">{text}</td>
        <td background="{THEME}/images/rtd.gif"><img src="{THEME}/images/rtd.gif" width="5" border="0"></td>
    </tr>
    <tr>
        <td><img src="{THEME}/images/mtdlbot.png" width="5" height="32" border="0"></td>
		<td background="{THEME}/images/mtdbgbot.gif" class="slink">Отправил: {author}</td>
		<td background="{THEME}/images/mtdbgbot.gif" class="slink" align="right">[reply][ответить][/reply] [del][удалить][/del]</td>
        <td><img src="{THEME}/images/mtdrbot.png" width="5" height="32" border="0"></td>
    </tr>
</table>
[/readpm]