{assign var="page_title" value="Nachricht senden"}
{assign var="page_title_long" value="Mitglieder Bereich &raquo; Nachrichten &raquo; Nachricht senden"}
{assign var="page_title_site" value="Nachricht senden"}

{if $sended}
Die Nachricht wurde erfolgreich gesendet.
{/if}

{form_errors error_list=$form_errors} 

<form method="post" action="send_message.php">
    <input type="hidden" name="sid" value="{$SID_SHORT}" />
    <table>
        <tr>
            <td align="right" bgcolor="{$style.bg_a}"><b>Empfänger</b></td>
            <td bgcolor="{$style.bg_a}"><input type="text" name="receiver" size="30" maxlength="25" class="input_form" value="{$formvalues.receiver}" /></td>
        </tr>
        <tr>
            <td align="right" bgcolor="{$style.bg_b}"><b>Betreff</b></td>
            <td bgcolor="{$style.bg_b}"><input type="text" name="subject" size="30" maxlength="255" class="input_form" value="{$formvalues.subject}" /></td>
        </tr>
        <tr>
            <td align="right" bgcolor="{$style.bg_a}"><b>Nachricht</b></td>
            <td bgcolor="{$style.bg_a}">
            	<textarea name="message" cols="80" rows="8" class="input_form">{$formvalues.message}</textarea>
            </td>
        </tr>
    </table>
    <br />
    <input type="submit" value="Nachricht senden" name="send_form" class="button_form" />
</form>