<!-- #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 />
  &nbsp;&nbsp;<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>