<% '************************************************** 'this is a test '************************************************** 'mamual add=request("add") if add="OK" then username=request("username") username=replace(username,"'","‘") usercompany=request("usercompany") usercompany=replace(usercompany,"'","‘") userhomepage=request("userhomepage") userhomepage=replace(userhomepage,"'","‘") liuyan=request("liuyan") liuyan=replace(liuyan,"'","‘") tel=request("tel") tel=replace(tel,"'","‘") userIP=request.ServerVariables("REMOTE_Addr") shijian=now if username="" or userhomepage="" then response.write "" set conn=nothing response.end end if nian=year(date) yue=month(date) ri=day(date) shi=hour(time) fen=minute(time) miao=second(time) Randomize sjs=Int((100 * Rnd) + 1) ly_ID=nian&yue&ri&shi&fen&miao&sjs set comm=server.createobject("adodb.command") comm.activeconnection=conn sql="insert into Dt_lyb (xm,lz,zy,nr,ip,sj,tel) values ('"&username&"','"&usercompany&"','"&userhomepage&"','"&liuyan&"','"&userIP& "','"&shijian& "','" &tel& "')" comm.commandtext=sql comm.execute set comm=nothing set conn=nothing response.redirect "thanks.htm" response.end end if '********************************************************************************** '读出现有留言 set rs=server.createobject("adodb.recordset") rs.activeconnection=conn rs.cursortype=3 rs.locktype=1 sql="select * from Dt_lyb order by sj desc" rs.open sql XX_NUM=rs.recordcount '*******************************分页****************************************** if not rs.eof then PageSize=10 PageNUM=XX_num mod PageSize if PageNUM=0 then PageNUM=int(XX_num/PageSize) else PageNUM=int(XX_num/PageSize)+1 end if PageNO=request("PageNO") if PageNO="" or (not isNumeric(PageNO)) then PageNO=1 else if cint(PageNO)<1 or cint(PageNO)>PageNUM then PageNO=1 end if end if if PageNO>1 then LJfirst="首页  上一页" else LJfirst="首页  上一页" end if if cint(PageNO) < PageNUM then LJsecond="下一页  末页" else LJsecond="下一页  末页" end if BOTTEM=""&LJfirst&"  "&LJsecond&"" jiluweizhi=PageSize*(PageNO-1) rs.movefirst rs.move jiluweizhi end if '*******************************分页结束**************************************** %> webscenter.com

 
功能

 

  • 在線報告:創建詳細的基於HTML的報告,可以在世界任何地方瀏覽。
  • 即時統計:可以看到精確到分鐘級的每天的統計。
  • 自動生成報告:省時省力。無須手動生成你自己的流量報告。
  • 每周或每月報告:通過我們自動生成的HTML報告可以每周或著每月比較你的統計資料。
  • 主機服務:並不需要買額外的軟體或硬體。 我們的資料伺服器一天24小時,一周7天的收集統計資料。
  • 用戶調查:能瞭解到有多少獨立的用戶訪問你的站點和他們進行多少對話。
  • 搜索引擎報告:查明哪個搜索引擎給你的站點帶來了訪問量和人們正搜索的關鍵字。
  • 流量過濾:將你自己對頁面的瀏覽從統計中過濾出來。
  • 提交者調查:找出你客戶的來源。
  • 頁面調查:可以看到你的客戶在你的網站上進行了什麽操作。
  • 圖表:工業上最好的閱讀介面,並且直觀,因爲容易讀圖表。

 

 


 

保留所有2004年版权