📄 download_body.asp
字号:
</table>
<table width="98%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td bgcolor="#FFFFFF" colspan="4" height="15"></td>
</tr>
</table>
<%
i=i+1
rssoft.movenext
loop
else
if rssoft.eof and rssoft.bof then
%>
<table width="98%" border="0" cellspacing="1" cellpadding="0" align="center" bgcolor="#293863" class="chinese">
<tr bgcolor="#F7FFFF">
<td class="chinese" height="25" colspan="4">
<%if keyword<>"" then%>
<div align="center">对不起,没有找到你想要的软件!</div>
<%else%>
<div align="center">该类别当前还没有软件下载!</div>
<%end if%>
</td>
</tr>
</table>
<%end if
end if%>
<table width="98%" border="0" cellspacing="0" cellpadding="0" align="center" class="chinese">
<form name="form3" method="post" action="download.asp?cat_id=<%=request("cat_id")%>&keyword=<%=request("keyword")%>&colname=<%=request("colname")%>">
<tr>
<%
if request.querystring("class_id")="" then
%>
<td class="chinese" align="right"><font color="#666666"><%=currentpage%>
/<%=totalpages%>页,<%=totalsoft%>条记录/<%=softperpage%>个每页.</font>
<%
i=1
showye=totalpages
if showye>10 then
showye=10
end if
for i=1 to showye
if i=currentpage then
%>
<%=i%>
<%else%>
<a href="download.asp?page=<%=i%>&cat_id=<%=request("cat_id")%>&keyword=<%=request("keyword")%>&colname=<%=request("colname")%>"><%=i%></a>
<%end if
next
if totalpages>currentpage then
if request("page")="" then
page=1
else
page=request("page")+1
end if%>
<a href="download.asp?page=<%=page%>&cat_id=<%=request("cat_id")%>&keyword=<%=request("keyword")%>&colname=<%=request("colname")%>" title="下一页">>></a>
<%end if%>
<input type="text" name="page" class="textarea" size="4">
<input type="submit" name="Submit" value="Go" class="button">
</td>
<%
else
%>
<td class="chinese" align="right"><font color="#666666"><%=currentpage%>
/<%=totalpages%>页,<%=totalsoft%>条记录/<%=softperpage%>个每页.</font>
<%
i=1
showye=totalpages
if showye>10 then
showye=10
end if
for i=1 to showye
if i=currentpage then
%>
<%=i%>
<%else%>
<a href="download.asp?page=<%=i%>&cat_id=<%=request("cat_id")%>&class_id=<%=request("class_id")%>&keyword=<%=request("keyword")%>&colname=<%=request("colname")%>"><%=i%></a>
<%end if
next
if totalpages>currentpage then
if request("page")="" then
page=1
else
page=request("page")+1
end if%>
<a href="download.asp?page=<%=page%>&cat_id=<%=request("cat_id")%>&class_id=<%=request("class_id")%>&keyword=<%=request("keyword")%>&colname=<%=request("colname")%>" title="下一页">>></a>
<%end if%>
<input type="text" name="page" class="textarea" size="4">
<input type="submit" name="Submit" value="Go" class="button">
</td><%
end if
%>
</tr>
</form>
</table>
<br>
</td>
<td width="1" background="images/dotlinev.gif"></td>
<td width="25%" align="center" valign="top" bgcolor="#FFFFFF">
<%
sql1="SELECT top " &topsoftnum& " soft_dcount,soft_rcount,soft_id,soft_name,soft_joindate FROM soft ORDER BY soft_dcount DESC , soft_joindate DESC"
sql2="SELECT top " &newsoft& " soft_id,soft_name,soft_joindate,soft_dcount,soft_rcount FROM soft order by soft_joindate DESC"
set rs1=server.createobject("adodb.recordset")
rs1.open sql1,conn,1,1
set rs2=server.createobject("adodb.recordset")
rs2.open sql2,conn,1,1
if request.querystring("class_id")<>"" or request.querystring("cat_id")<>"" then
if request.querystring("class_id")="" and request.querystring("cat_id")<>"" then
sql3="SELECT top 10 soft_id,soft_name,soft_joindate,soft_dcount,soft_rcount FROM soft WHERE soft_classid= " &request.querystring("cat_id")& " order by soft_dcount DESC , soft_joindate DESC"
elseif request.querystring("class_id")<>"" then
sql3="SELECT top 10 soft_id,soft_name,soft_joindate,soft_dcount,soft_rcount FROM soft WHERE soft_classid= " &request.querystring("class_id")& " order by soft_dcount DESC , soft_joindate DESC"
end if
set rs3=server.createobject("adodb.recordset")
rs3.open sql3,conn,1,1
%>
<table width="94%" border="0" cellspacing="1" cellpadding="3" class="chinese">
<tr>
<td nowrap bgcolor="#5EB4FF"><font color="#666666"><strong>本类下载Top 10</strong></font></td>
</tr>
</table>
<table width="94%" border="0" cellspacing="1" cellpadding="0">
<tr>
<td bgcolor="#FFFFFF">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<%do while not rs3.eof%>
<tr>
<td class="chinese"><a href="showsoft.asp?soft_id=<%=rs3("soft_id")%>" target="_blank"><%=rs3("soft_name")%></a> (<font color="#FF6600"><%=rs3("soft_dcount")%></font>/<font color="#FF6600"><%=rs3("soft_rcount")%></font>)</td>
</tr>
<%rs3.movenext
loop
if rs3.eof and rs3.bof then%>
<tr>
<td align="center" class="chinese">目前还没有软件程序!</td>
</tr>
<%end if%>
</table>
</td>
</tr>
</table>
<br>
<%
rs3.close
set rs3=nothing
end if
%>
<table width="94%" border="0" cellspacing="1" cellpadding="3" class="chinese">
<tr>
<td bgcolor="#66CCFF"><font color="#666666"><strong>下载Top <%=topsoftnum%></strong></font></td>
</tr>
</table>
<table width="94%" border="0" cellspacing="1" cellpadding="0">
<tr>
<td bgcolor="#FFFFFF">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<%do while not rs1.eof%>
<tr>
<td class="chinese"><a href="showsoft.asp?soft_id=<%=rs1("soft_id")%>" target="_blank"><%=rs1("soft_name")%></a> (<font color="#FF6600"><%=rs1("soft_dcount")%></font>/<font color="#FF6600"><%=rs1("soft_rcount")%></font>)</td>
</tr>
<%rs1.movenext
loop
if rs1.eof and rs1.bof then%>
<tr>
<td class="chinese">目前还没有软件程序!</td>
</tr>
<%end if%>
</table>
</td>
</tr>
</table>
<br>
<table width="94%" border="0" cellspacing="1" cellpadding="3" class="chinese">
<tr>
<td bgcolor="#66CCFF"><font color="#666666"><strong>更新Top <%=newsoft%></strong></font></td>
</tr>
</table>
<table width="94%" border="0" cellspacing="1" cellpadding="0">
<tr>
<td bgcolor="#FFFFFF">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<%do while not rs2.eof%>
<tr>
<td class="chinese"><a href="showsoft.asp?soft_id=<%=rs2("soft_id")%>" target="_blank"><%=rs2("soft_name")%></a> (<font color="#FF6600"><%=rs2("soft_dcount")%></font>/<font color="#FF6600"><%=rs2("soft_rcount")%></font>)</td>
</tr>
<%rs2.movenext
loop
if rs2.eof and rs2.bof then%>
<tr>
<td class="chinese">目前还没有软件程序!</td>
</tr>
<%end if%>
</table>
</td>
</tr>
</table>
<%
rs1.close
set rs1=nothing
rs2.close
set rs2=nothing
%>
<br><table width="94%" border="0" align="center" cellpadding="5" cellspacing="0" class="chinese">
<tr>
<td align="right" bgcolor="#66CCFF" class="chinese">
<p align="left" style="LINE-HEIGHT: 150%"><strong><font color="#666666">本
站 声 明</font></strong><br>
</p></td>
</tr>
<tr>
<td align="right">
<div align="left"><font color="#999999"> 本站的大部分资料,文章都来自网上收集,其版权归作者本人所有,如果有任何侵犯您权益的地方,请联系我,我将马上进行整理,谢谢。
</font> </div></td>
</tr>
</table>
</td>
</tr>
<tr>
<td colspan="3" height="1"></td>
</tr>
</table>
<%
rssoft.close
set rssoft=nothing
end sub%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -