<!--#include file="../main.asp" -->
<!--#include file="../IsLogin.asp" -->
<%
dim m_UserID
m_UserID = Request.Cookies("aspxnet")("CurUserID")

conn.execute("delete From boke_sort Where id="&request("id")&" and user_id="&m_UserID&"")

set rs=Server.CreateObject("Adodb.Recordset")
sql="select * from boke where boke_sortid="&request("id")
rs.open sql,conn,1,1
do while not rs.eof
conn.execute("delete From boke Where boke_id="&rs("boke_id")&"")
rs.movenext
loop
rs.close
set rs=nothing
response.redirect"boke_sort.asp"%>