{include file="$incpath/forums/user_panel_forums.tpl"}
<div class="box_innerhead">
<strong>{#Ignorelist#}</strong>
</div>
<p>
{#Profile_IgnoreList_inf#}
</p>

<div class="box_innerhead">{#Profile_IgnoreList_new#}</div>
<div class="infobox">
<form name="newignore" method="post" action="index.php?sub=add&amp;p=forum&action=ignorelist&amp;area={$area}">
<p><label><input name="UserName" class="input" type="text" value="{$ignorenew_user_field}" size="50" maxlength="25"> {#Forums_Username#}</label></p>
<p><label><input name="Reason" class="input"  type="text" value="{$ireason}" size="50" maxlength="75"> {#Profile_IgnoreList_reason#}</label></p>
<input type="submit" class="button" value="{#Profile_IgnoreList_bNew#}" />
</form>
</div>




{if $data}
<div class="box_innerhead">{#Profile_IgnoreList_entries#}</div>
<form method="post" action="index.php?sub=del_multi&amp;p=forum&action=ignorelist&amp;area={$area}">
<table width="100%" border="0" cellpadding="3" cellspacing="1" class="forum_tableborder">

  <tr>
    <td width="1%" align="center" class="forum_header">&nbsp;</td>
    <td class="forum_header">{#Forums_Username#}</td>
    <td align="center" class="forum_header">{#Profile_IgnoreList_reason#}</td>
    <td align="center" class="forum_header">{#Forums_avatar#}</td>
    <td align="center" class="forum_header">{#Forums_onlineStatus#}</td>
  </tr>
  {foreach from=$data item=i}
  <tr class="{cycle name='s' values='row_first,row_second'}">
    <td width="1%" align="center"><input name="del[{$i->IgnorierId}]" type="checkbox" id="del[{$i->IgnorierId}]" value="1" /></td>
    <td>
	<a {popup anchory=20 anchor=$anchid width=280 trigger="onclick" timeout="5000" sticky=true text=$i->UserPop} href="index.php?p=user&amp;id={$i->IgnorierId}&amp;area={$area}"><strong>{$i->Benutzername|sslash|escape:html}</strong></a>
	
	<br />
	{#Ignorelist_AddedOn#} {$i->Datum|date_format:$config_vars.DateFomat}	</td>
    <td align="center">{$i->Grund|koobispecialchars}</td>
    <td align="center">{$i->Avatar}</td>
    <td align="center">{getonlinestatus uname=$i->Benutzername}</td>
  </tr>
 {/foreach}
</table>
<br />
<input type="hidden" name="sub" value="del_multi" />
<input type="submit" class="button" value="{#Ignorelist_Del2#}" />
</form>

{/if}
<p>&nbsp;</p>