{include file="$gentemplates/_header.tpl" pagetitle="$groupmanager"}
{include file="$gentemplates/_navi.tpl" pagetitle="$groupmanager"}

{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="groupmanager.php?mod=admin&amp;obj=group&amp;view=newform&amp;{$SESSION}" class="new"><img src="{$imgpath}/user_{$iconid}.gif" border="0" alt="{$createnewgroup}" title="{$createnewgroup}"></a>
      {else}
      &nbsp;&nbsp;<a href="groupmanager.php?mod=admin&amp;obj=group&amp;view=newform&amp;{$SESSION}" class="new">{$createnewgroup}</a>
      {/if}

      {* TABLE START *}
      {include file="$gentemplates/_th7.tpl" r1= "id" r2=$groupname r3=$description r4=$members r5=$lastchg r6=$by 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].name r3=$td[inhalt1].description r4=$cntmembers[inhalt1]|smarty:nodefaults r5=$td[inhalt1].lu_date|mgw_datetime r6=$td[inhalt1].lu_user r7=$urls[inhalt1]|smarty:nodefaults}
      {/section}
      {include file="$gentemplates/_tfx.tpl"}
      {* TABLE END *}	
      <br />
      {if $iconmode}
      &nbsp;&nbsp;<a href="groupmanager.php?mod=admin&amp;obj=group&amp;view=newform&amp;{$SESSION}" class="new"><img src="{$imgpath}/user_{$iconid}.gif" border="0" alt="{$createnewgroup}" title="{$createnewgroup}"></a>
      {else}
      &nbsp;&nbsp;<a href="groupmanager.php?mod=admin&amp;obj=group&amp;view=newform&amp;{$SESSION}" class="new">{$createnewgroup}</a>
      {/if}
    </td>
  </tr>
</table>

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