首页建站经验 ASPcms如何去掉前后台版权

ASPcms如何去掉前后台版权

找到/inc/AspCms_MainClass.asp然后打开,并删除以下代码: & "- Powered by AspCms2"

删除后台升级检测:打开文件/admin_aspcms/inc/AspCms_SettingClass.asp,删除以下段内容 di…

找到/inc/AspCms_MainClass.asp然后打开,并删除以下代码: & "- Powered by AspCms2"

删除后台升级检测:打开文件/admin_aspcms/inc/AspCms_SettingClass.asp,删除以下段内容 dim a,t,pa=""t=""p=""

right.asp删除

删除right_user.asp底部对版本数据检测调用:



修改后台左侧版权:打开menu.asp,然后将里面的:

Powered by ASPCMS!

©2006-2011, ChanCoo Inc.

删除


然后把js/menu.js内容全部替换为如下内容即可

function $Nav(){

if(window.navigator.userAgent.indexOf("MSIE")>=1) return 'IE';

  else if(window.navigator.userAgent.indexOf("Firefox")>=1) return 'FF';

  else return "OT";

}



var preID = 1;



function OpenMenu(cid,lurl,rurl,bid){

   if($Nav()=='IE'){

     if(rurl!='') top.document.frames.main.location = rurl;

     if(cid > -1) top.document.frames.menu.location = 'menu.asp?id='+cid;

     else if(lurl!='') top.document.frames.menu.location = lurl;

     if(bid>0) document.getElementById("d"+bid).className = 'thisclass';

     if(preID>0 && preID!=bid) document.getElementById("d"+preID).className = '';

     preID = bid;

   }else{



     if(rurl!='') top.document.getElementById("main").src = rurl;

     if(cid > -1) top.document.getElementById("menu").src = 'menu.asp?id='+cid;

     else if(lurl!='') top.document.getElementById("menu").src = lurl;

     if(bid>0) document.getElementById("d"+bid).className = 'thisclass';

     if(preID>0 && preID!=bid) document.getElementById("d"+preID).className = '';

     preID = bid;

   }

}



var preFrameW = '160,*';

var FrameHide = 0;



function ChangeMenu(way){

var addwidth = 10;

var fcol = top.document.all.bodyFrame.cols;

if(way==1) addwidth = 10;

else if(way==-1) addwidth = -10;

else if(way==0){

if(FrameHide == 0){

preFrameW = top.document.all.bodyFrame.cols;

top.document.all.bodyFrame.cols = '0,*';

FrameHide = 1;

return;

}else{

top.document.all.bodyFrame.cols = preFrameW;

FrameHide = 0;

return;

}

}

fcols = fcol.split(',');

fcols[0] = parseInt(fcols[0]) + addwidth;

top.document.all.bodyFrame.cols = fcols[0]+',*';

}



function resetBT(){

if(preID>0) document.getElementById("d"+preID).className = 'bdd';

preID = 0;

}

function changeLang(sel){

window.parent.location.href = "index.asp?id="+sel.options[sel.selectedIndex].value;

}
本文来自网络,不代表1号站长-站长学院|资讯交流平台立场。转载请注明出处: https://www.1cn.cc/jianzhan/jingyan/20935.html
上一篇ASPCMS新手教程常见问题
下一篇 什么是已过期域名?怎样抢注域名?
admin

作者: admin

这里可以再内容模板定义一些文字和说明,也可以调用对应作者的简介!或者做一些网站的描述之类的文字或者HTML!

为您推荐

评论列表()

    联系我们

    联系我们

    0898-88888888

    在线咨询: QQ交谈

    邮箱: email@wangzhan.com

    工作时间:周一至周五,9:00-17:30,节假日休息

    关注微信
    微信扫一扫关注我们

    微信扫一扫关注我们

    关注微博
    返回顶部