<!-- #include file="../inc/checkadmin.asp" -->
<!-- #include file="../inc/conn.asp" -->

<%
if request.QueryString("d")<>"" then

de_id=request.QueryString("d")

set rs=server.createobject("adodb.recordset")
sql="select * from web_shuoshuo where s_id="&de_id&""
rs.open sql,conn,1,3
rs.filter= "s_id ="&de_id&""
rs.delete
rs.update

response.write "<script>alert('恭喜，已成功删除编号为："&de_id&" 的说说！');location.href='../Shuo'</script>"
rs.close
set rs=nothing
end if
%>
<!-- #include file="../inc/close.asp" -->