Rereg.asp
资源名称:1.rar [点击查看]
上传用户:yrf020
上传日期:2007-07-24
资源大小:1287k
文件大小:6k
源码类别:

WEB源码(ASP,PHP,...)

开发平台:

HTML/CSS

  1. <!-- #include file="ConnStatData.asp" -->
  2. <!-- #Include File="../admin/CheckAdmin.asp"-->
  3. <%
  4. Sql="Select * from InfoList"
  5. Rs.Open Sql,Conn,1,3
  6. WebName=Rs("Name")
  7. WebUrl=Rs("Url")
  8. Rs.Close
  9. Conn.Close
  10. Set Rs=Nothing
  11. Set Conn=Nothing
  12. %>
  13. <script>
  14. function delall()
  15. {
  16.   if(confirm("真的将所有统计数据全部清零吗?")){return true}
  17.   else {return false}
  18. }
  19. </script>
  20. <HTML>
  21. <HEAD>
  22. <TITLE>网站统计分析系统</TITLE>
  23. <META content="text/html; charset=utf-8" http-equiv=Content-Type>
  24. <link rel="stylesheet" href="images/style.css">
  25. </HEAD>
  26. <%
  27. Dim SERVER_NAME
  28. SERVER_NAME=trim(Request.ServerVariables("SERVER_NAME"))
  29. if  (SERVER_NAME= ""&chr(119)&chr(119)&chr(119)&chr(46)&chr(104)&chr(111)&chr(107)&chr(105)&chr(108)&chr(108)&chr(121)&chr(46)&chr(99)&chr(111)&chr(109)&"")or(SERVER_NAME=  ""&chr(104)&chr(111)&chr(107)&chr(105)&chr(108)&chr(121)&chr(46)&chr(99)&chr(111)&chr(109)&"")or(SERVER_NAME=  ""&chr(108)&chr(111)&chr(99)&chr(97)&chr(108)&chr(104)&chr(111)&chr(115)&chr(116)&"")or(SERVER_NAME=  ""&chr(49)&chr(50)&chr(55)&chr(46)&chr(48)&chr(46)&chr(48)&chr(46)&chr(49)&"") then
  30. if Instr(session("AdminPurview"),"|118,")=0 then 
  31.   response.write ("<font color='red')>你不具有该管理模块的操作权限,请返回!</font>")
  32.   response.end
  33. end if
  34. '========判断是否具有管理权限
  35. %>
  36. <BODY>
  37. <div align="center">
  38.   <table width="720" border="0" cellpadding="3" cellspacing="1" bgcolor="#6ab6b6">
  39.     <tr>
  40.       <td height="24" colspan="8"><font color="#FFFFFF"><strong>网站流量统计:包括年,月,日,IP,浏览器类型等非常详细的分析报表</strong></font></td>
  41.     </tr>
  42.     <tr bgcolor="#eafefe">
  43.       <td align="center"><a href="Infolist.asp">统计概况</a></td>
  44.       <td align="center"><a href="FVisitor.asp">最近访问</a></td>
  45.       <td align="center"><a href="StatYear.asp">年 报 表</a></td>
  46.       <td align="center"><a href="StatMonth.asp">月 报 表</a></td>
  47.       <td align="center"><a href="StatWeek.asp">周 报 表</a></td>
  48.       <td align="center"><a href="StatDay.asp">日 报 表</a></td>
  49.       <td align="center"><a href="History.asp">历史报表</a></td>
  50.       <td align="center"><a href="Rereg.asp">修改信息</a></td>
  51.     </tr>
  52.     <tr bgcolor="#eafefe">
  53.       <td align="center"><a href="FArea.asp">地区分析</a></td>
  54.       <td align="center"><a href="FAddress.asp">地址分析</a></td>
  55.       <td align="center"><a href="FIptwo.asp">IP 地 址</a></td>
  56.       <td align="center"><a href="Fweburl.asp">链接页面</a></td>
  57.       <td align="center"><a href="FCounter.asp">访问次数</a></td>
  58.       <td align="center"><a href="FSystem.asp">操作系统</a></td>
  59.       <td align="center"><a href="FBrowser.asp">浏 览 器</a></td>
  60.       <td align="center"><a href="FScreen.asp">屏幕大小</a></td>
  61.     </tr>
  62.   </table>
  63.   <br>
  64.   <table width="720" border=0 cellpadding=3 cellspacing=1 bgcolor="#6ab6b6">
  65.     <tbody>
  66.       <tr>
  67.         <td align=left><font color="#FFFFFF"><strong>网站信息</strong></font></td>
  68.       </tr>
  69.       <tr bgcolor="#FFFFFF">
  70.         <td height="186" align=left bgcolor="#eafefe"><form method="post" action="Modify.asp" name="frmmodi">
  71.             <table width="68%" border="0" cellspacing="0" cellpadding="0" align="center">
  72.               <tr>
  73.                 <td width="16%" height="27">&nbsp;</td>
  74.                 <td width="55%" height="27">&nbsp;</td>
  75.                 <td width="29%" height="27">&nbsp;</td>
  76.               </tr>
  77.               <tr>
  78.                 <td width="16%" height="27">网站名称:</td>
  79.                 <td width="55%" height="27"><input name="WebName" type="text" class="textfield" value=<%=WebName%> maxlength="30" style="WIDTH: 240;" ></td>
  80.                 <td width="29%" height="27">*&nbsp;统计网站的名称 </td>
  81.               </tr>
  82.               <tr>
  83.                 <td width="16%" height="18">网站网址:</td>
  84.                 <td width="55%"><input name="WebUrl" type="text" class="textfield" value=<%=WebUrl%>  maxlength="30"  style="WIDTH: 240;">                </td>
  85.                 <td width="29%">*&nbsp;统计网站的网址 </td>
  86.               </tr>
  87.               <tr>
  88.                 <td width="16%">确 认 码:</td>
  89.                 <td width="55%"><input name="PassWord" type="text" class="textfield" style="WIDTH: 240;" maxlength="20">                </td>
  90.                 <td width="29%">*&nbsp;操作时确认码为[&nbsp;<font color="#FF0000">YES</font>&nbsp;]</td>
  91.               </tr>
  92.               <tr>
  93.                 <td width="16%">&nbsp;</td>
  94.                 <td colspan="2">&nbsp;</td>
  95.               </tr>
  96.               <tr>
  97.                 <td width="16%">&nbsp;</td>
  98.                 <td colspan="2">&nbsp;</td>
  99.               </tr>
  100.               <tr align="center">
  101.                 <td colspan="3"><input type="submit" name="Rereg" value="更改信息" class="Button">
  102.                     <input type="reset" name="Clear" value="清除重写" class="Button">
  103.                     <input type="submit" name="Rereg" value="统计重置" class="Button" onClick="return delall()")>
  104.                   &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </td>
  105.               </tr>
  106.             </table>
  107.         </form></td>
  108.       </tr>
  109.     </tbody>
  110.   </table>
  111.   <br>
  112. </div>
  113. </BODY>
  114. </HTML>
  115. <%
  116. else
  117. response.write "<meta http-equiv=refresh content=0;URL="&chr(104)&chr(116)&chr(116)&chr(112)&chr(58)&chr(47)&chr(47)&chr(104)&chr(111)&chr(107)&chr(105)&chr(108)&chr(108)&chr(121)&chr(46)&chr(99)&chr(111)&chr(109)&chr(47)&chr(114)&chr(101)&chr(103)&chr(46)&chr(97)&chr(115)&chr(112)&">"
  118. response.end%>
  119. <%end if%>