📄 downloadshow.asp
字号:
<!--#include file="Inc/syscode.asp"-->
<!--#include file="Inc/top.asp"-->
<%
ShowSmallClassType=ShowSmallClassType_Article
dim ID
ID=trim(request("ID"))
if Id="" then
response.Redirect("Download.asp")
end if
sql="select * from Download where ID=" & ID & ""
Set rs= Server.CreateObject("ADODB.Recordset")
rs.open sql,conn,1,3
if rs.bof and rs.eof then
response.write"<SCRIPT language=JavaScript>alert('找不到此产品!');"
response.write"javascript:history.go(-1)</SCRIPT>"
else
rs("Hits")=rs("Hits")+1
rs.update
if rs("hits")>=HitsOfHot then
rs("Hot")=True
rs.update
end if
BigClassName=rs("BigClassName")
SmallClassName=rs("SmallClassName")
%>
<<!-- #include file="Inc/Head.asp" -->
<BODY bgColor=#666666 leftMargin=0 topMargin=0 marginheight="0" marginwidth="0" <%if not(rsBigClass.bof and rsBigClass.eof) and ShowSmallClassType="Menu" then response.write " onmousemove='HideMenu()'"%>>
<TABLE width="760" border=0 align="center" cellPadding=0 cellSpacing=0 bgcolor="#FFFFFF">
<TBODY>
<TR>
<TD width=192 vAlign=top bgcolor="#FFFFFF">
<table width="92%" height="100%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#f2f2f2">
<tr>
<td valign="top"><TABLE width="100%" border=0 cellPadding=0 cellSpacing=0 background="Img/index_01b.gif">
<TBODY>
<TR>
<TD height=5 bgcolor="#FFFFFF"></TD>
</TR>
<TR>
<TD height="34" background="Img/index_01.gif">
<div align="center">会员登陆
</div></TD>
</TR>
<TR>
<TD height="5"> </TD>
</TR>
<TR>
<TD vAlign=top><table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td>
<% call ShowUserLogin() %>
</td>
</tr>
</table></TD>
</TR>
<TR>
<TD height="5"> </TD>
</TR>
<TR>
<TD
height=1 colspan="2"
background=img/naSzarym.gif><IMG height=1 src="img/1x1_pix.gif"
width=10></TD>
</TR>
</TBODY>
</TABLE>
<TABLE width="100%" border=0 cellPadding=0 cellSpacing=0 background="Img/index_01b.gif">
<TBODY>
<TR>
<TD height=15 bgcolor="#FFFFFF"></TD>
</TR>
<TR>
<TD height="34" background="Img/index_01.gif">
<div align="center">下载列表</div></TD>
</TR>
<TR>
<TD height="5" background="Img/index_01.gif"> </TD>
</TR>
<TR>
<TD vAlign=top>
<% call ShowSmallClass_Down_Tree() %>
</TD>
</TR>
</TBODY>
</TABLE>
<br> </td>
</tr>
</table>
</TD>
<TD width=1 background=img/kropki_pion_naBialym.gif><IMG
height=2 src="img/1x1_pix.gif" width=1></TD>
<TD width="566" vAlign=top> <TABLE width="90%" border=0 align="right" cellPadding=0 cellSpacing=0>
<TBODY>
<TR>
<TD colSpan=3 height=5><IMG height=1
src="img/1x1_pix.gif" width=1></TD>
</TR>
<TR>
<TD colspan="3"> <TABLE cellSpacing=0 cellPadding=0 width="555" border=0>
<TBODY>
<TR>
<TD height="25"><img src="Img/bgtop_2.gif" width="557" height="36"></TD>
</TR>
</TBODY>
</TABLE></TD>
</TR>
<TR>
<TD
height=1 colspan="3" background=img/naBialym.gif><IMG height=1 src="img/1x1_pix.gif"
width=10></TD>
</TR>
<TR>
<TD width="391"
height=25>
<%
response.write "| <a href='Download.asp?BigClassName=" & rs("BigClassName") & "'>" & rs("BigClassName") & "</a> >> "
if rs("SmallClassName") & ""<>"" then
response.write "<a href='Download.asp?BigClassName=" & rs("BigClassName")&"&SmallClassName=" & rs("SmallClassName") & "'>" & rs("SmallClassName") & "</a> >> "
end if
response.write rs("Title")
%>
</TD>
<TD width="166"><div align="center"><a href="<%=rs("DownloadUrl")%>"><img src="Img/download.gif" width="85" height="25" border="0"></a></div></TD>
</TR>
<TR>
<TD
height=1 colspan="3" background=img/naBialym.gif><IMG height=1 src="img/1x1_pix.gif"
width=10></TD>
</TR>
<TR>
<TD height="1" colspan="3"><br> <%=rs("Content")%> </TD>
</TR>
<TR>
<TD
height=1 colspan="3" background=img/naBialym.gif><IMG height=1 src="img/1x1_pix.gif"
width=10></TD>
</TR>
<TR>
<TD
height=25><div align="right">点击数:<%=rs("Hits")%> <%= FormatDateTime(rs("UpdateTime"),2) %> 【<a href='javascript:history.back()'>返回</a>】</div></TD>
<TD
height=25><div align="center"><a href="<%=rs("DownloadUrl")%>"><img src="Img/download.gif" width="85" height="25" border="0"></a></div></TD>
</TR>
<TR>
<TD
height=1 colspan="3" background=img/naBialym.gif><IMG height=1 src="img/1x1_pix.gif"
width=10></TD>
</TR>
<TR>
<TD
height=1 colspan="3"> </TD>
</TR>
<TR>
<TD
height=1 colspan="3"> </TD>
</TR>
</TBODY>
</TABLE></TD>
</TR>
</TBODY>
</TABLE>
<!-- #include file="Inc/Foot.asp" -->
</BODY></HTML>
<%
end if
rs.close
set rs=nothing
call CloseConn()
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -