{assign var="page_title" value="Mieter hinzufügen"}
{assign var="page_title_long" value="Mitglieder Bereich &raquo; Mieter hinzufügen"}
{assign var="page_title_site" value="Mieter hinzufügen"}

{form_errors error_list=$form_errors}
<form method="post" action="miete.php">
    <input type="hidden" name="sid" value="{$SID_SHORT}" />
    <input type="hidden" name="new" value="1" />
    <table>
        <tr>
        	<th colspan="2" bgcolor="{$style.bg_2}">Eintrag hinzufügen</th>
        </tr>
        <tr>
	        <td align="right" bgcolor="{$style.bg_a}"><b>CharID</b></td>
	        <td bgcolor="{$style.bg_b}"><input type="text" name="charid" size="30" maxlength="5" class="input_form" value="{$formvalues.charid}" /></td>
	    </tr>
	    <tr>
	        <td align="right" bgcolor="{$style.bg_b}"><b>Objekt</b></td>
	        <td bgcolor="{$style.bg_b}"><input type="text" name="objekt" size="30" maxlength="200" class="input_form" value="{$formvalues.objekt}" /></td>
	    </tr>
		  <tr>
	        <td align="right" bgcolor="{$style.bg_b}"><b>Preis</b></td>
	        <td bgcolor="{$style.bg_b}"><input type="text" name="preis" size="30" maxlength="10" class="input_form" value="{$formvalues.preis}" /></td>
	    </tr>
		  <tr>
	        <td align="right" bgcolor="{$style.bg_b}"><b>Frequenz (d)</b></td>
	        <td bgcolor="{$style.bg_b}"><input type="text" name="intervall_d" size="30" maxlength="5" class="input_form" value="{$formvalues.intervall_d}" /></td>
	    </tr>
		  <tr>
	        <td align="right" bgcolor="{$style.bg_b}"><b>Letzte Zahlung (YYYYMMDD)</b></td>
	        <td bgcolor="{$style.bg_b}"><input type="text" name="letzte_zahlung" size="30" maxlength="30" class="input_form" value="{$formvalues.letzte_zahlung}" /></td>
	    </tr>
		  <tr>
	        <td align="right" bgcolor="{$style.bg_b}"><b>Staffler (AccountID)</b></td>
	        <td bgcolor="{$style.bg_b}"><input type="text" name="staffler" size="30" maxlength="6" class="input_form" value="{$formvalues.staffler}" /></td>
	    </tr>
    </table>
    <br />
    <input type="submit" name="send_form" class="button_form" value="Eintragen..." />
</form>

<p><a href="miete.php?{$SID}">Zurück zur Übersicht</a></p>