<!--#include file="conn.asp" -->
<% adm_power_page=4 '分配本页的用户访问权限 %>
<!--#include file="admin_dn.asp" -->
<!--#include file="../inc/config.asp" -->
<!--#include file="../inc/mail_inc.asp" -->
<% 
if Trim(Request.QueryString("w"))="del" then
 for i= 1 to request.form("del").count
 sql="delete  from shop where bh="&request("del")(i)
 conn.execute(sql)
 sql="delete  from paget_shop where bh="&request("del")(i)
 conn.execute(sql)
 sql="delete  from dns_shop where bh="&request("del")(i)
 conn.execute(sql)
 sql="delete  from mail_shop where bh="&request("del")(i)
 conn.execute(sql)
 sql="delete  from host_shop where bh="&request("del")(i)
 conn.execute(sql)
 sql="delete  from other_shop where bh="&request("del")(i)
 conn.execute(sql)
   next

%>
<script language="JavaScript" type="text/JavaScript">
alert("删除成功!");
</script>

<%
end if


if Trim(Request.QueryString("w"))="save" then
sql="update shop set sx=true where id="&request("id")&" and  jf=true"
conn.execute(sql)
   if jmail_info then
     call SendMail(Trim(Request.QueryString("sendmail")),"你在"&home_page_name&"的订单以经确认","你好：<br>你所提交的订单以经确认请登录到我们网站进行管理<br>"&home_page_url)
   end if
 %>
<script language="JavaScript" type="text/JavaScript">
alert("确认成功");
</script>
<%
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_6.asp?w=del">
  <table width="99%" border="0" align="center" cellpadding="0" cellspacing="1">
    <tr bgcolor="#000066"> 
      <td width="10%"> <div align="center"><font color="#FFFFFF">订单号</font></div></td>
      <td width="17%"> <div align="center"><font color="#FFFFFF">所属用户</font></div></td>
      <td width="26%"> <div align="center"><font color="#FFFFFF">产品名称</font></div></td>
      <td width="14%"> <div align="center"><font color="#FFFFFF">支付金额</font></div></td>
      <td width="8%"> <div align="center"><font color="#FFFFFF">数量</font></div></td>
      <td width="10%"> <div align="center"><font color="#FFFFFF">确认</font></div></td>
      <td width="7%"> <div align="center"><font color="#FFFFFF">答复</font></div></td>
      <td width="8%">删<font color="#FFFFFF">删除</font></td>
    </tr>
    <% 
 rs.open "select * from shop where jf and not sx order by id",conn,1,1
 while not rs.eof 
  %>
    <tr bgcolor="#EEF7FF" onmouseover="this.style.backgroundColor='#FFF0F0';return true;" onmouseout="this.style.backgroundColor='#EEF7FF';"> 
      <td> <div align="center"><font color="#FF0000"><a href="adm_7_<%=rs("ll")%>.asp?bh=<%=rs("bh")%>"><%= rs("bh") %></a></font></div></td>
      <td> <div align="center"><a href="adm_10.asp?w=search&select=userid&search=<%=rs("userid")%>"><%= rs("userid") %></a></div></td>
      <td> <div align="center"><%= rs("mc") %></div></td>
      <td> <div align="center"><font color="#FF0000"><%= rs("je") %></font></div></td>
      <td> <div align="center"><font color="#FF0000"><%= rs("sl") %></font></div></td>
      <td> <div align="center"><a href="adm_6.asp?w=save&id=<%=rs("id")%>&sendmail=<%=rs("email")%>">确认</a></div></td>
      <td valign="middle"> <div align="center"><a href="adm_msg.asp?id=<%= rs("bh") %>&title=<%= rs("mc") %>&ll=<%=rs("ll")%>"><img src="images/folder.gif" width="16" height="16" border="0"></a></div></td>
      <td valign="middle"><div align="center"> 
          <input name="del" type="checkbox" class="unnamed1" id="del" value="<%=rs("bh")%>">
        </div></td>
    </tr>
    <% rs.movenext 
  wend
  rs.close %>
    <tr> 
      <td height="16" colspan="8" bgcolor="#000066">
<div align="right">
          <input name="d" type="submit" id="d" value="-删除-">
        </div></td>
    </tr>
  </table>
</form>
<p>&nbsp;</p>
<hr width="95%" size="1">
<p> <font color="#FF0000">注：</font>这里所列出的产品为，用户已经进行交费确认的产品。点“<font color="#FF0000">订单号</font>”，可以查询到用户提交产品的详细情况，如果些产品以经开通请点确认开通。。</p>
</body>
</html>
