<!-- #include file="../inc/conn.asp" -->
<%
id=request("id")
postuser=request("postuser")
aaaa=request("accepter")&"|"
if request.cookies("bbsuser")="" then
   response.redirect "rebbslogin.asp"
else
   sql="select friend from clubuser where clubuser_name='"&request("postuser")&"'"
   set rs=server.createobject("adodb.recordset")
   rs.open sql,conn,2,3
   rs("friend")=replace(rs("friend"),aaaa,"")
   rs.update
   rs.close
   str="delete from sms where id="&id
   conn.execute(str)
   conn.close
   response.redirect request.serverVariables("HTTP_REFERER")
end if
%>