{include file="$gentemplates/_header.tpl" pagetitle="$useroverview"}
{include file="$gentemplates/_navi.tpl" pagetitle="$useroverview"}
{literal}
<script language="javascript">
function openSelector(id, sid){
	selectorUrl = "index.php?action=details&id="+id+"&"+sid;
	selector = open(selectorUrl,"selectorWindow","width=450,height=360,screenX=0,screenY=0");
	selector.focus();
}

function openSelector2(id, sid){
	selectorUrl = "contact_comp.php?action=details&id="+id+"&"+sid;
	selector = open(selectorUrl,"selectorWindow","width=450,height=230,screenX=0,screenY=0");
	selector.focus();
}

</script>
{/literal}

<table width="100%" class="contentback" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td>
      &nbsp;<br>
      {if $iconmode}
      &nbsp;&nbsp;<a href="usermanager.php?action=newform&amp;{$SESSION}" class="new"><img src="{$imgpath}/user_{$iconid}.gif" border="0" alt="{$hashmap.newuser}" title="{$hashmap.newuser}"></a>
      &nbsp;&nbsp;<a href="usermanager.php?action=newformmultiple&amp;{$SESSION}" class="new"><img src="{$imgpath}/users_{$iconid}.gif" border="0" alt="{$hashmap.newusers}" title="{$hashmap.newusers}"></a>
      {else}
      &nbsp;&nbsp;<a href="usermanager.php?action=newform&amp;{$SESSION}" class="new">{$hashmap.newuser}</a>
      &nbsp;&nbsp;<a href="usermanager.php?action=newformmultiple&amp;{$SESSION}" class="new">{$hashmap.newusers}</a>
      {/if}
      
      {* TABLE START *}
      {include file="$gentemplates/_th7.tpl" r1="id" r2=$usernametext r3=$lastname r4=$firstname r5=$email r6=$date r7=$action}
      {section name=inhalt1 loop=$td}
      {assign var="frm_date" value=$td[inhalt1].lu_date|mgw_datetime}
      {include file="$gentemplates/_tr7.tpl" r1=$td[inhalt1].id r2=$td[inhalt1].username r3=$td[inhalt1].lastname r4=$td[inhalt1].firstname r5=$td[inhalt1].email|smarty:nodefaults r6=$frm_date r7=$urls[inhalt1]|smarty:nodefaults}
      {/section}
      {include file="$gentemplates/_tfx.tpl"}
      {* TABLE END *}	
      
      <table width=50%>
	<tr>
	  <td align="left" class="stand">
      {if $iconmode}
      &nbsp;&nbsp;<a href="usermanager.php?action=newform&amp;{$SESSION}" class="new"><img src="{$imgpath}/user_{$iconid}.gif" border="0" alt="{$hashmap.newuser}" title="{$hashmap.newuser}"></a>
      &nbsp;&nbsp;<a href="usermanager.php?action=newformmultiple&amp;{$SESSION}" class="new"><img src="{$imgpath}/users_{$iconid}.gif" border="0" alt="{$hashmap.newusers}" title="{$hashmap.newusers}"></a>
      {else}
      &nbsp;&nbsp;<a href="usermanager.php?action=newform&amp;{$SESSION}" class="new">{$hashmap.newuser}</a>
      &nbsp;&nbsp;<a href="usermanager.php?action=newformmultiple&amp;{$SESSION}" class="new">{$hashmap.newusers}</a>
      {/if}
	  </td>
	</tr>
	<tr>
	  <td align="right" class="stand">
	    {if $_prev} <a href="usermanager.php?pst={$searchterm}&amp;plst={$list}&amp;npage={$ppage}&amp;{$SESSION}">&lt;&lt;--|</a>{/if}
	    {if $_next}&nbsp;&nbsp;&nbsp;<a href="usermanager.php?pst={$searchterm}&amp;plst={$list}&amp;npage={$npage}&amp;{$SESSION}">|--&gt;&gt;</a>{/if}
	  </td>
	</tr>
      </table>
    </td>
  </tr>
</table>

{include file="$gentemplates/_footer.tpl" aktUser=$username}