📄 download.asp
字号:
<!--#include file="../include/connstr.asp"-->
<!--#include file="../include/DefFunction.asp"-->
<html>
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
//-->
</script>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>郑州诚一阀门制造有限公司-桌面下载</title>
<style type="text/css">
<!--
body {
margin-top: 0px;
margin-left: 0px;
background-image: url(../aboutus/images/bg.jpg);
margin-right: 0px;
margin-bottom: 0px;
}
-->
</style>
<link href="../include/css.css" rel="stylesheet" type="text/css">
<link href="../include/mycss.css" rel="stylesheet" type="text/css">
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_jumpMenu(targ,selObj,restore){ //v3.0
eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
if (restore) selObj.selectedIndex=0;
}
//-->
</script>
<!-- 浮动层的开始 -->
<SCRIPT language=javascript>
var delta=0.15
var collection;
function floaters() { //添加层的子程序
this.items = [];
this.addItem = function(id,x,y,content)
{
document.write('<DIV id='+id+' style="Z-INDEX: 10; POSITION: absolute; width:100px; height:240px;left:'+(typeof(x)=='string'?eval(x):x)+';top:'+(typeof(y)=='string'?eval(y):y)+'">'+content+'</DIV>');
var newItem = {};
newItem.object = document.getElementById(id);
newItem.x = x;
newItem.y = y;
this.items[this.items.length] = newItem;
}
this.play = function()
{
collection = this.items
setInterval('play()',10);
}
}
function play() //调整层的位置
{
for(var i=0;i<collection.length;i++)
{
var followObj = collection[i].object;
var followObj_x = (typeof(collection[i].x)=='string'?eval(collection[i].x):collection[i].x);
var followObj_y = (typeof(collection[i].y)=='string'?eval(collection[i].y):collection[i].y);
if(followObj.offsetLeft!=(document.body.scrollLeft+followObj_x)) {
var dx=(document.body.scrollLeft+followObj_x-followObj.offsetLeft)*delta;
dx=(dx>0?1:-1)*Math.ceil(Math.abs(dx));
followObj.style.left=followObj.offsetLeft+dx;
}
if(followObj.offsetTop!=(document.body.scrollTop+followObj_y)) {
var dy=(document.body.scrollTop+followObj_y-followObj.offsetTop)*delta;
dy=(dy>0?1:-1)*Math.ceil(Math.abs(dy));
followObj.style.top=followObj.offsetTop+dy;
}
followObj.style.display = '';
}
}
var theFloaters = new floaters();
theFloaters.addItem('followDiv2',900,100,'<img src=../images/right.jpg usemap="#Map1111111111111" border=0>'); //层名,位置X,位置Y,内容
theFloaters.play();
</SCRIPT>
<!-- 浮动层的结束 -->
</head>
<body>
<!--#include file="../include/top.asp"-->
<table width="770" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="755" bgcolor="#FFFFFF"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="750" height="35">
<param name="movie" value="../images/banner.swf">
<param name="quality" value="high">
<embed src="../images/banner.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="750" height="35"></embed>
</object></td>
<td width="15"><IMG SRC="../images/about_41.gif" WIDTH=15 HEIGHT=35 ALT=""></td>
</tr>
</table>
<table width="770" border="0" cellspacing="0" cellpadding="0">
<tr>
<td background="images/banner.jpg"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="770" height="86">
<param name="movie" value="images/banner.swf">
<param name="quality" value="High">
<param name="wmode" value="transparent">
<embed src="images/banner.swf" quality="High" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="770" height="86" wmode="transparent"></embed>
</object></td>
</tr>
</table>
<table width="770" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="133" valign="top" background="../aboutus/images/about_21.gif"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="images/about_7.jpg" width=180 height=99 alt=""></td>
</tr>
<tr>
<td><IMG SRC="images/s_111.jpg" ALT="" WIDTH=180 HEIGHT=31 border="0" usemap="#Map5"></td>
</tr>
<tr>
<td><IMG SRC="images/s_12.jpg" border="0" usemap="#Map4"></td>
</tr>
<tr>
<td><IMG SRC="../images/about_13.gif" WIDTH=180 HEIGHT=7 ALT=""></td>
</tr>
<tr>
<td><IMG SRC="images/s_14.jpg" ALT="" WIDTH=180 HEIGHT=17 border="0" usemap="#Map2"></td>
</tr>
<tr>
<td><IMG SRC="../images/about_15.gif" WIDTH=180 HEIGHT=6 ALT=""></td>
</tr>
<tr>
<td><IMG SRC="images/s_16.jpg" ALT="" WIDTH=180 HEIGHT=18 border="0" usemap="#Map3"></td>
</tr>
<tr>
<td><IMG SRC="../images/about_17.gif" WIDTH=180 HEIGHT=7 ALT=""></td>
</tr>
<tr>
<td><IMG SRC="images/s_181.jpg" ALT="" WIDTH=180 HEIGHT=19 border="0"></td>
</tr>
</table>
<!--#include file="../include/left.asp"--> </td>
<td width="637" valign="top" bgcolor="#FFFFFF">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="95%"><img src="images/s_8154.jpg" width="560" height="43"></td>
<td width="5%"><div align="right"><img src="../aboutus/images/about_8.gif" width="29" height="43"></div></td>
</tr>
</table></td>
</tr>
<tr>
<td valign="top" bgcolor="#FFFFFF"> <table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="98%" valign="top">
<table width="96%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td class="font14"> <strong>资料类别:</strong></font></strong>
<select name="ClassID" onChange="MM_jumpMenu('parent.frames[\'inc\']',this,0)">
<%set rs_ClassID=conn.execute("select * from tSystemSmallClass where BigClassID='Download' order by AddTime desc")
if request("ClassID")="" then response.write "<option value='DownLoad.asp' selected>全部下载资料</option>" else response.write "<option value='DownLoad.asp'>全部下载资料</option>"
do while not rs_ClassID.eof
if cstr(rs_ClassID("ID"))=cstr(request("ClassID")) then
response.write "<option value='?ClassID="&rs_ClassID("ID")&"' selected>"&rs_ClassID("SClassName")&"</option>"
else
response.write "<option value='?ClassID="&rs_ClassID("ID")&"'>"&rs_ClassID("SClassName")&"</option>"
end if
rs_ClassID.movenext
loop
rs_ClassID.close
set rs_ClassID=nothing
%>
</select>
</td>
<td class="font16"> </td>
</tr>
<tr>
</tr>
<tr>
<td height="8" colspan="2" class="font11"></td>
</tr>
<tr>
<td colspan="2" class="font11">
<table width="100%" border="0" cellpadding="3" cellspacing="1" bgcolor="cecece">
<%
'----------------------------
PERPAGE =15
PageNo=request("PageNo")
set rs=server.createobject("ADODB.recordset")
if request("ClassID")<>"" then
sql="select * from tDownload where ClassID='"&request("ClassID")&"' order by AddTime desc"
else
sql="select * from tDownload order by AddTime desc"
end if
rs.open sql,conn,1,1
if rs.eof and rs.bof then
response.write "暂时没有数据!"
else
rs.pagesize = PERPAGE
if isempty(PageNo) or cstr(PageNo)<"1" then PageNo = 1
CurPage=PageNo
if int(PageNo)>=int(rs.pagecount) then CurPage=cint(rs.pagecount)
rs.absolutepage = CurPage
%>
<tr bgcolor="f7f7f7" class="font14">
<td width="58%" height="23" align="center"><strong>资料名称</strong></td>
<td width="6%" align="center"><strong>次数</strong></td>
<td width="19%" align="center"><strong>发布时间</strong></td>
<td width="17%" align="center"><strong>下载</strong></td>
</tr>
<% for i = 1 to rs.pagesize %>
<tr bgcolor="#FFFFFF" <%if i mod 2=0 then response.write "bgcolor='efefef'"%>>
<td height="20" valign="top">
<img src="Images/p1.gif" width="11" height="10"> <strong><%=rs("Title")%></strong><br>
<%=rs("Content")%>
</td>
<td height="20" align="center"><%=rs("Hits")%></td>
<td height="20" align="center"><%=formatdatetime(rs("AddTime"),1)%></td>
<td height="20" align="center" bgcolor="#FFFFFF"><a href="DownFile.asp?ID=<%=rs("ID")%>" target="_blank"><u>立即下载</u></a></td>
</tr>
<% rs.movenext
if rs.eof then
i = i + 1
exit for
end if
next %>
</table>
<table width="100%" height="38" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="8" colspan="2"></td>
</tr>
<tr>
<td height="1" colspan="2" bgcolor="#CCCCCC"></td>
</tr>
<tr>
<td width="33%"> 页次:<b><%=CurPage%></b>/<b><%=rs.pagecount %></b>页 共<b><%=rs.recordcount %></b>条记录</td>
<td width="67%" align="right"> <%if CurPage = 1 then
response.write " 首页 | 上一页 | "
else
response.write "<a href='?PageNo=1&ClassID="&request("ClassID")&"'><b> 首页 </b></a> | <a href='?PageNo="&CurPage-1&"&ClassID="&request("ClassID")&"'><b>上一页</b></a>| "
end if
if CurPage = rs.pagecount then
response.write "后一页 | 尾页 "
else
response.write "<a href='?PageNo="&CurPage+1&"&ClassID="&request("ClassID")&"'><b>后一页</b> </a>| <a href='?PageNo="&rs.pagecount&"&ClassID="&request("ClassID")&"'><b>尾页</b> </a>"
end if
%> 跳转到:
<select name="menu1" onChange="MM_jumpMenu('parent.frames[\'inc\']',this,0)">
<% for i=1 to rs.pagecount
if CurPage=i then
response.write "<option value='?PageNo="&i&"&ClassID="&request("ClassID")&"' selected>第"&i&"页"
else
response.write "<option value='?PageNo="&i&"&ClassID="&request("ClassID")&"'>第"&i&"页"
end if
next
%>
</select></td>
</tr>
<%end if%>
</table>
</td>
</tr>
</table> </td>
<td width="2%" background="../images/about_10.gif"><IMG SRC="../images/about_10.gif" WIDTH=15 HEIGHT=484 ALT=""></td>
</tr>
</table> </td>
</tr>
</table></td>
</tr>
</table>
<!--#include file="../include/bottom.asp"-->
<map name="Map5">
<area shape="rect" coords="39,8,108,28" href="Service.asp">
</map>
<map name="Map">
<area shape="rect" coords="39,1,107,19" href="GuestBook.asp">
</map>
<map name="Map2">
<area shape="rect" coords="41,1,108,17" href="Advice.asp">
</map>
<map name="Map3">
<area shape="rect" coords="42,1,106,17" href="Research.asp">
</map>
<map name="Map4">
<area shape="rect" coords="41,2,108,18" href="GuestBook.asp">
</map>
</body>
</html>
<map name="Map1111111111111" id="Map1111111111111">
<area shape="rect" coords="18,62,71,116" href="../News/News.asp">
<area shape="rect" coords="18,125,72,184" href="../aboutus/Cultrue.asp">
<area shape="rect" coords="20,203,73,258" href="../product/Feedback.asp">
<area shape="rect" coords="18,272,77,327" href="../Distribution/Distribution.asp">
<area shape="rect" coords="14,334,81,359" href="../english/main.asp" target="_blank">
</map>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -