<!--#include file="conn.asp" -->
<% adm_power_page=3 '分配本页的用户访问权限 %>
<!--#include file="admin_dn.asp" -->

<% 

  if Trim(Request.QueryString("w"))="del" then
  for i= 1 to request.form("del").count
  sql="delete * from other where id="&request.form("del")(i)
  conn.execute(sql)
  next
  end if

 %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>:::管理页面:::</title>
<link href="css.css" rel="stylesheet" type="text/css">
</head>

<body leftmargin="4" topmargin="4">
<p>其它产品管理</p>
<form name="form1" method="post" action="adm_other_list.asp?w=del">
  <table width="95%" border="0" align="center" cellpadding="0" cellspacing="1">
    <tr bgcolor="#000066"> 
      <td width="9%" height="18"> 
        <div align="center"><font color="#FFFFFF">id</font></div></td>
      <td width="18%" bgcolor="#000066"> <div align="center"><font color="#FFFFFF">产品编号</font></div></td>
      <td width="37%"><div align="center"><font color="#FFFFFF">产品名称</font></div></td>
      <td width="12%" bgcolor="#000066"> <div align="center"><font color="#FFFFFF">&nbsp;参考金额</font></div></td>
      <td width="10%" bgcolor="#000066"><div align="center"><font color="#FFFFFF">编辑</font></div></td>
      <td width="14%"><div align="center"><font color="#FFFFFF">&nbsp;删除</font></div></td>
    </tr>
    <% rs.open "other",conn,1,1
	while not rs.eof  %>
    <tr bgcolor="#EEEEEE"> 
      <td><div align="center"><%= rs("id") %></div></td>
      <td><div align="center"><%= rs("bh") %></div></td>
      <td><div align="center"><%= rs("title") %></div></td>
      <td bgcolor="#EEEEEE"><div align="center"><font color="#FF0000"><%= rs("cje") %></font></div></td>
      <td bgcolor="#EEEEEE"><div align="center"> <a href="adm_other_edit.asp?id=<%=rs("id")%>"><img src="images/folder.gif" width="16" height="16" border="0"></a></div></td>
      <td bgcolor="#EEEEEE"> <div align="center"> 
          <input name="del" type="checkbox" class="unnamed1" id="del" value="<%=rs("id")%>">
        </div></td>
    </tr>
    <% 
	rs.movenext
	wend
	rs.close %>
    <tr bgcolor="#000066"> 
      <td height="22">&nbsp;</td>
      <td>&nbsp;</td>
      <td>&nbsp;</td>
      <td colspan="3"><div align="center">
          <input type="submit" name="Submit" value="-删除-">
        </div></td>
    </tr>
    <tr> 
      <td>&nbsp;</td>
      <td>&nbsp;</td>
      <td>&nbsp;</td>
      <td colspan="2">&nbsp;</td>
      <td>&nbsp;</td>
    </tr>
  </table>
</form>
<p>&nbsp; </p>
</body>
</html>
