<form method='post' action='{CONF.MAINSCRIPT}'>
  <table border='0' cellpadding='3' cellspacing='1' class='pms bgcol1'>
    <tr class='forumhead'><td colspan='4' class='admrow'>
      <div class='admtab {CLASS_SELIN}'><a href='{LINK_PM}'>{PM_INBOX}</a></div>
      <div class='admtab {CLASS_SELOUT}'><a href='{LINK_PM_OUTBOX}'>{PM_OUTBOX}</a></div>
      <div class='admtab {CLASS_SELSENT}'><a href='{LINK_PM_SENT}'>{PM_SENT}</a></div>
      <input type='hidden' name='action' value='delpm' />
      <input type='hidden' name='show' value='{FORM_VAL_SHOW}' /></td></tr>
   
  <!-- IF FLAGS.SHOWPMS -->

    <!-- IF PMS -->
    <tr class='forumhead'>
      <td class='pmssubject'>{DESCR_SUBJECT}</td>
      <td class='pmsusr'>{DESCR_USER}</td>
      <td class='pmssent'>{DESCR_SENTON}</td>
      <td class='pmstool'>&nbsp;</td></tr>
      
      <!-- through the private messages [+] -->
      <!-- BEGIN PMS -->
        <tr class='foruminner'>
          <td><a href='{PM_LINK}' class='{PM_SUBJECT_CLASS}'>{PM_SUBJECT}</a></td>
          <td><!-- IF PM_USERID -->
                <a href='{PM_USER_LINK}' class='anu {PM_USER_CLASS}'>{PM_USERNAME}</a>
              <!-- ELSE -->
                {PM_USERNAME}
            <!-- ENDIF PM_USERID --></td>
          <td>{PM_SENTON}</td>
          <td class='c'><input type='checkbox' name='pmids[]' value='{PM_ID}' /></td>
        </tr>
      <!-- END PMS -->
      <!-- through the private messages [-] -->
      
      <tr class='forumfoot'><td colspan='4' class='c'><input type='submit' value='{DESCR_DELETE_SELECTED}' /></td></tr>
      
    <!-- ELSE -->  
      <tr class='foruminner'><td class='c' colspan='4'>{NO_PMS}</td></tr>
    <!-- ENDIF PMS -->

  <!-- ENDIF FLAGS.SHOWPMS -->
  

  <!-- IF FLAGS.SHOWPM -->

    <!-- IF FLAGS.PMFOUND -->

      <tr class='foruminner'><td class='pmsubject b singlehead'>{DESCR_SUBJECT}</td>
        <td>{SPM_SUBJECT}</td></tr>
      <tr class='foruminner'><td class='b singlehead'>{DESCR_FROM}</td>
        <td><!-- IF SPM_FROM_UID -->
              <a href='{SPM_FROM_USER_LINK}' class='anu {SPM_FROM_USER_CLASS}'>{SPM_FROM_USERNAME}</a>
            <!-- ELSE -->
              {SPM_FROM_USERNAME}
              <!-- ENDIF SPM_FROM_UID --></td></tr>
       <tr class='foruminner'><td class='b singlehead'>{DESCR_SENTON}</td>
        <td>{SPM_SENTON}</td></tr>
      <tr class='foruminner'><td class='b singlehead'>{DESCR_TO}</td>
        <td><!-- IF SPM_TO_UID -->
              <a href='{SPM_TO_USER_LINK}' class='anu {SPM_TO_USER_CLASS}'>{SPM_TO_USERNAME}</a>
            <!-- ELSE -->
              {SPM_TO_USERNAME}
              <!-- ENDIF SPM_TO_UID --></td></tr>
      <tr class='forumhead'><td colspan='4' class='c'>{DESCR_MESSAGE}</td></tr>
      <tr class='foruminner'>
        <td colspan='4'>
          <div class='post'>{SPM_MESSAGE}
            {SENDERS_SIG}</div>
          <div class='fr p3'>
            <!-- IF SPM_FROM_UID -->
              <a href="{LINK_PM_QUOTE}"><img src='{CONF.TEMPLATE_PATH}/images/icons/quote_small.png' alt="{IMG_QUOTE}" title="{IMG_QUOTE}" class='m2 vab' /></a>
            <!-- ENDIF SPM_FROM_UID -->
            <a href="{CONF.MAINSCRIPT}?action=delpm&amp;pmid={SPM_ID}&amp;show={FORM_VAL_SHOW}" onclick="return confirm('{CONFIRM_DELPM}');"><img src='{CONF.TEMPLATE_PATH}/images/icons/delete.png' alt="{IMG_DEL}" title="{IMG_DEL}" class='m2 vab' /></a>
          </div>
          <p class='clear'></p>
          
        <!-- IF SPM_FROM_UID -->
          <!-- If the author of the PM is still registered [+] --> 
            <div class='profilemaillinks'><a href='{SPM_FROM_USER_LINK}'><img src='{CONF.TEMPLATE_PATH}/images/{CONF.LANG}/forum_profile.png' alt="{IMG_PROFILE_TITLE}" title="{IMG_PROFILE_TITLE}" /></a>
              &nbsp;&nbsp;<a href='{LINK_PM_SEND}'><img src='{CONF.TEMPLATE_PATH}/images/{CONF.LANG}/forum_pm.png' alt="{IMG_PM_TITLE}" title="{IMG_PM_TITLE}" /></a>
            <!-- IF SPM_MAIL2AUTHOR -->
              <!-- ... and the usermail notification is enabled [+] -->
              &nbsp;&nbsp;<a href='{LINK_SENDMAIL}'><img src='{CONF.TEMPLATE_PATH}/images/forum_email.png' alt="{IMG_SENDMAIL_TITLE}" title="{IMG_SENDMAIL_TITLE}" /></a>
              <!-- ... and the usermail notification is enabled [-] -->
            <!-- ENDIF SPM_MAIL2AUTHOR -->
            </div>
          <!-- If the author of the PM is still registered [-] -->
        <!-- ENDIF SPM_FROM_UID -->
          
        </td>
      </tr>
       <!-- IF SPM_FROM_UID -->
      <tr class='forumfoot'><td colspan='4'>
        <a href='{LINK_PM_REPLY}'><img src='{CONF.TEMPLATE_PATH}/images/{CONF.LANG}/forum_pm_reply.png' alt="{IMG_REPLY_TITLE}" title="{IMG_REPLY_TITLE}" /></a>
      </td></tr>
       <!-- ENDIF SPM_FROM_UID -->
  
    <!-- ELSE -->
      <tr class='foruminner'><td class='c' colspan='4'>{NO_PM}</td></tr>
    <!-- ENDIF FLAGS.PMFOUND -->


  <!-- ENDIF FLAGS.SHOWPM -->
  
  
  </table></form>
    