<!--#include file="denlu.asp"-->
<!--#include file="conn.asp"-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel=stylesheet type="text/css" href="js/media.css">
<link rel=stylesheet type="text/css" href="js/form_media.css">
<script language="JavaScript" src="js/whir.js"></script>
<title>无标题文档</title>
<style type="text/css">
<!--
.style2 {color: #FF0000}
.style3 {color: #000000}
-->
</style>
</head>

<script language=javascript>
function aa() {
if (document.form1.SortName.value=="")
	{
	  alert("请输入类别名称！")
	  document.form1.SortName.focus()
	  return false
	 }
if (isNaN(parseInt(document.form1.Orderid.value)))
	{
	  alert("请输入一数字！");
	  document.form1.Orderid.focus();
	  document.form1.Orderid.value="";
	  return false;
	 } 
}
</script>	 
<body leftmargin="0" topmargin="0">
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="35"><font color="#FF0000">当前位置：产品数据库  -> 添加类别</font>　　　　　　　<span class="style3">（带“</span><font color="#FF0000">*</font><span class="style3">”为必填项）</span> </td>
  </tr>
</table>
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
  <form action="addcbxnok.asp" method="post" name="form1" onsubmit="return aa()">
    <TR> 
      <TD HEIGHT="1" COLSPAN="2" BGCOLOR="#2F4D6A"></TD>
    </TR>
    <tr>
      <td colspan="2" align="right">&nbsp;</td>
    </tr>
    <tr> 
      <td width="38%" height="45" align="right">类别名称（中文）：</td>
      <td width="62%" height="45"> <input name="SortName" type="text" id="SortName" size="34" maxlength="50" class="text">
      <span class="style2">*</span></td>
    </tr>
    <%
	  Set Rs=Server.CreateObject("Adodb.RecordSet")
%>
    <tr>
      <td height="35" align="right">类别名称（英文）：</td>
      <td height="35"><input name="SortName_eng" type="text" id="SortName_eng" size="34" maxlength="100" class="text"></td>
    </tr>
    <tr> 
      <td height="35" align="right">所属类别：</td>
      <td width="62%" height="35"> <Select name="Sorts">
	  <option value="0" selected>一级类别</option>
        </Select> <font color="#FF0000">*</font></td>
    </tr>
    <tr> 
      <td height="35" align="right">排序号：</td>
      <td height="35"><input name="Orderid" type="text" id="Orderid" size="5" maxlength="5" class="text"> 
      </td>
    </tr>
    <tr> 
      <td height="45" colspan="2" align="center"><input name="imageField" type="image" src="images/submit.gif" width="72" height="21" border="0">        　          <img src="images/back.jpg" width="72" height="21" onclick="javascript:history.go(-1)"></td>
    </tr>
  </form>
</table>
</body>
</html>
