<!--#INCLUDE FILE="../HXINCLUDE/HXINCLUDEHEAD.ASP"--><%WS_M.HX_BargainType%>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>类别管理</title>
<link rel=stylesheet type=text/css href="../HXinclude/HX_Style.css">
<script src="../HXinclude/HX_Function.js"></script>
</head>
<body topmargin="20" leftmargin="0" bottommargin="0">
<table width="596"  border="0" cellspacing="1" cellpadding="0" align=center bgcolor="#613c25">
  <tr>
    <td colspan="2" bgcolor=FFFBE8><table width="100%"  border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td height="25" background="../hximages/titleline.gif"><font class="fontmenu">类别管理</font></td>
  </tr>
</table>
<table width="100%"  border="0" cellspacing="1" cellpadding="3" bgcolor="#FFFBE8">
  <form name="form1" method="post" action="?action=addsaveinfo">
    <tr bgcolor="#BF9B73" class="td4">
      <td width="46%"><div align="center">类别名称</div></td>
      <td><div align="center">排 序</div></td>
      <td><div align="center">操 作</div></td>
    </tr>
    <tr bgcolor="#FFFBE8">
    <td align="center"><input type="text" name="WS_bargaintypename" size="35" value="<%=WS_bargaintypename%>"></td>
    <td width="33%" align="center"><input type="text" name="WS_OrderBy" size="10" value="<%=rs.recordcount+1%>" onKeyPress="event.returnValue=IsDigit();" style="ime-mode:disabled"></td>
    <td width="21%" align="center"><input type="submit" name="Submit" value=" 添 加 "></td>
  </tr>
</form>
</table>
<br>
<table width="100%"  border="0" cellspacing="1" cellpadding="3" bgcolor="#FFFBE8">
    <tr bgcolor="#BF9B73" class="td4">
      <td width="8%"><div align="center">序　号</div></td>
      <td width="43%"><div align="center">类别名称</div></td>
      <td><div align="center">排 序</div></td>
      <td><div align="center">操 作</div></td>
    </tr>
	<%if rs.recordcount<=0 then
	 response.write "<tr><td height=30 align=center colspan=4 bgcolor=FFFBE8>暂 无 数 据</td></tr>"
	else
	do while not rs.EOF
	%>
    <form name="form1" method="post" action="?action=editsaveinfo&WS_Tid=<%=rs("WS_Tid")%>"> <tr bgcolor="#FFFBE8">
    <td align="center"><%=rs("WS_Tid")%></td>
    <td align="center"><input type="text" name="WS_bargaintypename" size="35" value="<%=rs("WS_bargaintypename")%>"></td>
    <td width="25%" align="center"><input type="text" name="WS_OrderBy" size="10" value="<%=rs("WS_OrderBy")%>" onKeyPress="event.returnValue=IsDigit();" style="ime-mode:disabled"></td>
    <td width="24%" align="center"><input type="submit" name="Submit" value=" 修改 ">&nbsp;<input type="button" name="Submit" value=" 删除 " onclick="location.href='bargaintype.asp?action=del&WS_Tid=<%=rs("WS_Tid")%>';"></td>
  </tr></form>
  <%
  i=i+1
	  if i>=rs.PageSize then Exit Do
	  rs.movenext
      loop
  end if
  call WS_S.HX_RSClose(RS) 
  %>
</table></td></tr></table>

