答案:<%'************************刷新,中*******************************%>
if trim(request.form("who")) <> "所有人" then
if isnumeric(request.form("time1")) then
sc_who = session("ss_name")
sc_who1 = trim(request.form("who"))
sc_time = cstr(now)
sc_time1 = cstr(dateadd("n",cint(request.form("time1")),now))
sc_ss = "3"
sc_long = trim(cstr(request.form("time1")))
application.lock
sc_userout = application("ap_userout")
sc_point = application("ap_point")
sc_message = application("ap_message")
for i = 1 to 30
if trim(sc_userout(i,1)) = "" then
sc_userout(i,1) = sc_who
sc_userout(i,2) = sc_who1
sc_userout(i,3) = sc_ss
sc_userout(i,4) = sc_time
sc_userout(i,5) = sc_time1
sc_userout(i,6) = sc_long
if sc_point > 50 then
sc_point = 1
end if
sc_message(sc_point,1) = sc_who
sc_message(sc_point,2) = "所有人"
sc_message(sc_point,3) = "<strong>" + sc_who + "</strong> 封闭了 <strong>" + sc_who1 + "</strong> 的刷新功能!"
sc_message(sc_point,4) = ""
sc_message(sc_point,5) = "3"
sc_message(sc_point,6) = "<font color='#FF0000'>"
sc_ttt = now
if hour(sc_ttt) < 10 then
上一个:Java Mail API及其应用 —— 一个邮件列表服务器的实现 (二)(转贴)
下一个:我自己写的聊天室源代码(十_3)