'修改发贴用户
'sql="select * from content where id=803"
'openrs(sql)
'rs("poster")="ada"
'rs.update
'rs.close
'修改回复贴用户
'i=0
'sql="select * from content where parent=803"
'openrs(sql)
'for i=1 to rs.recordcount
'response.write "<a target=_blank href='context.asp?id="&rs("id")&"'">"& rs("title") &"</a>" rs("poster") & rs("id")
'rs("poster")="ada"
'rs.update
'rs.movenext
'next
'rs.close

'点击最高贴前20
i=10
j=1
sql="select top 10 * from content order by clicknum desc"
openrs(sql)
for j=1 to i
response.write "<a target=_blank href='context.asp?id="&rs("id")&"'>"& rs("title")&"</a>"
response.write rs("clicknum") &"<br>"
rs.movenext
next
rs.close

'初始化用户密码
'sql="select * from users where username='heady'"
'openrs(sql)
'rs("userpass")="49ba59abbe56e057"
'rs.update
'rs.close

'修正访问统计
'sql="delete * from visitinfo where count=1"
'openrs(sql)
'rs("count")=201
'rs.update
'rs.close

'更改用户组
'sql="select * from users where username='henry'"
'openrs(sql)
'rs("group")="member"
'rs.update
'rs.close

'获取服务器时间
'response.write(now())


