ASPcms如何去掉前后台版权
1个回答
展开全部
应该算是完整的去除了,模版文件可以自己很直观的去除除外。去除方法如下:
找到\inc\AspCms_MainClass.asp然后打开,并删除以下代码:
& "- Powered by <a href='http://www.aspcms.com' target='_blank'><font color='#5C5C5C'>AspCms2</font></a>"
删除后台升级检测:打开文件\admin_aspcms\inc\AspCms_SettingClass.asp,删除以下段内容:
dim a,t,pa="<s"&"cript type=""te"&"xt/javascript"" s"&"rc='htt"&"p://up.aspc"&"ms.com/"&"ad/ad"&".a"&"sp'></scr"&"ipt>"t="<s"&"cript type=""te"&"xt/javascript"" s"&"rc='htt"&"p://up.aspc"&"ms.com/"&"version/version"&".asp"&"?ver="&aspcmsVersion&"'></scr"&"ipt>"p=""
right.asp删除<echo a%> <echo t%>;
删除right_user.asp底部对版本数据检测调用:
<echo a%>
<script type="text/javascript" src='http://up.aspcms.com/version/version.asp?ver=<%=aspcmsVersion%>'></script>
修改后台左侧版权:打开menu.asp,删除以下内容:
<p>Powered by <A class=txt_C1 href="http://www.aspcms.com/" target=_blank>ASPCMS!</A></p><p>©2006-2011, <A class=txt_C1 href="http://www.Chancoo.com/" target=_blank>ChanCoo</A> Inc.</p>
然后把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;
}
找到\inc\AspCms_MainClass.asp然后打开,并删除以下代码:
& "- Powered by <a href='http://www.aspcms.com' target='_blank'><font color='#5C5C5C'>AspCms2</font></a>"
删除后台升级检测:打开文件\admin_aspcms\inc\AspCms_SettingClass.asp,删除以下段内容:
dim a,t,pa="<s"&"cript type=""te"&"xt/javascript"" s"&"rc='htt"&"p://up.aspc"&"ms.com/"&"ad/ad"&".a"&"sp'></scr"&"ipt>"t="<s"&"cript type=""te"&"xt/javascript"" s"&"rc='htt"&"p://up.aspc"&"ms.com/"&"version/version"&".asp"&"?ver="&aspcmsVersion&"'></scr"&"ipt>"p=""
right.asp删除<echo a%> <echo t%>;
删除right_user.asp底部对版本数据检测调用:
<echo a%>
<script type="text/javascript" src='http://up.aspcms.com/version/version.asp?ver=<%=aspcmsVersion%>'></script>
修改后台左侧版权:打开menu.asp,删除以下内容:
<p>Powered by <A class=txt_C1 href="http://www.aspcms.com/" target=_blank>ASPCMS!</A></p><p>©2006-2011, <A class=txt_C1 href="http://www.Chancoo.com/" target=_blank>ChanCoo</A> Inc.</p>
然后把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;
}
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询
您可能需要的服务
百度律临官方认证律师咨询
平均3分钟响应
|
问题解决率99%
|
24小时在线
立即免费咨询律师
16864人正在获得一对一解答
郑州都市传说6分钟前提交了问题
石家庄麦田守望1分钟前提交了问题
南京彩虹之旅3分钟前提交了问题