{assign var="page_title" value="Staffliste"}
{assign var="page_title_long" value="Staffler auf Mittelerde"}
{assign var="page_title_site" value="Staffler auf Mittelerde"}

<table width="80%">
	<tr>
    	<th bgcolor="{$style.bg_2}" width="100">Name</th>
        <th bgcolor="{$style.bg_2}" width="190">eMail-Adresse</th>
        <th bgcolor="{$style.bg_2}">Rang</th>
    </tr>
    {counter start=1 skip=1 print=false assign=i}
    {foreach from=$list item=accounts}
    <tr>
    	<th bgcolor="{$style.bg_1}" colspan="3">{$fakeuser->groups.$i}</th>
    </tr>
    {foreach from=$accounts item=row}
    <tr>
    	<td bgcolor="{$style.bg_a}">{$row.name}</td>
        <td bgcolor="{$style.bg_a}">{mailto address=$row.intern_email encode="javascript"}</td>
        <td bgcolor="{$style.bg_a}">{$fakeuser->ranknames[$row.rank]}</td>
    </tr>
    {/foreach}
    {counter}
	{/foreach}
	<tr>
    	<th bgcolor="{$style.bg_1}" colspan="3">Schlichtungsstelle</th>
    </tr>
    <tr>
    	<td bgcolor="{$style.bg_a}">Arahil</td>
        <td bgcolor="{$style.bg_a}">{mailto address=arahil@uo-mittelerde.de encode="javascript"}</td>
        <td bgcolor="{$style.bg_a}">Staffvertreter</td>
    </tr>
    <tr>
    	<td bgcolor="{$style.bg_a}">Idhorion</td>
        <td bgcolor="{$style.bg_a}">{mailto address=idhorion@uo-mittelerde.de encode="javascript"}</td>
        <td bgcolor="{$style.bg_a}">Spielervertreter</td>
    </tr>
</table>
