东莞长安哪里淘宝培训

如何才可以ASPcms去前后台版权干干净净?

如何才可以ASPcms去前后台版权干干净净?最近一些朋友在群里问ASPcms去前后台版权干是不是没法去干净?其实现在小郭网络营销告诉你是可以的,下面说说具体修改方法,当然,笔者还是建议尊重别人劳动成果,没必要的情况下,就保留版权吧!所谓做人要厚道…
找到\inc\AspCms_MainClass.asp然后打开,并删除以下代码: & "- Powered by <a href='http://www.aspcms.com' target='_blank'& gt;<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>&copy; 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;

}

 

分享到: QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
前一篇:怎么样把百度地图调用到公司的网站上面,并进行标注公司联系方式 后一篇:如何刷淘宝销量才最安全不被惩罚?taobao刷钻怎么刷?
标签:ASPcms去前后台版权
分类:东莞网站设计与美工荟萃| 发布:小郭| 查看: | 发表时间:2013-11-16
原创文章如转载,请注明:转载自东莞电子商务 http://www.gdhaoyou.com/
本文链接:http://www.gdhaoyou.com/post/ASPcms_3914.html

相关文章

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。