<!-- #include file="../admin/check_master.asp" -->
<!-- #include file="../inc/conn.asp"-->
<%
   dim sql
   dim rs
   bbsmanager=request("bbsmanager")
   if request("m")=2 then
   sql="delete from clubuser where clubuser_id="&request("id")
   elseif request("m")=3 then
      if bbsmanager=1 then
         sql="update clubuser set bbsmanager="&bbsmanager&",bbsadmin="&bbsmanager&" where clubuser_id="&request("id")
      else
	     sql="update clubuser set bbsadmin="&bbsmanager&" where clubuser_id="&request("id")
	  end if
   else
   sql="update clubuser set bbsmanager="&bbsmanager&" where clubuser_id="&request("id")
   end if
   conn.execute sql
   conn.close
   set conn=nothing
   response.redirect request.serverVariables("HTTP_REFERER")
%>
