?? mystat.asp
字號:
<%
style=Request.QueryString("style")
theurl="http://" & Request.ServerVariables("http_host") & finddir(Request.ServerVariables("url"))
'通過 下面兩個參數取出 ID ,本主機的用戶一定有 Session 存在,其他網站調用必須用 ?userid=400 參數
uuid = Request.QueryString("userid")
suid = Session.Contents("uid")
If Len(uuid) < 1 Then
If Len(suid) < 1 Then
userid = 1
Else
userid = clng(suid)
end if
Else
usirid = clng(uuid)
End if
%>
document.write("<script>var style='<%=style%>';var url='<%=theurl%>';var uid='<%=userid%>';</script>")
_dwrite("<script language=javascript src="+url+"/stat.asp?style="+style+"&referer="+escape(document.referrer)+"&screenwidth="+(screen.width)+"&userid="+(uid)+"></script>");
function _dwrite(string) {document.write(string);}
<%
Function finddir(filepath)
finddir=""
for i=1 to len(filepath)
if left(right(filepath,i),1)="/" or left(right(filepath,i),1)="\" then
abc=i
exit for
end if
next
if abc <> 1 then
finddir=left(filepath,len(filepath)-abc+1)
end if
end Function
%>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -