index_soft_show.asp

来自「基于ASP的教育网站」· ASP 代码 · 共 223 行

ASP
223
字号
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="DT_inc/SQL_injection.asp"-->
<!--#include file="Connections/connDB.asp" -->
<!--#include file="Advert.asp"-->
<!--#include file = "editor/Include/DeCode.asp"-->
<%
Dim RsSiteConfig
Dim RsSiteConfig_numRows

Set RsSiteConfig = Server.CreateObject("ADODB.Recordset")
RsSiteConfig.ActiveConnection = MM_connDB_STRING
RsSiteConfig.Source = "SELECT * FROM tSiteConfig"
RsSiteConfig.CursorType = 0
RsSiteConfig.CursorLocation = 2
RsSiteConfig.LockType = 1
RsSiteConfig.Open()

RsSiteConfig_numRows = 0
%>
<%
Dim RsSoft__MMColParam
RsSoft__MMColParam = "1"
If (Request.QueryString("fSoftID") <> "") Then 
  RsSoft__MMColParam = Request.QueryString("fSoftID")
End If
%>
<%
Dim RsSoft
Dim RsSoft_numRows

Set RsSoft = Server.CreateObject("ADODB.Recordset")
RsSoft.ActiveConnection = MM_connDB_STRING
RsSoft.Source = "SELECT * FROM tSoft WHERE fSoftID = " + Replace(RsSoft__MMColParam, "'", "''") + ""
RsSoft.CursorType = 0
RsSoft.CursorLocation = 2
RsSoft.LockType = 1
RsSoft.Open()

RsSoft_numRows = 0
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<SCRIPT RUNAT=SERVER LANGUAGE=VBSCRIPT>					
function DoDateTime(str, nNamedFormat, nLCID)				
	dim strRet								
	dim nOldLCID								
										
	strRet = str								
	If (nLCID > -1) Then							
		oldLCID = Session.LCID						
	End If									
										
	On Error Resume Next							
										
	If (nLCID > -1) Then							
		Session.LCID = nLCID						
	End If									
										
	If ((nLCID < 0) Or (Session.LCID = nLCID)) Then				
		strRet = FormatDateTime(str, nNamedFormat)			
	End If									
										
	If (nLCID > -1) Then							
		Session.LCID = oldLCID						
	End If									
										
	DoDateTime = strRet							
