<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<% data_path="../../" 'ACC连接数据库路径，对SQL无效 %>
<!--#include file="../../conn/conn.asp"-->
<!--#include file="../../inc/safe.asp"-->
  <!--#include file="../checkrole.asp"-->
 <%
     call checkuser("ly")

   Response.Buffer = true
  Response.ExpiresAbsolute=now()-1
  Response.Expires=0
  Response.CacheControl="no-cache"
 
if Not ChkPost then 
		response.write "<script language='javascript'>"
		response.write"parent.location.href='"&HOPE_InstallDir&"login/login1.asp';</SCRIPT>"
		response.end
end if

  id=Replace_Text(request("id"))
  dim rs,sql
 sql="delete from [Websen_getprice] where id="&id&""
 conn.execute(sql)
if err.Number<>0 then
err.clear
response.write "删 除 失 败 !<br>"
else
Response.Redirect ("receivemessagelist.asp")
end if
  conn.close
set conn=nothing
%>
