<!--#include file="conn.asp"-->
<!--#include file="denlu.asp"-->
<%
id=request("id")
set rs=server.createobject("adodb.recordset")
rs.open "select * from productsort where id="&id,conn,3
%>
<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>
<link href="back.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.style1 {color: #FF0000}
.style2 {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="style2">（带“</span><font color="#FF0000">*</font><span class="style2">”为必填项）</span> 
    </td>
  </tr>
</table>
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
  <form action="cbxn_modiok.asp" method="post" name="form1" onsubmit="return aa()">
    <TR> 
      <TD HEIGHT="1" COLSPAN="2" BGCOLOR="#2F4D6A"></TD>
    </TR>
    <tr>
      <td width="37%" height="45" align="right">&nbsp;</td>
      <td width="63%" height="45">&nbsp;</td>
    </tr>
    <tr> 
      <td height="35" align="right">类别名称（中文）：</td>
      <td width="63%" height="35"> <input name="SortName" type="text" id="SortName" size="30" maxlength="50" class="text" value="<%=rs("SortName")%>"> 
        <font color="#FF0000">*</font></td>
    </tr>

    <tr>
      <td height="35" align="right">类别名称（英文）：</td>
      <td height="35"><input name="SortName_eng" type="text" id="SortName_eng" size="30" maxlength="100" class="text" value="<%=rs("SortName_eng")%>"></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" value="<%=rs("Orderid")%>"> 
      </td>
    </tr>
    <tr> 
      <td height="45" colspan="2" align="center">
			 <input type="hidden" value="<%=rs("ParentId")%>" name="pid">
			 <input type="hidden" name="id" value="<%=id%>">
             <input name="imageField" type="image" src="images/modi.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>
