论坛风格切换切换到宽版
  • 9818阅读
  • 2回复

[原创]只有点击广告后才能下载! [复制链接]

上一主题 下一主题
离线qiaoer
 

只看楼主 倒序阅读 使用道具 楼主  发表于: 2006-01-22










参考页面:

http://www.chinamx.net/Soft_View.asp?id=460


Soft_View.asp页面源文件内容:
<!--#include file="top.asp"-->
<!--#include file="inc/getSoftView.asp"-->
<table width="774" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
<tr>
<td width="206" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td></td>
<td height="13"></td>
<td background="skin/1/leftBorder.gif"></td>
</tr>
<tr>
<td width="15"> </td>
<td valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="skin/1/MemberLogin.gif" width="169" height="46"></td>
</tr>
<tr>
<td valign="top" background="skin/1/leftMenuBg.gif"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="6%"> </td>
<td width="89%" height="120" valign="top"><%=DisplayLoginForm("loginForm.asp")%></td>
<td width="5%"> </td>
</tr>
</table></td>
</tr>
<tr>
<td height="30" background="skin/1/leftMenuBottom.gif"></td>
</tr>
</table></td>
<td width="22" background="skin/1/leftBorder.gif"> </td>
</tr>
<tr>
<td> </td>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="49" align="left" background="skin/1/channel.gif"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="24%"> </td>
<td width="76%" height="30" valign="bottom"><span class="style1" style="color: #FF8C00; font-weight: bold">同级分类</span></td>
</tr>
</table></td>
</tr>
<tr>
<td valign="top" background="skin/1/leftMenuBg.gif"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="6%"> </td>
<td width="89%" height="120" valign="top"><%=DisplayType("Soft",Request.QueryString("parentID"),5,true,"images/dot2.gif",true,"(RSS)",6,ZD_SoftListPath)%></td>
<td width="5%"> </td>
</tr>
</table></td>
</tr>
<tr>
<td height="30" background="skin/1/leftMenuBottom.gif"></td>
</tr>
</table></td>
<td background="skin/1/leftBorder.gif"> </td>
</tr>
</table></td>
<td valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="13" bgcolor="#FFFFFF"></td>
</tr>
<tr>
<td><table width='100%' height="358" border=1 cellpadding=4 cellspacing=0 bordercolorlight=#EDEDED bordercolordark=#FFFFFF>
<tr>
<td align=center>软件名称:</td>
<td align="center" class="menuTitle"><%=softTitle%></td>
<td width='30%' rowspan=10 align=center valign="middle"><%=SoftImg%></td>
</tr>
<tr>
<td align=center width='16%'>软件类别:</td>
<td width='54%'><%=softType%> | <%=softLan%></td>
</tr>
<tr>
<td height="28" align=center>运行环境:</td>
<td><%=softRunOs%></td>
</tr>
<tr>
<td align=center>软件大小:</td>
<td><%=softBulk%></td>
</tr>
<tr>
<td align=center>推荐等级:</td>
<td><font color="#0099FF"><%=softStar%> </font></td>
</tr>
<tr>
<td align=center>下载次数:</td>
<td><%=softHits%></td>
</tr>
<tr>
<td align=center>软件作者:</td>
<td><%=softAuthor%></td>
</tr>
<tr>
<td align=center>授权方式:</td>
<td><%=SoftAccredit%></td>
</tr>
<tr>
<td align=center>下载权限:</td>
<td><%=SoftDownLevel%></td>
</tr>
<tr>
<td align=center>发布日期:</td>
<td><%=softAddtime%></td>
</tr>
<tr>
<td align=center>下载地址:</td>
<td colspan=2><%=softUrl%></td>
</tr>
<tr height=50 valign=top>
<td align=center>软件备注:</td>
<td colspan=2><table borer=0 width='100%' class=tf>
<tr>
<td><%=softMessage%></td>
</tr>
</table></TD>
</TR>
</TABLE></td>
</tr>
<tr>
<td> </td>
</tr>
</table></td>
</tr>
</table>
<!--#include file="Bottom.asp"-->
</body>
</html>


将红色部分的替换成下列代码即可:
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD> <SCRIPT language=JavaScript type=text/javascript>
<!--
function will() {
if (event.srcElement.tagName=='A'||event.srcElement.tagName=='IMG') {
window.focus();
oUrl.style.display = "";
yAd.style.display = "none";
}
}
//-->
</SCRIPT>
<DIV id=yAd>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR align="left">
<TD align="center">
<span id="A" onclick="will()"><font color="#FF0000" >◆支持网站发展点击下面广告显示下载地址,谢谢!◆</font>
<a href="" target="_blank" onclick="will()">
<script src="http://www.3.ads99.net/banner.php?userid=chinamx";></script> </a></span>
</TD>
</TR>
<TR>
<TD align="center"><a href="http://www.heima8.com/reg.htm?arg1=chinamx&arg2=b0d1525271af4628295b6eb70029d2dd"; target="_blank" onclick="will()"><img src="http://www.heima8.com/images/yq_468.jpg"; alt="黑马帮" width="468" height="60" border="0"></a>
</TD>
</TR>
<TBODY>
</TABLE>
</DIV></TD>
</TR><TBODY></table> </td> </tr></table>
<DIV id=oUrl style="DISPLAY:none">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td> <%=softUrl%> </td>
</tr></table></DIV>
离线欧阳菲菲
只看该作者 沙发  发表于: 2006-01-24

晕啊,阳光GG!都是什么啊?能不能搞得通俗一点啊?

一只喜欢晒太阳的猫
离线美丽心情

只看该作者 板凳  发表于: 2006-01-25
这是什么技术啊?
[此贴子已经被作者于2006-1-25 14:00:06编辑过]
岁月无悔,心永飞扬!
快速回复
限100 字节
如果您提交过一次失败了,可以用”恢复数据”来恢复帖子内容
 
上一个 下一个