<!--#include file="../conn.asp"-->
<!-- #include file="../admin/check_master.asp" -->
<!--#include file="../admin/check_admin_qs.asp" -->
<!--#include file="../admin/dhfun.asp" -->
<%
   dim sql 
   dim rs
   f=request("mode")
   kind=request("kind")
   if kind=1 then
   sql="update bbstitle set sign="&f&" where id="&request("id")
   elseif kind=2 then
   sql="update bbstitle set huati="&f&" where id="&request("id")
   elseif kind=3 then
   sql="update bbstitle set showinhomepage="&f&" where id="&request("id")
   elseif kind=4 then
   sql="update bbstitle set boardsign="&f&" where id="&request("id")
   end if
   conn.execute(sql)

 return_url=request.serverVariables("HTTP_REFERER")
 bbsad
 default_listbbsad
 conn.close
 set conn=nothing
 response.redirect return_url
%>
