<!--#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 zs 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="zp_list.asp?w=del">
  <table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr bgcolor="#000066"> 
      <td width="25%" height="14"> <div align="center"><font color="#FFFFFF">作品名称</font></div></td>
      <td width="21%"><div align="center"><font color="#FFFFFF">作品图片</font></div></td>
      <td width="34%"><div align="center"><font color="#FFFFFF">链接地址</font></div></td>
      <td width="11%"><div align="center"><font color="#FFFFFF">编 辑 </font></div></td>
      <td width="9%"><div align="center"><font color="#FFFFFF">删除</font></div></td>
    </tr>
    <% rs.open "zs",conn,1,1 
	while not rs.eof %>
    <tr onmouseover="this.style.backgroundColor='#D7E7FF';return true;" onmouseout="this.style.backgroundColor='#ffffff';"> 
      <td height="19"> 
        <div align="center"><%= rs("title") %></div></td>
      <td><div align="center"><%= rs("img") %></div></td>
      <td><a href="<%= rs("url") %>" target="_blank"><%= rs("url") %></a></td>
      <td><div align="center"><a href="zp_edit.asp?id=<%=rs("id")%>"><img src="../pic/edit.gif" border="0"></a></div></td>
      <td><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>&nbsp;</td>
      <td>&nbsp;</td>
      <td>&nbsp;</td>
      <td colspan="2">
<div align="center">
          <input type="submit" name="Submit" value="-删除-">
        </div></td>
    </tr>
    <tr> 
      <td>&nbsp;</td>
      <td>&nbsp;</td>
      <td>&nbsp;</td>
      <td>&nbsp;</td>
      <td>&nbsp;</td>
    </tr>
  </table>
</form>
<p><font color="#D7E7FF">f </font></p>
</body>
</html>
