{assign var="page_title" value="NPCs bearbeiten"}
{assign var="page_title_long" value="Mitglieder Bereich &raquo; NPCs bearbeiten &raquo; Neue Lootlisten-Verknüpfung"}
{assign var="page_title_site" value="NPCs bearbeiten"}

{form_errors error_list=$form_errors}
<form method="post" action="npcs.php">
    <input type="hidden" name="sid" value="{$SID_SHORT}" />
    <input type="hidden" name="edit" value="{$formvalues.edit}" />
		<input type="hidden" name="region" value="{$formvalues.region}" />
    <input type="hidden" name="newlink" value="1" />
    <table>
        <tr>
        	<th colspan="2" bgcolor="{$style.bg_2}">Lootlisten-Verknüpfung hinzufügen</th>
        </tr>
        <tr>
	        <td align="right" bgcolor="{$style.bg_a}"><b>Lootlisten</b></td>
	        <td bgcolor="{$style.bg_a}">
	        	<select name="lootlisten" class="list_form">
	        		{html_options options=$lists selected=$formvalues.lootlisten}
                </select>
	        </td>
	    	<td></td>
	    </tr>
	    <tr>
	        <td align="right" bgcolor="{$style.bg_b}"><b>Wahrscheinlichkeit</b></td>
	        <td bgcolor="{$style.bg_a}"><input type="text" name="wkeit" size="30" maxlength="5" class="input_form" value="{$formvalues.wkeit}" /></td>
	    	<td><small>(0-10000)</small></td>
	    </tr>
    </table>
    <br />
    <input type="submit" name="send_form" class="button_form" value="Eintragen..." />
</form>

<p><a href="npcs.php?edit={$formvalues.edit}&amp;region={$formvalues.region}&amp;{$SID}">Zurück zum NPC</a></p>