%@ LANGUAGE=VBScript.Encode codepage ="936" %> <%if Application("wsaxhxf_c_chatroomname")="" then Response.Redirect "error.asp?id=000" if Session("hxf_u_counted")<>"1" then Set conn=Server.CreateObject("ADODB.CONNECTION") Set rs=Server.CreateObject("ADODB.RecordSet") connstr=Application("wsaxhg_connstr") conn.open connstr sql="SELECT value FROM system WHERE name='visitor'" rs.open sql,conn,1,3 rs("value")=rs("value")+1 Application.Lock Application("wsaxhxf_c_visitor")=rs("value") Application.UnLock rs.update rs.close conn.close Set rs=nothing Set conn=nothing Session("hxf_u_counted")="1" end if visitor=Application("wsaxhxf_c_visitor") chatroomname=Application("wsaxhxf_c_chatroomname") user=Application("wsaxhxf_c_user") sn=Application("wsaxhxf_c_sn") copyright=Application("wsaxhxf_c_copyright") chatroombgimage=Application("wsaxhxf_c_chatroombgimage") homepageurl=Application("wsaxhxf_c_homepageurl") opendate=Application("wsaxhxf_c_opendate") chatroombgcolor=Application("wsaxhxf_c_chatroombgcolor") logo=Application("wsaxhxf_c_logo") ver=Application("wsaxhxf_c_ver") useronlinename=Application("wsaxhxf_c_useronlinename") onliners=Application("wsaxhxf_c_chatrs") online=Split(Trim(useronlinename)," ",-1) x=UBound(online)%>
|