{include file="$gentemplates/_header.tpl"}
<table height="100%" width="100%" border="0" cellspacing="0"><tr><td class="contentback" valign="top">

<form name="f1" action="mim.php" method="POST">
<input type="hidden" name="{$SESSIONNAME}" value="{$SESSIONID}">
<input type="hidden" name="mod" value="mim">
<input type="hidden" name="obj" value="message">
<input type="hidden" name="op" value="create">
{if $replyon}
<input type="hidden" name="replyon" value="{$replyon}">
{/if}

{include file="$gentemplates/_contentheader.tpl" title="$mimcreate"}
<table height="100%" width="100%" class="contentback" border="0" cellpadding="0" cellspacing="0">
    <tr><td class="lines2" height="1" colspan="3"><img src="{$imgpathmaster}/space.gif" alt="" width="1" height="2" hspace="0" vspace="0" border="0"></td></tr>
  <tr align="left">
    <td class="tab" height="40">&nbsp;</td>
    <td class="formhead">{$recipient}:</td>
    <td class="tab">{$recsb|smarty:nodefaults}</td>
  </tr>
  <tr><td class="lines" height="1" colspan="3"><img src="{$imgpathmaster}/space.gif" alt="" width="1" height="1" hspace="0" vspace="0" border="0"></td></tr>
  <tr align="left">
    <td class="tab" height="40">&nbsp;</td>
    <td class="formhead">{$subject}:</td>
    <td class="tab"><input type="text" name="subject" size="40" maxlength="255" value="{$sub}" /></td>
  </tr>
  <tr><td class="lines" height="1" colspan="3"><img src="{$imgpathmaster}/space.gif" alt="" width="1" height="1" hspace="0" vspace="0" border="0"></td></tr>
  <tr align="left">
    <td class="tab" height="40">&nbsp;</td>
    <td class="formhead">{$message}:</td>
    <td class="tab"><textarea name="message" rows="7" cols="40">{if $orig_message_txt} 

{$orig_message}:
------------------
{$orig_message_txt}
{/if}</textarea></td>
  </tr>
    <tr><td class="lines2" height="1" colspan="3"><img src="{$imgpathmaster}/space.gif" alt="" width="1" height="1" hspace="0" vspace="0" border="0"></td></tr>
  <tr align="left">
    <td class="tab">&nbsp;</td>
    <td class="tab"></td>
    <td class="tab"><input type="submit" value="{$send}" />&nbsp;&nbsp;&nbsp;<a href="mim.php?mod=notes&amp;obj=note&amp;view=list&amp;{$SESSION}">{$back}</a></td>
  </tr>
  <tr><td class="lines" height="1" colspan="3"><img src="{$imgpathmaster}/space.gif" alt="" width="1" height="1" hspace="0" vspace="0" border="0"></td></tr>
</table>
</form>

</td></tr></table>
{include file="$gentemplates/_footer_withoutname.tpl" aktUser=$username}
