{assign var="page_title" value="Interne Staffliste"}
{assign var="page_title_long" value="Interne Staffliste"}
{assign var="page_title_site" value="Interne Staffliste"}

<table width="95%">
	<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}">ICQ-Adresse</th>
        <th bgcolor="{$style.bg_2}">Rang</th>
        <th bgcolor="{$style.bg_2}">Abwesenheit [MouseOver]</th>
    </tr>
    {counter start=1 skip=1 print=false assign=i}
    {foreach from=$list item=accounts}
    <tr>
    	<th bgcolor="{$style.bg_1}" colspan="5">{$user->groups.$i}</th>
    </tr>
    {foreach from=$accounts item=row}
    <tr>
    	<td bgcolor="{$style.bg_a}">{$row.name}</td>
        <td bgcolor="{$style.bg_a}"><a href="mailto:{$row.intern_email}">{$row.intern_email}</a></td>
        <td bgcolor="{$style.bg_a}">{$row.intern_icq}</td>
        <td bgcolor="{$style.bg_a}">{$user->ranknames[$row.rank]}</td>
        <td bgcolor="{$style.bg_a}" align="center">
            {if $row.away_msg != null}
            <a href="#" title="{$row.away_msg|stripslashes}">Info</a>
            {/if}
        </td>
    </tr>
    {/foreach}
    {counter}
	{/foreach}
	<tr>
	 <th bgcolor="{$style.bg_1}" colspan="5">Schlichtungsstelle</th>
	</tr>
	<tr>
    	<td bgcolor="{$style.bg_a}">Arahil</td>
        <td bgcolor="{$style.bg_a}"><a href="mailto:Arahil@uo-mittelerde.de">arahil@uo-mittelerde.de</a></td>
        <td bgcolor="{$style.bg_a}"></td>
        <td bgcolor="{$style.bg_a}">Staffvertreter</td>
        <td bgcolor="{$style.bg_a}" align="center">
            
        </td>
    </tr>
    <tr>
    	<td bgcolor="{$style.bg_a}">Idhorion</td>
        <td bgcolor="{$style.bg_a}"><a href="mailto:idhorion@uo-mittelerde.de">idhorion@uo-mittelerde.de</a></td>
        <td bgcolor="{$style.bg_a}"></td>
        <td bgcolor="{$style.bg_a}">Spielervertreter</td>
        <td bgcolor="{$style.bg_a}" align="center">
            
        </td>
    </tr>
</table>

