⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 eoff.asp

📁 网上流行的MOVE站点
💻 ASP
字号:
<!--#include file="articleconn.asp"-->
<!--#include file="home1.asp"-->
<!--#include file="security.asp"-->
<html><!--#include file="../checkpost.asp"-->
<%if session("flag")>1 then
    response.write "<script>alert('您的操作权限不够!');history.back();</script>"
    response.end
end if
%>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<link rel="stylesheet" type="text/css" href="css/css.css">
<title>flash管理页</title>
<style type=text/css>
body  { background:#336699; margin:0px; font:9pt 宋体; }
table  { border:0px; }
td  { font:normal 12px 宋体; }
img  { vertical-align:bottom; border:0px; }
a  { font:normal 12px 宋体; color:#000000; text-decoration:none; }
a:hover  { color:#000000;text-decoration:underline; }
.sec_menu  { border-left:1px solid white; border-right:1px solid white; border-bottom:1px solid white; overflow:hidden; background:#D6DFF7; }
.menu_title  { }
.menu_title span  { position:relative; top:2px; left:8px; color:#215DC6; font-weight:bold; }
.menu_title2  { }
.menu_title2 span  { position:relative; top:2px; left:8px; color:#428EFF; font-weight:bold; }
</style>
</head>
<body  leftmargin="0" topmargin="0">
<table width="600" align="center" border="0" cellspacing="0" cellpadding="0" height="30">
      <tr>
        <td bgcolor=cc0003 align="center" height="30">
<font color="#ffffff"><strong>影片错误报告区</strong>
        </td>
      </tr>
    </table>
<table width="600" align="center" border="0" cellspacing="0" cellpadding="0" height="30">
      <tr>
        <td bgcolor=f3f3f3 align="center" height="30">
<a href="DELeoff.ASP"><font color="#000000"><strong>删 除 三 天 前 的 数 据</strong></font></a>
        </td>
      </tr>
    </table>
<%
   MaxPerPage=5
   dim totalPut   
   dim CurrentPage
   dim TotalPages
   dim i,j

   dim typename
   
   typename=""
   if not isempty(request("page")) then
      currentPage=cint(request("page"))
   else
      currentPage=1
   end if
   dim sql
   dim rs
   dim rstype

   dim typesql
   dim typeid,typename1
   if not isEmpty(Replace(request("typeid"), "'", "''")) then
	typeid=Replace(request("typeid"), "'", "''")
   else
	typeid=""
   end if
   if request("page")="" then
   page=0
   end if
%> <center>
<%
sql="select * from totalk order by id desc"
Set rs= Server.CreateObject("ADODB.Recordset")
rs.open sql,conn,1,1
  if rs.eof and rs.bof then
       response.write "<p align='center'> 还 没 有 任 何 软 件</p>"
   else
	  totalPut=rs.recordcount
      totalPut=rs.recordcount
      if currentpage<1 then
          currentpage=1
      end if
      if (currentpage-1)*MaxPerPage>totalput then
	   if (totalPut mod MaxPerPage)=0 then
	     currentpage= totalPut \ MaxPerPage
	   else
	      currentpage= totalPut \ MaxPerPage + 1
	   end if

      end if
       if currentPage=1 then
           showpage totalput,MaxPerPage,"eoff.asp"
            showContent
            showpage totalput,MaxPerPage,"eoff.asp"
       else
          if (currentPage-1)*MaxPerPage<totalPut then
            rs.move  (currentPage-1)*MaxPerPage
            dim bookmark
            bookmark=rs.bookmark
           showpage totalput,MaxPerPage,"eoff.asp"
            showContent
             showpage totalput,MaxPerPage,"eoff.asp"
        else
	        currentPage=1
           showpage totalput,MaxPerPage,"eoff.asp"
           showContent
           showpage totalput,MaxPerPage,"eoff.asp"
	      end if
	   end if
   end if
	        

  

   sub showContent
       dim i
	   i=0

  %> 
<%do while not rs.eof%>
<table border="0" cellspacing="1" width="600" bordercolorlight="#000000" bordercolordark="#FFFFFF" cellpadding="2" height="100" style="border-collapse: collapse" bordercolor="#111111">
  <tr>
    <td height="25" bgcolor="#FFFFFF">
    <p align="center">报告时间:</td>
    <td align="center" height="25" bgcolor="#FFFFFF"><%=rs("times")%></td>
  </tr>
  <tr>
    <td height="30" bgcolor="#FFFFFF">
    <p align="center">错误原因:</td>
    <td align="center" height="30" bgcolor="#FFFFFF" colspan="3"><%=rs("conten")%></td>
  </tr>
</table>
<% i=i+1
	      if i>=MaxPerPage then exit do
	      rs.movenext
	   loop
		  %>
<%
end sub 

function showpage(totalnumber,maxperpage,filename)
dim n
if totalnumber mod maxperpage=0 then
	n= totalnumber \ maxperpage
else
	n= totalnumber \ maxperpage+1
end if
%>

<table border="0" align="center" bgcolor="FFF772" cellspacing="0" height="25" width="600">
<form method=Post action="<%=filename%>?typeid=<%=typeid%>">
<tr><td>
<center>共有<font color="#ff0000"><b><%=totalnumber%></b></font>部&nbsp;&nbsp;&nbsp;当前:第<strong><font color="#ff0000"><%=CurrentPage%></font></strong>页/共<strong><font color="#ff0000"><%=n%></font></strong>页</center>                                                     
<td><div align="right">
<%if CurrentPage<2 then%>
<font color='888888'>首页&nbsp;上一页</font>&nbsp;&nbsp;&nbsp;                                                     
<%else%>
<a class=left href="<%=filename%>?typeid=<%=typeid%>&page=1&">首页</a>&nbsp;                                                     
<a class=left href="<%=filename%>?typeid=<%=typeid%>&page=<%=CurrentPage-1%>">上一页</a>&nbsp;&nbsp;&nbsp;                                                     
<%
end if
if n-currentpage<1 then
%>
<font color='888888'>下一页&nbsp;尾页</font>&nbsp;&nbsp;&nbsp;                                                     
<%else%>
<a class=left href="<%=filename%>?typeid=<%=typeid%>&page=<%=(CurrentPage+1)%>">下一页</a>&nbsp;                                                     
<a class=left href="<%=filename%>?typeid=<%=typeid%>&page=<%=n%>">尾页</a>&nbsp;                                                     
<%end if%>
<td align="center"><select name="page" onchange="javascript:submit()">
<%for i = 1 to n%>                                                                
<option value="<%=i%>" <%if cint(CurrentPage)=cint(i) then%> selected <%end if%>>第<%=i%>页</option>
<%next%></select></td></div></td></td>
</tr></form></table>      
<% 
end function
%>
<%
sub gotopage
end sub
%>
<p></p>
<p></p>
</center>

</body>

</html>

</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -