<!-- #include file="conn.asp"-->
<!--#include file="inc/md5.asp"-->
<!--#include file="bbsuser.asp"-->
<%
   dim sql
   dim rs
   userid=request.cookies("clubuser_id")
   photo_name=request("photo_name")
   if request("act")="del" then
     sql="delete from ftblog_type where id="&request("id")
	 conn.execute sql
   'elseif request("act")="top" then
	 'sql="update ftblog_type set indate=getdate() where id="&request("id")
   elseif request("act")="qs" then
	 sql="update ftblog_type set sign="&request("sign")&" where id="&request("id")
	 conn.execute sql
	 sql="update ftbbs_upload set sign="&request("sign")&" where photo_name='"&photo_name&"' and clubuser_id="&userid
	 conn.execute sql
   end if
   conn.close
   set conn=nothing
   response.redirect request.serverVariables("HTTP_REFERER")
%>
