{include file="../head.tpl"}
<table width="100%"  border="0" cellpadding="4" cellspacing="1" class="tableborder">
  <form name="gdel" method="post" action="groups.php?action=delete" onSubmit="return confirm('{$langadmin.delgroup_confirm}  ');">
    <tr>
      <td colspan="2" class="header"><b>
        {$langadmin.delgroup}
        </b></td>
    </tr>
    <tr>
      <td colspan="2" class="secondrow">{$langadmin.delgroup_t}</td>
    </tr>
    <tr>
      <td class="firstrow">{$langadmin.delgroup_t3}</td>
      <td class="secondrow">{$gname}</td>
    </tr>
    <tr>
      <td class="firstrow">{$langadmin.delgroup_t2}
      </td>
      <td class="secondrow">
	  <select name="newgroup" id="newgroup">
          
	  {foreach from=$ugroup item=grp}
      
          <option value="{$grp->ugroup}" {if $grp->ugroup == 3}selected="selected"{/if}>{$grp->groupname}</option>
          
	{/foreach}
        
        </select>
      </td>
    </tr>
    <tr>
      <td class="firstrow">&nbsp;</td>
      <td class="secondrow"><input type="submit" class="button" value="{$langadmin.delgroup_butt}">
        <input name="id" type="hidden" id="id" value="{$id}">
        <input name="send" type="hidden" id="send" value="1">
      </td>
    </tr>
  </form>
</table>
{include file="../foot.tpl"}