?? getcode.asp
字號:
<!-- #INCLUDE FILE = "conn.asp" -->
<!-- #INCLUDE FILE = "date.asp" -->
<!-- #INCLUDE FILE = "session.asp" -->
<%
dim serverName,serverPort,serverSCRIPT_NAME,virpath,portStr
serverName=Request.ServerVariables("SERVER_NAME")
serverPort=Request.ServerVariables("SERVER_PORT")
if(serverPort="80") then
portStr=""
else
portStr=":"&serverPort
end if
serverSCRIPT_NAME=Request.ServerVariables("SCRIPT_NAME")
virpath=left(serverSCRIPT_NAME,instrrev(serverSCRIPT_NAME,"/"))
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>獲取統計代碼</title>
<link href="style/css.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
.style1 {
color: #FFFFFF;
font-weight: bold;
}
.style2 {
color: #cc3300;
font-weight: bold;
}
.style3 {
color: #006699;
font-weight: bold;
}
.style4 {
color: #000000;
font-weight: bold;
}
-->
</style>
</head>
<body>
<p><br />
<span class="style3">獲取統計代碼:</span><span class="style2"><%=totalnum%></span></p>
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#000000">
<tr>
<td height="20" bgcolor="#006699"><div align="center" class="style1">獲取統計代碼</div></td>
</tr>
<tr>
<td bgcolor="#FFFFFF"><form id="form1" name="form1" method="post" action="">
<div align="center">
<p>
<textarea name="textarea" cols="80" rows="5">http://<%=serverName&portStr%><%=virpath%>stat.js</textarea></p>
<table width="50%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><br />
注:將上面代碼復制到您要統計的頁面中即可.</td>
</tr>
</table>
</div>
</form>
</td>
</tr>
</table>
<br />
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -