www.gusucode.com > 绿色环保工作企业网站源码程序 > DownloadShow.asp
<!--#include file="Inc/SysDown.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 %> <!-- #include file="Head.asp" --> <script language="JavaScript"> <!-- function zoom_img(e, o) { var zoom = parseInt(o.style.zoom, 10) || 100; zoom += event.wheelDelta / 12; if (zoom > 0) o.style.zoom = zoom + '%'; return false; } //--> </script> <table width="963" border="0" align="center" cellpadding="0" cellspacing="0"> <tbody> <tr> <td valign="top" width="260"><link href="imgbej/style.css" type="text/css" rel="stylesheet" /> <table cellspacing="0" cellpadding="0" width="260" border="0"> <tbody> <tr> <td><img height="61" src="imgbej/down.gif" width="254" /></td> </tr> <tr> <td valign="top" align="middle" background="imgbej/left_pro_nrbg.gif" height="70"><img height="62" src="imgbej/left_pro_img.gif" width="238" /></td> </tr> <tr> <td background="imgbej/left_pro_nrbg.gif" ><table cellspacing="0" cellpadding="0" width="238" align="center" border="0"> <tbody> <tr> <td><img height="2" src="imgbej/left_pro_topcn.gif" width="238" /></td> </tr> <tr> <td background="imgbej/left_pro_nrbg2.gif"> <table cellspacing="0" cellpadding="0" width="99%" border="0"> <tbody> <tr> <td width="100%"><% call ShowSmallClass_Down_Tree()%></td> </tr> </tbody> </table></td> </tr> <tr> <td><img height="26" src="imgbej/left_pro_bottomcn.gif" width="238" /></td> </tr> </tbody> </table></td> </tr> <tr> <td valign="top" align="left" background="imgbej/search_bg.gif" height="145"> <!--#include file="qq.asp" --> </td> </tr> <tr> <td height="10"></td> </tr> </tbody> </table></td> <td width="22"></td> <td valign="top"><table cellspacing="0" cellpadding="0" width="100%" border="0"> <tbody> <tr> <td background="imgbej/index_btbg.gif"><table cellspacing="0" cellpadding="0" width="98%" border="0"> <tbody> <tr> <td width="254" height="61" background="imgbej/titbg.gif" class="about1">下载中心</td> <td valign="top"><table cellspacing="0" cellpadding="0" width="100%" border="0"> <tbody> <tr> <td height="8"></td> </tr> <tr> <td align="right" height="25"><img height="9" src="imgbej/dot_nydh.gif" width="9" align="absmiddle" /> <font color="#5b9832">下载中心</font> << <a class="ptcss_nr" href="index.asp" >首页</a>:您的位置</td> </tr> </tbody> </table> </td> </tr> </tbody> </table></td> </tr> <tr> <td height="10"></td> </tr> <tr> <td> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="490" height="30"><% 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> </tr> <tr> <td colspan="2"><br /> <table width="100%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#CCCCCC" > <tr class='MC_DoShow_T1Tr1'> <td height="30" colspan="2" bgcolor="#FFFFFF"> <%=rs("Title")%></td> </tr> <tr bgcolor="#FFFFFF" > <td width="419" height="40" > 软件语言:<%=rs("Language")%></td> <td width="256" rowspan="5" align="center"><img src="<%if rs("PhotoUrl")="" then%>Img/nopic.gif<%else%><%=rs("PhotoUrl")%><%end if%>" alt="<%=rs("title")%>" width="200" height="170" border="0" /></td> </tr> <tr> <td height="40" bgcolor="#FFFFFF" > 文件大小:<%=rs("FileSize")%></td> </tr> <tr> <td height="40" bgcolor="#FFFFFF"> 运行环境:<%=rs("System")%></td> </tr> <tr> <td height="40" bgcolor="#FFFFFF" > 整理日期:<%=FormatDateTime(rs("AddDate"),2)%></td> </tr> <tr> <td height="40" bgcolor="#FFFFFF" > 下载次数:<%=rs("Hits")%></td> </tr> </table> <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td height="35" ><a href="<%=rs("DownloadUrl")%>" target="_blank"><img src="img/down.gif" width="89" height="28" border="0" /></a></td> </tr> <tr> <td height="45" class="tit-3" style="font-weight: bold">下载说明</td> </tr> </table> <table width="95%" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td height="10"></td> </tr> <tr> <td><FONT face=Verdana><%=rs("Content")%></FONT></td> </tr> </table></td> </tr> <tr> <td height="19"><div align="right">【<a href='javascript:history.back()' class="link1">返回</a>】</div> <div align="center"></div></td> </tr> </table> </td> </tr> <tr> <td> </td> </tr> </tbody> </table></td> </tr> </tbody> </table> <!--#include file="Foot.asp" --> <% end if rs.close set rs=nothing call CloseConn() %>