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

<form name="f1" action="index.php" method="post">
<input type="hidden" name="{$SESSIONNAME}" value="{$SESSIONID}">			
<input type="hidden" name="id" value="{$id}">			
<input type="hidden" name="npage" value="{$npage}">			
<input type="hidden" name="mod" value="contact">
<input type="hidden" name="obj" value="group">
{if $mode eq "new"}
<input type="hidden" name="op" value="create">
{else}
<input type="hidden" name="op" value="edit">
{/if}

<table border="0" cellpadding="0" cellspacing="0" width="450">
  <tr align="left">
    <td class="tab" height="40"><img src="{$imgpathmaster}/space.gif" alt="" width="60" height="1"></td>
    <td class="formhead">{$name}:</td>
    <td class="tab"><input type="text" name="name" size="23" maxlength="100" value="{$td.name_key|escape:"html"}"></td>
  </tr>

  <tr><td class="lines" height="1" width="1" colspan="3"><img src="{$imgpathmaster}/space.gif" alt="" width="1" height="1"></td></tr>
  <tr align="left">
    <td class="tab" height="40"><img src="{$imgpathmaster}/space.gif" alt="" width="60" height="1"></td>
    <td class="formhead">{$desc}:</td>
    <td class="tab">&nbsp;<br><textarea name="desc" cols="30" rows="8">{$td.description|escape:"html"}</textarea><br>&nbsp;</td>
  </tr>

  <tr><td class="lines2" height="1" width="1" colspan="3"><img src="{$imgpathmaster}/space.gif" alt="" width="1" height="1"></td></tr>
  <tr align="left">
    <td class="tab" height="40"><img src="{$imgpathmaster}/space.gif" alt="" width="60" height="1"></td>
    <td class="formhead">&nbsp;</td>
    <td class="tab"><input type="submit" name="{$suname}" value="{$suvalue}" class="{$suclass}"></td>
  </tr>
  <tr><td class="lines" height="1" width="1" colspan="3"><img src="{$imgpathmaster}/space.gif" alt="" width="1" height="1"></td></tr>
</table>

</form>

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