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

📄 download.asp

📁 只是一网站项目不错的可以看看的不看会后悔啊
💻 ASP
字号:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="conn.asp"-->
<!--#include file="include.asp"-->
<!--#include file="css/css.asp"-->
<HTML><HEAD><TITLE><%
If WebTitle="" Then
	Response.Write WebName
Else
	Response.Write WebName&" --> "&WebTitle
End if
%></TITLE>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="keywords" content="<%=W_WebSiteKeyword%>">
<meta name="description" content="<%=W_WebSiteIntr%>">
<LINK href="css.css" type=text/css rel=stylesheet>
<style type="text/css">
<!--
.alpha{filter: Alpha(Opacity=65)} 
.style2 {
	color: #FFFFFF;
	font-weight: bold;
}
-->
</style>
<script language="JavaScript" src="images/js.js"></script>
</head>



<% If Request("i")="show" Then %>

<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
-->
</style>
<body STYLE="background-color:transparent" onLoad="MM_preloadImages('images/index_03_011.gif','images/index_03_021.gif','images/index_03_031.gif','images/index_03_041.gif','images/index_03_051.gif','images/index_03_061.gif')">





<script language="JavaScript1.2">
iens6=document.all||document.getElementById
ns4=document.layers

//specify speed of scroll (greater=faster)
var speed=10

if (iens6){
document.write('<div id="container" style="position:relative;width:600;height:430;border:0px solid black;overflow:hidden">')
document.write('<div id="content" style="position:absolute;width:590;left:0;top:0">')
}
</script>

<ilayer name="nscontainer" width=600 height=450 clip="0,0,500,160">
<layer name="nscontent" width=600 height=450 visibility=hidden>



<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>

<%
cid=request("id")
if cid="" then
sql="select * from HN_down where kinds=true order by id desc"
else
sql="select * from HN_down where cstr(class)='"&cid&"' and kinds=true order by id desc"
end if
set rsnews=server.createobject("adodb.recordset")
rsnews.open sql,conn,1,1
	if rsnews.eof then 
	Response.Write " <div align='center'>暂无下载!</div></td></tr></table>"
	end if
IF Not rsnews.eof Then

proCount=rsnews.recordcount
	rsnews.PageSize=5				  '定义显示数目
		if not IsEmpty(Request("ToPage")) then
	       ToPage=CInt(Request("ToPage"))
		   if ToPage>rsnews.PageCount then
					rsnews.AbsolutePage=rsnews.PageCount
					intCurPage=rsnews.PageCount
		   elseif ToPage<=0 then
					rsnews.AbsolutePage=1
					intCurPage=1
				else
					rsnews.AbsolutePage=ToPage
					intCurPage=ToPage
				end if
			else
			        rsnews.AbsolutePage=1
					intCurPage=1
		  end if
	intCurPage=CInt(intCurPage)
	For i = 1 to rsnews.PageSize
	if rsnews.EOF then     
	Exit For 
	end if
%>


       <tr>
         <td width="90%" height=25>
           
           <table width="100%"  border="0" cellpadding="5" cellspacing="3" bgcolor="#333333"  class="alpha">
             <tr>
               <td width="69%"><span class="style2"><%=rsnews("title")%></span></td>
               <td width="17%"> 下载次数(<%=rsnews("hotclick")%>) </td>
               <td width="14%"><%=rsnews("time")%></td>
             </tr>
			   
	   				<tr bgcolor="#666666"> 
				  <td height="1" colspan="3" ></td>
				</tr>
			   
			   
			   
             <tr valign="top">
               <td colspan="3" >说明:<%=rsnews("demo")%></td>
             </tr>
             <tr align="right">
               <td height="30" colspan="3" style='PADDING-TOP: 3px'><a href="Download_view.asp?id=<%=rsnews("id")%>" target="_blank">点击下载</a></td>
             </tr>
           </table>
           <br></td>
       </tr>

       <%
 rsnews.MoveNext 
 next
%>
       <tr>
         <td> 
           <table width="100%" align="center" cellpadding="0" cellspacing="0" border="0">
                 <tr>
                   <td align="right" height="20" width="51%">总共:<%=rsnews.PageCount%>页, <%=proCount%>个文件, 当前页: <%=intCurPage%>
                           <% 
if intCurPage<>1 then
%>
                                        <a href="?i=show&id=<%=cid%>&amp;ToPage=1">首页</a>|<a href="?i=show&id=<%=cid%>&amp;ToPage=<%=intCurPage-1%>">上一页</a>|
                       <% end if
if intCurPage<>rsnews.PageCount then %>
                      <a href="?i=show&id=<%=cid%>&amp;ToPage=<%=intCurPage+1%>">下一页</a>|<a href="?i=show&id=<%=cid%>&amp;ToPage=<%=rsnews.PageCount%>"> 最后页</a>|
                       <% end if%>
                </td>
                 </tr>
           </table>
                   </td>
       </tr>

</table>
    <%end if%>
	
	
