<h4><{$xoops_pagetitle}></h4>
<{if $feature.user.profile}>
  <a href="<{$xoops_url}>/userinfo.php?uid=<{$thisUser->getVar('uid')}>"><{$smarty.const._PM_PROFILE}></a> &raquo;&raquo; 
<{/if}>
<a href="index.php"><{$smarty.const._PM_INBOX}></a> &raquo;&raquo; <{$privMessage->getVar('subject')}>
<table class="outer" border="0" cellpadding="4" cellspacing="1" width="100%">
  <tr>
    <th <{if $sendUser->hasAvatar()}>colspan="2"<{/if}>><{$smarty.const._MD_PM_LANG_MESSAGE_DETAIL}></th>
  </tr>
  <tr class="even">
    <{if $sendUser->hasAvatar()}>
      <td valign="top" style="text-align:center;" rowspan="3">
        <a href="<{$smarty.const.XOOPS_URL}>/userinfo.php?uid=<{$sendUser->getVar('uid')}>"><img src="<{$sendUser->getAvatarUrl()}>" alt="<{$sendUser->getVar('uname')}>" title="<{$sendUser->getVar('uname')}>" /></a>
        <{if $sendUser->getVar('user_from')}>
          <br /> <{$sendUser->getVar('user_from')}>
        <{/if}>
      </td>
    <{/if}>
    <td><{$smarty.const._PM_FROMC}><a href="<{$smarty.const.XOOPS_URL}>/userinfo.php?uid=<{$sendUser->getVar('uid')}>"><{$sendUser->getVar('uname')}></a>
        <!--- TODO Online Information --->
    </td>
  </tr>
  <tr class="even">
    <td><{$smarty.const._PM_SENTC}><{$privMessage->getVar("msg_time")|xoops_formattimestamp}></td>
  </tr>
  <tr class="even">
    <td><{$smarty.const._MD_PM_LANG_SUBJECTC}><img src="<{$xoops_url}>/images/subject/<{$privMessage->getVar('msg_image')}>" alt='' title='' />&nbsp;<b><{$privMessage->getVar('subject')}></b></td>
  </tr>
  <tr class="'odd">
    <td colspan="2">
      <{$privMessage->getVar('msg_text')}><br /><br />
    </td>
  </tr>
  <tr class="foot">
    <td <{if $sendUser->hasAvatar()}>colspan="2"<{/if}> style="text-align:left;">
      <!--- TODO check postr. See original readpmsg --->
      <a href='#' onclick="javascript:openWithSelfMain('<{$smarty.const.XOOPS_URL}>/pmlite.php?reply=1&amp;msg_id=<{$privMessage->getVar("msg_id")}>','pmlite',450,380);"><img src="<{$xoops_url}>/images/icons/reply.gif" alt="<{$smarty.const._PM_REPLY}>" title="<{$smarty.const._PM_REPLY}>" /></a>
      <input type="hidden" name="delete" value="1" />  <!--- << check --->
      <input type="hidden" name="msg_id" value="<{$privMessage->getVar('msg_id')}>" />
      <a href="#<{$privMessage->getVar('msg_id')}>" onclick='javascript:document.delete<{$privMessage->getVar("msg_id")}>.submit();'><img src="<{$xoops_url}>/images/icons/delete.gif" alt="<{$smarty.const._PM_DELETE}>" title="<{$smarty.const._PM_DELETE}>" /></a>
    </td>
  </tr>
  <tr>
    <td <{if $sendUser->hasAvatar()}>colspan="2"<{/if}> style="text-align:right;">
      <{if $previousMessage}>
        <a href="index.php?action=read&amp;msg_id=<{$previousMessage->getVar('msg_id')}>"><{$smarty.const._PM_PREVIOUS}></a>
      <{/if}>
      <{if $nextMessage}>
        <{if $previousMessage}> | <{/if}>
        <a href="index.php?action=read&amp;msg_id=<{$nextMessage->getVar('msg_id')}>"><{$smarty.const._PM_NEXT}></a>
      <{/if}>
    </td>
  </tr>
</table>
