<{$pmform.javascript}>
<form name="<{$pmform.name}>" id="<{$pmform.name}>" action="<{$pmform.action}>" method="<{$pmform.method}>" <{$pmform.extra}> >
    <table width='300' align='center' class='outer'>
        <tr>
            <td class='head' width='30%'><{$smarty.const._PM_TO}></td>
            <td class='even'><{if $pmform.elements.to_userid.hidden != 1}><{$pmform.elements.to_userid.body}><{/if}><{$to_username}></td>
        </tr>
        <tr>
            <td class='head' width='30%'><{$smarty.const._PM_SUBJECTC}></td>
            <td class='even'><{$pmform.elements.subject.body}></td>
        </tr>
        <tr valign='top'>
            <td class='head' width='30%'><{$smarty.const._PM_MESSAGEC}></td>
            <td class='even'><{$pmform.elements.message.body}></td>
        </tr>
        <tr valign='top'>
            <td class='head' width='30%'><{$smarty.const._PM_SAVEINOUTBOX}></td>
            <td class='even'><{$pmform.elements.savecopy.body}></td>
        </tr>
        <tr>
            <td class='head'>&nbsp;</td>
            <td class='even'>
                <{foreach item=element from=$pmform.elements}>
                    <{if $element.hidden == 1}>
                        <{$element.body}>
                    <{/if}>
                <{/foreach}>
                <{$pmform.elements.submit.body}>&nbsp;
                <{$pmform.elements.reset.body}>&nbsp;
                <{$pmform.elements.cancel.body}>
            </td>
        </tr>
    </table>
</form>