%Response.Buffer=true response.expires=0 function cn(n,min,max,d) if IsNumeric(n) then if n-min>=0 and n-max<=0 then cn=n else cn=d end if else cn=d end if end function myid=Session("myid") myname=Session("myname") if myid="" or myname="" then response.end application.lock call get_guests if myname<>guests(myid,0) or Session("mytemp")<>guests(myid,1) then response.end my_level=guests(myid,4) set rsparam=conn.execute("select * from param") if guests(myid,4)=rsparam("superlevel") then myname="聊天室管理员" if my_level-rsparam("lvote")<0 then call echoerr("你无权产生投票事件!","tpxt.asp") response.end end if sub prhead(ttl)%>
[后退] | ||