{include file="../head.tpl"}
<table width="100%"  border="0" cellpadding="4" cellspacing="1" class="tableborder">
  <form method="post" action="user.php?action=activate&subaction=activatefinal">
    <tr>
      <th colspan="2" class="header"> {$langadmin.confirmthis}
      </th>
    </tr>
    <tr>
      <td colspan="2" class="secondrow">{$langadmin.confirmactivation}
      </td>
    </tr>
    {foreach from=$user item=ung}
    <tr>
      <td width="5%" class="firstrow"><input name="usr_{$ung->uid}" type="checkbox" id="usr_{$ung->uid}" value="1" checked>
      </td>
      <td class="secondrow">{$ung->uname}
      </td>
    </tr>
    {/foreach}
    {if $smarty.request.mode == 7}
    <tr>
      <td width="5%" class="firstrow"><input name="usr_{$rowu->uid}" type="checkbox" id="usr_{$rowu->uid}" value="1" checked>
      </td>
      <td class="secondrow">{$rowu->uname}
      </td>
    </tr>
    {/if}
    <tr>
      <td colspan="2" class="firstrow">{$langadmin.activateuseremailt}
      </td>
    </tr>
    <tr>
      <td  class="firstrow">{$langadmin.subject}
      </td>
      <td class="secondrow"><input name="subject" type="text" id="subject" value="{$langadmin.subjectactivation}" size="35">
      </td>
    </tr>
    <tr>
      <td valign="top"  class="firstrow">{$langadmin.message}
      </td>
      <td class="secondrow"><table width="100%"  border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td>
			<textarea name="emailtext" cols="55" rows="10" id="emailtext">{$langadmin.textactivation}</textarea>
            </td>
            <td valign="top">##USERNAME##<BR>
              ##EMAIL##<BR>
              ##HPNAME## <BR>
              ##HOMEPAGE## </td>
            <td valign="top">{$textdelaccount}
            </td>
          </tr>
        </table></td>
    </tr>
    <tr>
      <td nowrap  class="firstrow">{$langadmin.semail}
      </td>
      <td class="secondrow"><input name="smail" type="checkbox" id="smail" value="1" checked>
      </td>
    </tr>
    <tr>
      <td colspan="2" class="header"><div align="center">
          {if $smarty.request.typ == 1}
          <input name="typ" type="hidden" id="typ" value="1">
          {/if}
          {if isset($smarty.request.redir) && isset($smarty.request.smethod) }
          <input name="page" type="hidden" id="page" value="{$page}">
          <input name="redir" type="hidden" id="redir" value="{$smarty.request.redir}">
          <input name="smethod" type="hidden" id="smethod" value="1">
          <input name="ismore" type="hidden" id="ismore" value="1">
          {/if}
          <input name="delyes" type="submit" class="button" id="delyes" value="{$langadmin.send}">
          <input onClick="history.go(-1);" type="button" class="button" value="{$langadmin.back}">
        </div></td>
    </tr>
  </form>
</table>
{include file="../foot.tpl"}