mystat.aspx

来自「阿江酷站统计系统ASP.Net版,可以直接使用。和现有的网站合并就可以了。提供详」· ASPX 代码 · 共 17 行

ASPX
17
字号
<%@ page language="c#" runat="server" %>
<script language="c#" runat="server">
public string strStyle;
public string strtheurl;
public void Page_Load(Object src,EventArgs e)
{
	NameValueCollection ServerVariables = Request.ServerVariables;
	strStyle=Request.QueryString["style"];
	strtheurl=ServerVariables["URL"].ToString();
	strtheurl=strtheurl.Substring(0,strtheurl.IndexOf("mystat.aspx",0,strtheurl.Length));
	strtheurl="http://"+ServerVariables["HTTP_HOST"].ToString()+strtheurl;
	
}
</script>
document.write("<script>var style='<%=strStyle%>';var url='<%=strtheurl%>';</script>")
_dwrite("<script language=javascript src="+url+"stat.aspx?style="+style+"&referer="+escape(document.referrer)+"&screenwidth="+(screen.width)+"></script>");
function _dwrite(string) {document.write(string);}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?