stat.asp
来自「生成html的ASP企业站点,可以进行二次开发的」· ASP 代码 · 共 22 行
ASP
22 行
<%
TheUrl="http://" & Request.ServerVariables("http_host") & FindDir(Request.ServerVariables("url"))
%>
var url='<%=TheUrl%>';
document.write("<a href='"+url+"Infolist.asp' target='_blank' >");
document.write("<img src='"+url+"Count.asp?Referer="+escape(top.document.referrer)+"&webURL="+escape(top.document.URL)+"&Width="+escape(screen.width)+"&Height="+escape(screen.height)+"' border=0 width=50 height=12>");
document.write("</a>");
<%
Function FindDir(FilePath)
dim i,abc
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 + =
减小字号Ctrl + -
显示快捷键?