首页 美女贴图 网络日记 重庆租房 搜索指南 网络电视 飘网音乐 飘网博客 精彩网址 友情链接 飘网地图 本站留言
飘网中国
专题:网络营销 | 网站设计 | QQ技巧 | 搜索优化 | 菜鸟进阶 | 病毒攻防 | 网络技术 | 系统应用 | 本站作品 | 常用软件 | 工具软件 |
飘网中国>>网站设计>>正文

ASP编写自己的网站统计程序

编辑:flymorn 来源:飘网中国 更新:2006-4-19 点击:
【字体:

摘要:自己的网站一直在使用别人提供的免费统计,如51YES,ITSUN,1TONG,51.LA,ADMIN88,50BANG等等,其中有很不错的统计系统,但免费归免费,这些服务器由于承受的负载都很大,偶尔还是会挂机的,一挂一般都是半天以上;况且有一些统计系统是不准确的.
关键字:ASP 统计 
正文:
>
<%
Dim filename
filename="page.asp?a=4&"
%>
<table width="680" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#DADCE4">
  <tr>
    <td><form method="post" action="<%=filename%>">
      <div align="center">总共<strong><%=Rs.recordcount%></strong>项 <%=page%>/<%=Rs.pagecount%>页 每页<%= listnum %>项 
          <a href="<%=filename%>page=1">首页</a> 
          <% if page<>1 then %>
          <a href="<%=filename%>page=<%=page-1%>">上一页</a> 
          <%end if%>
          <% if Rs.pagecount-page <> 0 then %>
          <a href="<%=filename%>page=<%=page+1%>">下一页</a> 
          <%End If%>
   <a href="<%=filename%>page=<%=Rs.pagecount%>">尾页</a> 
          <input type="text" name="page" size="3" maxlength="5" value="<%=page+1%>" />
          <input type="submit" value="Go" name="cndok" />
      </div>
    </form></td>
  </tr>
</table>

</td></tr>
    </table>

</td>
  </tr>
</table><!--Powered by flymorn,www.cn-pn.com-->
<br>
<!--#include file="foot.asp"--> 
<!-- Powered by flymorn,www.cn-pn.com-->
</body>
</html>
<%
rs.close
set rs=nothing
call closedb
%>

-----------------------------------------------------------------
来路统计(外部站点)统计文件:source.asp
其代码如下:
<!--飘易网站统计程序 V1.5 Powered by flymorn,www.cn-pn.com-->
<!--#include file="inc/conn.asp" -->
<!--#include file="inc/function.asp" -->
<!--#include file="inc/sqlfilter.asp"-->
<%
listnum=30 每页显示数
%>
<html>
<head>
<title>页面来路分析 - 飘易网站统计程序 V1.5</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<LINK href="css.css" type=text/css rel=stylesheet>
</head>

<body>
<!--#include file="head.asp"--> 
<!--飘易网站统计程序 V1.5 Powered by flymorn,www.cn-pn.com-->
<div align="center"></div>
<table width="760" border="0" align="center" cellpadding="0" cellspacing="0" class="biao_bdr">
  <tr>
    <td><div align="center" style="font-weight: bold"><br>
        <span style="font-size: 18px">来路统计分析</span><br>
        (帮助站
[1][2][3][4][5][6][7][8][9][10]
上一篇:17种正则表达式
下一篇:ASP编程中20个非常有用的例子
最新文章 更多
推荐文章 更多
热门文章 更多
© 2005-2010 飘网中国 版权所有
站长邮箱:①LCC-749AT163.com ②FlymornATgmail.com(AT改为@)
如转载时,请注明出处;本站部分资源来自网络,如有侵权,请来信说明;飘易文章系统 HTML版.
渝ICP备05000119号