<!-- #include file="conn.asp" -->
<!-- #include file="bbsuser.asp" -->
<%
   postuser=request("postuser")
   aaaa=request("postuser")&"|"
   str="delete from sms where bbssystem=2 and sender='"&request.cookies("name")&"' and accepter='"&request("postuser")&"'"
   conn.execute(str)
   sql="select friend from clubuser where clubuser_name='"&request.cookies("name")&"'"
   set rs=server.createobject("adodb.recordset")
   rs.open sql,conn,2,3
   rs("friend")=replace(rs("friend"),aaaa,"")
   rs.update
   rs.close
   conn.close
   response.redirect "myfriend.asp"
%>