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

📄 down_sort_error.asp

📁 一个网上flash网站源码
💻 ASP
字号:
<%Admin="DownAdminAll"%>
<!--#include file="check.asp"-->
<!--#include file="mdb_path_down.asp"-->
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta copy="作品展示 [MyFlash中国区,网址MyFlash.ShanKe.cn] ; www.MyFlash.NET!">
<style>
td{font-size:9pt;line-height:140%} 
body{font-size:9pt;line-height:140%} 
a:link       { color: #0033CC; text-decoration: none }
a:visited    { color: #0033CC; text-decoration: none }
a:active     { color: #4D9CC8; text-decoration: none }
a:hover      { color: #4D9CC8; text-decoration: underline}
</style>
</head>
<script language="javascript">
function delcx(id)
{window.open("down_cx_del.asp?id="+id,"","width=200,height=100,resizable=yes,scrollbars=yes,status=yes,toolbar=no,menubar=no,location=no");}
function delcxdown(id)
{window.open("down_sort_error_del.asp?id="+id,"","width=200,height=100,resizable=yes,scrollbars=yes,status=yes,toolbar=no,menubar=no,location=no");}
function makeHTML(id)
{window.open("down_makesoft.asp?type=page&id="+id,"","width=200,height=100,resizable=yes,scrollbars=yes,status=yes,toolbar=no,menubar=no,location=no");}
</script>
<body bgcolor="#FFFFFF" topmargin="1" leftmargin="1">
<table border="0" cellspacing="1" style="border-collapse: collapse" width="100%" bgcolor="#cococo">
  <tr>
    <td width="100%" bgcolor="#4D9CC8"><b><font color="#FFFFFF">错误作 品</font></b></td>
  </tr>
  <tr>
    <td width="100%" bgcolor="#FFFFFF">
<%
 if not isempty(request("page")) and request("page")<>"" then        
      currentPage=cint(request("page"))        
   else        
      currentPage=1        
   end if
   MaxPerPage=10 '###每页显示条数
set rs=server.CreateObject("ADODB.RecordSet")
set rs2=server.CreateObject("ADODB.RecordSet")
sql="select id,cxn,cxv,error from down where error>0 order by error desc,date desc"
rs.open sql,conn,1,1
if rs.eof and rs.bof then
response.write "<p align='center'>还没有任何错误作 品的报告</p>"
else
totalPut=rs.recordcount
rs.move  (currentPage-1)*MaxPerPage
rs.pagesize=MaxPerPage '得到每页数
mpage=rs.pagecount     '得到总页数
%><table border="1" width="100%" cellspacing="0" bgcolor="#F4F4F4" style="border-collapse: collapse" bordercolor="#F4F4F4">
    <tr>
      <td width="6%" bgcolor="#C0C0C0" align="center">ID</td>
      <td width="6%" bgcolor="#C0C0C0" align="center"> 
      删除
      </td>
      <td width="6%" bgcolor="#C0C0C0">
      <p align="center">HTML</td>
      <td bgcolor="#C0C0C0">作 品 名 称 (<a href="down_sort_error_cle.asp?type=allfile">清除全部</a>)</td>          
            <td width="6%" bgcolor="#C0C0C0">
      <p align="center">报数</td>          
               
    </tr>
<%
i=0
do while not rs.EOF
ti=ti+1
bgcolor="#ffffff"
if ti=2 then
ti=0
bgcolor="#F4F4F4"
end if%>
    <tr bgcolor=<%=bgcolor%> valign="top">
      <td width="6%">
        <p align="center"><a target="_blank" href="../flash/<%=rs("id")%>.htm"><%=rs("id")%></a></td>
      <td width="6%">
        <p align="center"><a href="javascript:delcx(<%=rs("id")%>)" title="删除">删除</a></td>
      <td width="6%">
      <p align="center"><a href="javascript:makeHTML(<%=rs("id")%>)" title="生成本作 品的HTML页">生成</a></td>
      <td>(<a href="down_sort_error_cle.asp?page=<%=request("page")%>&id=<%=rs("id")%>">清除错误报数</a>)<a href=down_cx_edit.asp?id=<%=rs("id")%>><%=rs("cxn")%>&nbsp;<%=rs("cxv")%></a><%
  sql2="select * from downfile where downid="&rs("id")&" order by downno"
  rs2.open sql2,conn,1,1
  if not rs2.eof then
    do while not rs2.eof%><br>[<a href="javascript:delcxdown(<%=rs2("id")%>)" title="删除当前连接地址"><font color="#808080">删</font></a>]<a href="<%=rs2("file")%>" target="_blank"><font color="#808080"><%=rs2("file")%></font></a><%                                 
    rs2.movenext
    loop
  end if
  rs2.close%></td>
      <td width="6%">
      <p align="center"><font color="#4D9CC8"><%=rs("error")%></font></td>
    </tr>
<%i=i+1  
if i>=MaxPerPage then exit do
 rs.movenext
 loop %>
    <tr>
      <td width="100%" colspan="5" bgcolor="#FFFFFF">
<%
call page()
sub page()%>页次:<b><font color="#4D9CC8"><%=currentPage%></font>/<%=mpage%></b>,每页<b><%=MaxPerPage%></b>个,当前作 品<b><%=totalPut%></b>个(<font color="#008000">&lt;-</font><a title="生成此类目下所有作 品下载HTML页" href="down_makesoftall.asp?type=error"><font color="#008000">生成本类连接
页</font></a>)
 <%                                                                                                                           
    pageno=currentPage
    if isempty(pageno) or cint(pageno)<1 or cint(pageno)>mpage then
        pageno=1
    end if
%>
[ <%if cint(pageno)>1 then%><a href=<%=filename%>?><%end if%><<-</a> <%if cint(pageno)>1 then%><a href=<%=filename%>?page=<%=pageno-1%>><%end if%><-</a><%                  
pp=cint(pageno)-3            
  if pp<1 then            
  pp=1            
  end if            
for pno=pp to mpage            
p=p+1            
if pno=cint(pageno) then%> <font color="#4D9CC8"><%=pno%></font><%else%> <a href=<%=filename%>?page=<%=pno%>><%=pno%></a><%end if%>                  
<%                  
if p>=7 then exit for            
next%> <%if cint(pageno)< mpage then%> <a href=<%=filename%>?page=<%=pageno+1%>><%end if%>-></a> <%if cint(pageno)< mpage then%><a href=<%=filename%>?page=<%=mpage%>><%end if%>-&gt;&gt;</a> ]<%
end sub%>
     </td>
    </tr>
  </table>
<%end if%> 
    </td>
  </tr>
</table>
</body>
</html>  
<% 
set rs2=nothing
set rs=nothing  
conn.close  
set conn=nothing%>

⌨️ 快捷键说明

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