<!--#include file="../inc/conn.asp"-->
<%
ope=request("ope")

if ope="add" then'ΜνΌΣ
	kind=request.form("kind")
	content=request.form("content")

	sql="insert into bbs_arrest(kind,content,indbdate) values('"&kind&"','"&content&"','"&now()&"')"

elseif ope="mod" then'ΠήΈΔ
	id=request("id")
	kind=request.form("kind")
	content=request.form("content")
	sql="update bbs_arrest set kind='"&kind&"',content='"&content&"' where id="&id

elseif ope="del" then'ΙΎ³ύ
	id=request("id")
	sql="delete from bbs_arrest where id="&id
end if
'response.write sql
conn.execute(sql)

conn.close
set conn=nothing
response.redirect "bbs_arrest.asp"
%>
