<!--#include file="admin_start.asp"-->
<%
rs.open "select * from jins_object_style where object_id =0 ",conn,1,3
if not rs.eof then

	rs("style_table")=request.form("style_table")
	rs("style_link")=request.form("style_link")
	rs("style_hover")=request.form("style_hover")
	rs("style_visited")=request.form("style_visited")
	rs("style_input")=request.form("style_input")
	rs("style_property")=request.form("style_property")

else

	rs.addnew
	rs("object_id")=0
	rs("style_table")=request.form("style_table")
	rs("style_link")=request.form("style_link")
	rs("style_hover")=request.form("style_hover")
	rs("style_visited")=request.form("style_visited")
	rs("style_input")=request.form("style_input")
	rs("style_property")=request.form("style_property")

end if

rs.update
rs.close

MySys.error.info="网站默认样式设置成功！"
MySys.error.location="back"
MySys.error.suc()
%>
<!--#include file="admin_end.asp"-->