End Function									
</SCRIPT>
<HTML>
<HEAD>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="style_index.css" rel="stylesheet" type="text/css">
<title><%=(RsSiteConfig.Fields.Item("fSiteTitle").Value)%></title>
</HEAD>
<BODY bgColor=#ffffff leftMargin=0 topMargin=2>
<!--#include file="index_top.asp"-->
<TABLE cellSpacing=0 cellPadding=0 width=765 align=center border=0>
  <TR>
    <TD width=765 colSpan=3></TD>
  <TR>
    <TD vAlign=top width=195 background=images/index_4.gif>
	  <!--#include file="index_NewNotice.asp"-->
      <!--#include file="index_NewSoftDown.asp" -->
	  <!--#include file="index_SoftDown_Hot.asp" -->
    </TD>
    <TD width=8 background=images/index_5.gif height=35>&nbsp;</TD>
    <TD vAlign=top align=middle width=562 bgColor=#f9f9f9><TABLE cellSpacing=0 cellPadding=0 width=99% border=0>
        <TR>
          <TD width="16"><IMG height=41 src="images/index1_1.gif" width=16></TD>
          <TD width=270 background=images/index1_2.gif 
                      height=41><div align="left"><IMG src="images/d5.gif">&nbsp;<%=(RsSoft.Fields.Item("fClassName").Value)%></div></TD>
          <TD width="411" background=images/index1_5.gif><div align="left"><IMG 
                        height=41  src="images/index1_4.gif" 
                        width=30></div></TD>
          <TD width=15><IMG height=41  
                        src="images/index1_7.gif" width=14></TD>
        </TR>
        <TR>
          <TD background=images/index1_8.gif></TD>
          <TD vAlign=top background=images/index1_9.gif 
                      colSpan=2><br>
            <table width="100%" align="center" >
              <tr>
                <td><div align="center" class="tittleName"><%=(RsSoft.Fields.Item("fSoftName").Value)%>&nbsp;<%=(RsSoft.Fields.Item("fSoftVersion").Value)%></div></td>
              </tr>
              <tr>
                <td><TABLE align=center bgColor=#CCCCCC border=0 cellPadding=2 
            cellSpacing=1 style="WORD-BREAK: break-all" width="100%">
                    <TBODY>
                      <TR bgColor=#fffffe>
                        <TD><div align="left">软件类别: <%=(RsSoft.Fields.Item("fSoftType").Value)%></div></TD>
                        <TD width="305" rowspan="11"><%Call Advert ("下载软件预览图位")%>

                        </TD>
                      </TR>
                      <TR bgColor=#fffffe>
                        <TD><div align="left">软件语言: <%=(RsSoft.Fields.Item("fSoftLanguage").Value)%></div></TD>
                      </TR>
                      <TR bgColor=#fffffe>
                        <TD><div align="left">授权方式: <%=(RsSoft.Fields.Item("fCopyrightType").Value)%> </div></TD>
                      </TR>
                      <TR bgColor=#fffffe>
                        <TD><div align="left">文件大小:&nbsp;<%=(RsSoft.Fields.Item("fSoftSize").Value)%></div></TD>
                      </TR>
                      <TR bgColor=#fffffe>
                        <TD><div align="left">运行环境:&nbsp;<%=(RsSoft.Fields.Item("fOperatingSystem").Value)%></div></TD>
                      </TR>
                      <TR bgColor=#fffffe>
                        <TD><div align="left">软件评价:&nbsp;</div></TD>
                      </TR>
                      <TR bgColor=#fffffe>
                        <TD><div align="left">下载次数:&nbsp;<%=(RsSoft.Fields.Item("fHits").Value)%>次 </div></TD>
                      </TR>
                      <TR bgColor=#fffffe>
                        <TD><div align="left">添加时间:&nbsp;<%= DoDateTime((RsSoft.Fields.Item("fUpdateTime").Value), 2, -1) %></div></TD>
                      </TR>
                      <TR bgColor=#fffffe>
                        <TD><div align="left">开 发 商: <%=(RsSoft.Fields.Item("fAuthor").Value)%></div></TD>
                      </TR>
                      <TR bgColor=#fffffe>
                        <TD bgcolor="#fffffe"><div align="left">相关链接:&nbsp;<a href="<%=(RsSoft.Fields.Item("fDemoUrl").Value)%>">程序演示</a> </div></TD>
                      </TR>
                      <TR bgColor=#fffffe>
                        <TD><div align="left">解压密码:</div></TD>
                      </TR>
                    </TBODY>
                  </TABLE></td>
              </tr>
              <tr>
                <td><div align="left">::软件简介::</div></td>
              </tr>
              <tr>
                <td><div align="left"><%=(RsSoft.Fields.Item("fSoftIntro").Value)%></div></td>
              </tr>
              <tr>
                <td bgcolor="#FFFFFE"><div align="left" class="redtext">::下载地址::</div></td>
              </tr>
              <tr>
                <td><table width="98%" border="0" align="center">
                    <tr>
                      <td width="100"><div align="left"> <img src="images/soft_download.gif" alt="下载" width="21" height="16"> <a href="<%=(RsSoft.Fields.Item("fDownloadUrl1").Value)%>">本地下载</a>&nbsp;</div></td>
                      <td rowspan="5">&nbsp;</td>
                    </tr>
                    <tr>
                      <td><div align="left"> <img src="images/soft_download.gif" alt="下载" width="21" height="16"> <a href="<%=(RsSoft.Fields.Item("fDownloadUrl2").Value)%>">下载地址2</a></div></td>
                    </tr>
                    <tr>
                      <td><div align="left"> <img src="images/soft_download.gif" alt="下载" width="21" height="16"> <a href="<%=(RsSoft.Fields.Item("fDownloadUrl3").Value)%>">下载地址3</a></div></td>
                    </tr>
                    <tr>
                      <td><div align="left"> <img src="images/soft_download.gif" alt="下载" width="21" height="16"> <a href="<%=(RsSoft.Fields.Item("fDownloadUrl4").Value)%>">下载地址4</a></div></td>
                    </tr>
                    <tr>
                      <td><div align="left"> <img src="images/soft_download.gif" alt="下载" width="21" height="16" /> <a href="http://search.union.3721.com/click/search.htm?fw=union&m=211827&p=1006&name=<%=(RsSoft.Fields.Item("fSoftName").Value)%>" target=_blank>更多下载</a></div>
					  </td>
                    </tr>
                  </table></td>
              </tr>
              <tr>
                <td>&nbsp;</td>
              </tr>
              <tr>
                <td>&nbsp;</td>
              </tr>
              <tr>
                <td><div align="left">::下载说明::</div></td>
              </tr>
              <tr>
                <td><div align="left">*&nbsp;为了达到最快的下载速度,推荐使用[<a href="http://search.union.3721.com/click/search.htm?fw=union&m=211827&p=1006&name=网际快车" target=_blank>网际快车</a>]或[<a href="http://search.union.3721.com/click/search.htm?fw=union&m=211827&p=1006&name=迅雷" target=_blank>迅雷</a>]下载本站软件。<br>
                    *&nbsp;如果您发现该软件&quot;本地下载 &quot;不能下载,请使用本地下载 2,3或4下载,同时请通知管理员,谢谢! 
                    <br>
                    *&nbsp;未经本站明确许可,任何网站不得非法盗链及抄袭本站资源;如引用页面,请注明来自本站,谢谢您的支持!</div></td>
              </tr>
            </table></TD>
          <TD width=15 background=images/index1_10.gif 
                      height=100></TD>
        </TR>
        <TR>
          <TD><IMG height=18  
                        src="images/index1_11.gif" width=16></TD>
          <TD background=images/index1_12.gif 
                      colSpan=2></TD>
          <TD width=15><IMG height=18  
                        src="images/index1_13.gif" 
                  width=14></TD>
        </TR>
      </TABLE></TD>
  </TR>
</TABLE>
<%Call Advert ("首页底部横条")%>
<!-- #include file="FrendSite_bottom.asp"-->
<!-- #include file="index_bottom.asp"-->
<%
RsSiteConfig.Close()
Set RsSiteConfig = Nothing
%>
<%
RsSoft.Close()
Set RsSoft = Nothing
%>
</BODY>
</HTML>

⌨️ 快捷键说明

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