|
|
再在下面添加代码(这里的代码就是前台显示的,可自己修改):
| 以下是引用片段: %> <div> <table height=80 cellSpacing=0 cellPadding=0 width=500 align=center border=0> <tr> <td></td> </tr> </table> <table class=Guest_border cellSpacing=1 cellPadding=0 width=500 align=center border=0> <tr> <td vAlign=top align=middle> <table class=Guest_title cellSpacing=0 cellPadding=0 width="100%" border=0> <tr> <TH><%=SiteName%>—友情提示!</TH> </tr> </table> </td> </tr> <tr> <td class=Guest_tdbg vAlign=top align=middle> <table height=15 cellSpacing=0 cellPadding=0 width="80%" border=0> <tr> <td></td> </tr> </table> <table height="100%" cellSpacing=0 cellPadding=0 width="80%" border=0> <tr> <td class=TableRow1 vAlign=center height=25> <LI>软件名称 -- <font color=#990000><%=SoftName%></font></LI></td> </tr> <tr> <td class=TableRow1 vAlign=center height=25> <LI>我要报错 -- 如果您发现该软件不能下载,请点击【<A href="DownError.asp?SoftID=<%=SoftID%>"><FONT color=red><B>报错</B></FONT></A>】,谢谢!</LI></td> </tr> <tr> <td class=TableRow1 vAlign=center height=25> <LI><A href="<%=DownloadUrl%>"><FONT color=blue>立即下载</FONT> -- <%=SoftName%></A></LI></td> </tr> </table> <table height=15 cellSpacing=0 cellPadding=0 width="80%" border=0> <tr> <td></td> </tr> </table> </td> </tr> <tr> <td class=Guest_tdbg vAlign=top align=middle> <table class=Guest_border2 style="TABLE-LAYOUT: fixed" cellSpacing=0 cellPadding=0 width="100%" border=0> <tr> <td class=TableRow2 align=middle><A href="<%=SiteUrl%>">返回首页</A> | <A href="javascript:window.close()">关闭窗口</A></td> </tr> </table> </td> </tr> </table> </div> <% 注:%>和<%中间的代码,可以在后台添加为自定义页面(如:ShowSoftDown_s.asp)再生成,保存在soft/下面,再在这里调用,<!--#include file="ShowSoftDown_s.asp"-->。这样就不用为换模板风格不统一而发愁了。而且可以添加页面标题和关键字等内容。如: <title><%=SiteName%> >> 下载中心 >> 软件名称:<%=SoftName%>-<%=SoftVersion%></title> |
五、把这个文件再上传上去,前台随便点一个软件进行下载,看看效果。^_^,搞定就这么简单。
网友评论:(评论内容只代表网友观点,与本站立场无关!) |
阅读排行
|