</layer>
</ilayer>

<script language="JavaScript1.2">
if (iens6)
document.write('</div></div>')
</script>

<table width="96%"><td><p align="right">
|<a href="#" onMouseover="moveup()" onMouseout="clearTimeout(moveupvar)">
向上
</a>|<a href="#" onMouseover="movedown()" onMouseout="clearTimeout(movedownvar)">
向下
</a>|</p></td>
</table>

<script language="JavaScript1.2">
if (iens6){
var crossobj=document.getElementById? document.getElementById("content") : document.all.content
var contentheight=crossobj.offsetHeight
}
else if (ns4){
var crossobj=document.nscontainer.document.nscontent
var contentheight=crossobj.clip.height
}

function movedown(){
if (iens6&&parseInt(crossobj.style.top)>=(contentheight*(-1)+100))
crossobj.style.top=parseInt(crossobj.style.top)-speed
else if (ns4&&crossobj.top>=(contentheight*(-1)+100))
crossobj.top-=speed
movedownvar=setTimeout("movedown()",100)
}

function moveup(){
if (iens6&&parseInt(crossobj.style.top)<=0)
crossobj.style.top=parseInt(crossobj.style.top)+speed
else if (ns4&&crossobj.top<=0)
crossobj.top+=speed
moveupvar=setTimeout("moveup()",100)

}

function getcontent_height(){
if (iens6)
contentheight=crossobj.offsetHeight
else if (ns4)
document.nscontainer.document.nscontent.visibility="show"
}
window.onload=getcontent_height
</script>
	
	
	
    <%
rsnews.close
set rsnews=nothing
Response.end
%> 








<% EnD iF %>









<body STYLE="background-color:transparent" onLoad="MM_preloadImages('images/index_03_011.gif','images/index_03_021.gif','images/index_03_031.gif','images/index_03_041.gif','images/index_03_051.gif','images/index_03_061.gif')">

<table width="1000"  border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="14" rowspan="2" valign="top"><img src="images/index_01.gif" width="14" height="600" alt=""></td>
    <td width="298" height="83" valign="top"><a href="Index.asp"><img src="images/index_021.gif" alt="" width="298" height="83" border="0"></a></td>
    <td valign="top" background="images/index_03_07.gif"><a href="News.asp" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image1','','images/index_03_011.gif',1)"><img src="images/index_03_01.gif" width="101" height="83" border="0" name="Image1"></a><a href="Article.asp" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image2','','images/index_03_021.gif',1)"><img src="images/index_03_02.gif" width="110" height="83" border="0" name="Image2"></a><a href="Product.asp" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image3','','images/index_03_031.gif',1)"><img src="images/index_03_03.gif" width="117" height="83" border="0" name="Image3"></a><a href="Download.asp" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image4','','images/index_03_041.gif',1)"><img src="images/index_03_04.gif" width="116" height="83" border="0" name="Image4"></a><a href="Aboutus.asp" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image5','','images/index_03_051.gif',1)"><img src="images/index_03_05.gif" width="109" height="83" border="0" name="Image5"></a><a href="Gbook.asp" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image6','','images/index_03_061.gif',1)"><img src="images/index_03_06.gif" width="103" height="83" border="0" name="Image6"></a></td>
  </tr>
  <tr>
    <td height="517" colspan="2" valign="top" background="images/bg.jpg"><table width="100%"  border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td height="503"><table width="700" height="192"  border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <td width="50" valign="top" background="images/bg2.jpg"><img src="images/index_v5_downs.gif" width="50" height="492"></td>
            <td valign="top" background="images/bg2.jpg">              <table width="95%"  border="0" align="center" cellpadding="5" cellspacing="0">
            
			
				 		  	   				<tr> 
				  <td height="30" align="right">
<!-- 开始 -->
<a href="?i=show" target="demo">
全部文件</a> 
<%
set rsa=server.createobject("adodb.recordset") 
 sqla="select * from HN_downcla where MidCls<>'' order by id ASC" 
 rsa.open sqla,conn,1,1
DO WHILE Not rsa.eof
%>
<a href="?i=show&id=<%=rsa("id")%>" target="demo"><%=RSa("MidCls")%></a> 
<%
rsa.movenext
LOOP
rsa.close
set rsa=nothing
%>


<!-- 结束 -->
				  
				  
				  </td>
				</tr>
			
			
			  <tr>
                <td height="420" valign="top" class="unnamed1">
				

				
<iframe name="demo" width="600" height="450" src="download.asp?i=show" frameborder="no" border="0" marginwidth="0" marginheight="0" scrolling="no" allowTransparency="true">浏览器不支持嵌入式框架,或被配置为不显示嵌入式框架。</iframe>
				
				</td>
              </tr>
            </table></td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td align="center" valign="baseline"><img src="images/copyright.jpg" width="330" height="13"></td>
      </tr>
    </table></td>
  </tr>
</table>
</body>
</html>



⌨️ 快捷键说明

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