dedecms后台的广告是处女座站长们的一个噩梦,为什么无忧主机小编这么说呢?有很多站长朋友购买php空间之后。他说怎么dedecms后台有这么多的广告存在呢?是不是您们主机的问题呢?这个后台的广告肯定是源码自带的,在本地安装也是会有的,所以为了避免这个问题,无忧主机小编花了不少的功夫去需找这方面的资料,介绍一步步的跟着无忧主机小编的步伐吧。 1、清理DeDecms后台的广告 文件路径:dede/templets/login.htm(查找以下代码将其删除保存)
<div><iframe name=”loginad” src=”login.php?dopost=showad” frameborder=”0″ id=”loginad” scrolling=”no” marginwidth=”0″ m2、清理DeDecms后台登录后默认首页的广告 文件路径:dede/index_body 查找以下代码删除即可,或者是在<?php ?>里面写入exit即可。:
<?phpexit;} else if ($dopost==’showauth’){include(‘templets/index_body_showauth.htm’);exit;} else if ($dopost==’showad’){include(‘templets/index_body_showad.htm’);exit;}?>3、清理中间赞助商链接里面的广告帖子全部删除,如何清理删除赞助商链接整体: 文件路径:dede/templets/index_body.htm找到以下代码将其删除保存:
del datetime=”2011-03-09T00:10:42+00:00″> <dl class=’dbox’ id=”item8″><dt class=’lside’><div class=’l’>赞助商链接(<a href=”#” 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><!–赞助商链接结束–>
新闻热点
疑难解答
图片精选