1、删掉后台登陆页面广告
2、先找到后台文件:login.htm,该文件具体位置在网站根目录下面的dede\templets\login.htm。找到下面代码删除即可:<div><iframe name=”loginad” src=”login.php?dopost=showad” frameborder=”0″ id=”loginad” scrolling=”no” marginwidth=”0″ marginheight=”0″ width=”100%”></iframe></div>
3、版权声明信息
4、同样在login.htm中找到如下代码删除:<div>Powered by<a href=”http://www.dedecms.com” title=”DedeCMS官网”><strong>DedeCMS<?php echo $cfg_version; ?></strong></a>© 2004-2011 <a href=”http://www.desdev.cn” target=”_blank”>DesDev</a> Inc.</div> </div>
5、删除网站系统主页广告:
6、主要去掉的部分为:赞助商链接,开发团队,商业授权查询,首先,打开/dede/index_body.php,在文件最末尾处找到如下代码:<?phpexit;} else if ($dopost==’showauth’){include(‘templets/index_body_showauth.htm’);exit; } else if ($dopost==’showad’) {include(‘templets/index_body_showad.htm’);exit; } ?>修改为:<?phpexit;}?>然后,删除/dede/templets/index_body_showauth.htm 和 /dede/templets/index_body_showad.htm 文件即可。
7、删除赞助商链接
8、打开/dede/index_body.php,在文件最末尾处找到如下代码:<dl class=’dbox’ id=”item8″><dt class=’lside’><div class=’l'>赞助商链接(<a href=”http://ad.dedecms.com/ad/” target=”_blank”>说明</a>)</div></dt><dd><iframe name=”showad” src=”index_body.php?dopost=showad” frameborder=”0″ width=”100%” id=”showad” frameborder=”0″ scrolling=”no” marginheight=”5″></iframe></dd></dl><!–赞助商链接结束–>