set rs=server.createobject("adodb.recordset")
sql="select * from news where (id is null)"
rs.open sql,conn,1,3
rs.addnew
rs("title")=title
rs("oStyle")=request.form("oStyle")
rs("oColor")=request.form("oColor")
rs("content")=demo
rs("come")=come
rs("user")=user
rs("bigclassname")=bigclassname
rs("smallclassname")=smallclassname、
rs("ID")=ID
rs("picurl")=request.form("uppic")
rs("top")=request.form("top")
if ok<>"" then rs("ok") = ok
if firstimagename<>"" then rs("firstimagename") = firstimagename
rs("tuijian")=request("tuijian")
if session("userkey")>8 then
rs("ifshow")=1
end if
rs.update
rs.close