<html>
<head>
<title>{title}</title>
<META HTTP-EQUIV="ever" CONTENT="no-cache">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style>
body,td{
	font-size:12px;
}
</style>
</head>
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" >
<script language="javascript">
	function checkform()
	{
		if ((form1.name.value=='') || form1.name.value.length>50){
			form1.name.focus();
			alert("请输入配送地区简称");
			return false;
		}	
	}
	

</script>
<table width="97%" border="0" cellspacing="0" cellpadding="0" align="center">
  <form name="form1" method="post" action="sendwaysave.asp?action={action}" onsubmit="return checkform()">
  <tr> 
    <td width="1%" height="7"><img src="images/lt.gif" width="9" height="9"></td>
    <td width="98%" background="images/top.gif" height="7"><img src="images/spacer.gif" width="1" height="1"></td>
    <td width="1%" height="7"><img src="images/rt.gif" width="9" height="9"></td>
  </tr>
  <tr> 
    <td width="1%" background="images/left.gif" height="50">&nbsp;</td>
    <td width="98%" height="50" valign="top"> 
       <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td height="" valign="top"> 
            <table width="100%" border="0" cellspacing="0" cellpadding="0" >
              <tr> 
                <td bgcolor="#FFFFFF" valign="top" height="50"> 
                    <table width="100%" border="0" cellspacing="0" cellpadding="2" class="allborder" bgcolor="#F7F7F7">
                      <tr> 
                        <td align="right" nowrap>&nbsp;</td>
                        <td>&nbsp;</td>
                      </tr>
                      <tr> 
                        <td align="right" nowrap>方式名称：</td>
                        <td> 
                          <input name="name" type="text" class="inputstyle" size="15" value="{name}" maxlength="50">
                        </td>
                      </tr>
                      <tr> 
                        <td width="18%" align="right" nowrap>是否立即启用：</td>
                        <td width="82%"> 
			  <input type="radio" name="state" value="1"  {state1}>是 
                          <input type="radio" name="state" value="0" {state0}>否 <font color=red>如果选择否,则需要启用后才能在配送方式中显示</font>
                        </td>
                      </tr>
                      <tr> 
                        <td width="18%" align="right" nowrap>&nbsp;</td>
                        <td width="82%"></td>
                      </tr>
                    </table>
                </td>
              </tr>
            </table>
          </td>
        </tr>
      </table>
    </td>
    <td width="1%" background="images/right.gif"></td>
  </tr>
  <tr>
    <td></td>
    <td align=center>
	<input type="hidden" name="id" value="{id}">&nbsp;&nbsp;
	<input type="submit" name="submit" value="{submit}">&nbsp;&nbsp;
	<input type="button" name="aa" value="返回" onclick="window.close()">
    </td>
  </tr>
  </form>
</table>
</body>
</html>