<!--#include file="conn.asp" -->
<% adm_power_page=3 '分配本页的用户访问权限 %>
<!--#include file="../inc/mail_inc.asp" -->
<% 
if Trim(Request.QueryString("w"))="del" then

for i= 1 to request.form("del").count
  sql="delete * from host 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="2" topmargin="0">
<p>虚拟主机 修改</p>
<form name="form1" method="post" action="adm_3_edit.asp?w=del">
  <table width="100%" border="0" cellpadding="0" cellspacing="1" bordercolor="#F6F6F6">
    <tr> 
      <td width="6%" height="17" bgcolor="#000066"> <div align="center"><font color="#FFFFFF">No</font></div></td>
      <td width="14%" bgcolor="#000066"> <div align="center"><font color="#FFFFFF">编 
          号</font></div></td>
      <td width="30%" bgcolor="#000066"> <div align="center"><font color="#FFFFFF">名 
          称</font></div></td>
      <td width="6%" bgcolor="#000066"><div align="center"><font color="#FFFFFF">排列</font></div></td>
      <td width="18%" bgcolor="#000066"> <div align="center"><font color="#FFFFFF">直接客户价格</font></div></td>
      <td width="8%" bgcolor="#000066"> <div align="center"><font color="#FFFFFF">推荐</font></div></td>
      <td width="6%" bgcolor="#000066"><div align="center"><font color="#FFFFFF">修改</font></div></td>
      <td width="12%" bgcolor="#000066"> <div align="center"><font color="#FFFFFF">删除</font></div></td>
    </tr>
    <% 
  rs.open "select * from host order by bm desc,id desc",conn,1,1
  while not rs.eof  
  
   %>
    <tr bgcolor="#EEF7FF" onmouseover="this.style.backgroundColor='#FFF0F0';return true;" onmouseout="this.style.backgroundColor='#EEF7FF';"> 
      <td height="20"> <div align="center"><font color="#FF0000"><%= rs("bm") %></font></div></td>
      <td> <div align="center"><%= rs("bh") %></div></td>
      <td><%= rs("title") %></td>
      <td><div align="center"><font color="#FF0000"><%= rs("bm") %></font></div></td>
      <td> <div align="center"><font color="#FF0000"><%= rs("je1") %></font> 元/年</div></td>
      <td> <div align="center"> 
          <% if rs("Recommend") then
		Response.Write("是")
		else
		Response.Write("否")
		end if %>
        </div></td>
      <td> <div align="center"><a href="adm_3_e.asp?id=<%= rs("id") %>">修改</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> 
      <td height="20" colspan="8" bgcolor="#000066"> <div align="right"><font color="#000066"></font><font color="#000066"></font><font color="#000066"></font><font color="#000066"></font> 
          <font color="#000066"></font><font color="#000066"> 
          <input type="submit" name="Submit" value="-删除-">
          </font></div></td>
    </tr>
  </table>
</form>
<p>&nbsp; </p>
</body>
</html>
