{include file="../head.tpl"}
{literal}
<script language="javascript">
	<!--
	function checkf(){
		if(document.f.area_name.value.length < "1" )
		{
			alert("{/literal}{$langadmin.jserror_secname}{literal}");
			document.f.area_name.focus();
			return false;
		}
	}
	//-->
	</script>
{/literal}


<form name="f" method="post" action="sections.php?action=new" onSubmit="return checkf();" >
  <table width="100%"  border="0" cellpadding="4" cellspacing="1" class="tableborder">
    <tr>
      <td colspan="3" class="header"><b>
        {$langadmin.buttaddsection}
        </b></td>
    </tr>
    <tr>
      <td class="firstrow">{$langadmin.sectionname}
      </td>
      <td class="secondrow"><input name="area_name" type="text" id="area_name" value="" size="35">
      </td>
      <td width="25%" class="secondrow"><div align="center"><a  href="javascript:;" onMouseOver="MM_swapImage('h1','','templates/{$theme}/image/help2.gif',0)" onMouseOut="MM_swapImgRestore()" info='{$langadmin.help_templatename}'><img  src="templates/{$theme}/image/help.gif" alt="" name="h1" hspace="8" border="0"  id="h1"></a></div></td>
    </tr>
    <tr>
      <td class="firstrow">{$langadmin.sectiontemplate}
      </td>
      <td class="secondrow"><select name="area_template" id="area_template">
          {$sel}
        </select>
      </td>
      <td class="secondrow"><div align="center"><a  href="javascript:;" onMouseOver="MM_swapImage('h_2','','templates/{$theme}/image/help2.gif',0)" onMouseOut="MM_swapImgRestore()" info='{$langadmin.help_template}'><img  src="templates/{$theme}/image/help.gif" alt="" name="h_2" hspace="8" border="0"  id="h_2"></a></div></td>
    </tr>
    <tr>
      <td class="firstrow">{$langadmin.active}</td>
      <td class="secondrow"><input name="active" type="radio" value="1" checked>
        {$langadmin.yes}
        <input name="active" type="radio" value="0">
        {$langadmin.no}</td>
      <td valign="top" class="secondrow">&nbsp;</td>
    </tr>
    <tr>
      <td class="firstrow">{$langadmin.passifsectionactive}</td>
      <td class="secondrow"><input name="pass" type="text" value="" id="pass" size="8">
	  </td>
      <td valign="top" class="secondrow">&nbsp;</td>
    </tr>
    <tr>
      <td valign="top" class="firstrow">{$langadmin.sectiondescr}
      </td>
      <td class="secondrow"><textarea  name="area_descr" cols="50" rows="4" id="area_descr"></textarea>
      </td>
      <td valign="top" class="secondrow"><div align="center"><a  href="javascript:;" onMouseOver="MM_swapImage('h3','','templates/{$theme}/image/help2.gif',0)" onMouseOut="MM_swapImgRestore()" info='{$langadmin.help_templatedescr}'><img  src="templates/{$theme}/image/help.gif" alt="" name="h3" hspace="8" border="0"  id="h2"></a></div></td>
    </tr>
    <tr>
      <td valign="top" class="firstrow">{$langadmin.templateifactive}</td>
      <td class="secondrow"><textarea name="tmpl" cols="50" rows="5" id="tmpl"></textarea></td>
      <td class="secondrow">&nbsp;</td>
    </tr>
    <tr>
      <td class="firstrow">&nbsp;</td>
      <td class="secondrow"><input name="save" type="submit" class="button" id="save" value="{$langadmin.buttaddsection}">
        <input name="send" type="hidden" id="send" value="1">
      </td>
      <td class="secondrow"><div align="center"></div></td>
    </tr>
  </table>
</form>
{include file="../foot.tpl"}
