需要点击广告才能下载附件内容/游客需要点击广告才能查看全部内容
安装方法:一、点击广告才能下载附件。
./templates/default/viewthread_node.htm
查找:<div class="postattachlist">
<!--{if $post['imagelist']}-->
$post['imagelist']
<!--{/if}-->
<!--{if $post['attachlist']}-->
$post
<!--{/if}-->
</div>替换成:<!-- 点击广告才能下载 START -->
<div class="postattachlist">
<!--{if $post['imagelist']}-->
$post['imagelist']
<!--{/if}-->
<!--{if $post['attachlist']}-->
<script language="JavaScript" src="include/clickad2.js"></script>
<div id="yAd" style=" width: 100%; margin-top: 2em; border-bottom: 1px dashed {COMMONBORDER} !important; overflow: hidden; font-size: 12px;z-index:2;visibility: visible;">
<span id="A" onclick="will()"><font color="#FF0000" >◆支持网站发展点击下面广告显示下载地址,谢谢!◆</font><!-- 这句话可自行更改,或者将它由一张自定义的温馨提示图片替代 --><br/><a href=http://www.lanyudongli.com/ target="_blank">蓝雨动力</a><!-- 这里替换成你的广告链接,也可以加入多个通过后台自由定义代码生成一个后台可管理的广告代码 --></div>
<div id="oUrl" style=" width: 100%; margin-top: 2em; border-bottom: 1px dashed {COMMONBORDER} !important; overflow: hidden; font-size: 12px;z-index:1;DISPLAY:none;">$post</div>
<!--{/if}-->
</div><!-- 点击广告才能下载附件 END -->然后将附件中的clickad2.js上传至./include/目录下。后台更新缓存。
页:
[1]