{assign var="page_title" value="NPCs bearbeiten"}
{assign var="page_title_long" value="Mitglieder Bereich &raquo; NPCs bearbeiten"}
{assign var="page_title_site" value="NPCs bearbeiten"}

<p>
<a href="npcs.php?new=1&amp;{$SID}">Neuer Eintrag</a>
</p>

<table>
    <tr bgcolor="{$style.bg_2}">
			<th>ID</th>
    	<th>Name</th>
        <th>KI</th>
        <th>XP-Klasse</th>
        <th>Geschlecht</th>
        <th>Body</th>
			<th>Loot</th>			
        <th>Aktion</th>
    </tr>
    {foreach from=$entries item=row}
    <tr>
			<td>{$row.id}</td>
    	<td><a href="npcs.php?edit={$row.id}&amp;{$SID}">{$row.name_interface}</a></td>
        <td>{$row.ki_name}</td>
        <td>{$row.xp_classname}</td>
        <td>{$row.geschlecht}</td>
        <td>{$row.bodyid}</td>
			<td>{$row.loot}</td>			
        <td><a href="npcs.php?del={$row.id}&amp;{$SID}">Löschen</a></td>
    </tr>
    {/foreach}
</table>