{assign var="page_title" value="PLZ Bereich anzeigen"}

<table>
    <tr>
        <th bgcolor="{$style.bg_2}">Benutzername</th>
        <th bgcolor="{$style.bg_2}">Wohnort</th>
        <th bgcolor="{$style.bg_2}">PLZ</th>
        <th bgcolor="{$style.bg_2}">eMail-Adresse</th>
        <th bgcolor="{$style.bg_2}">ICQ Nummer</th>
        <th bgcolor="{$style.bg_2}">Foren-Profil</th>
    </tr>
    {foreach from=$locations item=row}
    <tr bgcolor="{$style.bg_b}">
        <td>{$row.account->name}</td>
        <td>{$row.town}</td>
        <td>{$row.plz}</td>
        <td>{if $row.account->show_email}<a href="mailto:{$row.account->email}">{$row.account->email}</a>{/if}</td>
        <td>{$row.account->icq}</td>
        <td>{if $row.account->bb_userid > 0}<a href="http://wbb2.uo-mittelerde.ch/profile.php?userid={$row.account->bb_userid}" target="_blank" title="Forenprofil von {$row.account->bb_useraccount.username} anzeigen">{$row.account->bb_useraccount.username}</a>{/if}</td>
    </tr>
    {/foreach}
</table>