删除dedecms织梦后台登陆页广告


在网站中不能少的就是广告,在dedecms织梦网站后台登陆页中默认也是有广告的,这些广告确实也会影响到网站后台的加载速度,所以如果不想要的话也是可以删除的。

删除网站后台登陆页广告:

后台登陆的默认系统文件是/dede/login.php文件,使用的模板是uploads\dede\templets\login.htm
打开uploads\dede\templets\login.htm文件
找到最下面的代码:
<div class=”dede-iframe”><iframe name=”loginad” src=”login.php?dopost=showad” frameborder=”0″ id=”loginad” scrolling=”no”
marginwidth=”0″ marginheight=”0″ width=”100%”></iframe></div>
删除以上代码即可去除登陆页的广告。

删除后台系统菜单中的赞助商广告:

打开uploads\dede\templets\index_body.htm文件
找到
        <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> dedecms.com
            </dd>
        </dl><!–赞助商链接结束–>
删除代码中的框架代码,即
<iframe name=”showad” src=”index_body.php?dopost=showad” frameborder=”0″ width=”100%” id=”showad” frameborder=”0″ scrolling=”no” 
marginheight=”5″></iframe>