国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 網(wǎng)站 > 建站經(jīng)驗(yàn) > 正文

ASPcms如何去掉前后臺版權(quán)

2024-04-25 20:47:42
字體:
供稿:網(wǎng)友
找到/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,刪除以下段內(nèi)容 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底部對版本數(shù)據(jù)檢測調(diào)用:
<echo a%>
<script type="text/javascript" src='http://up.aspcms.com/version/version.asp?ver=<%=aspcmsVersion%>'></script>

修改后臺左側(cè)版權(quán):打開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內(nèi)容全部替換為如下內(nèi)容即可

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;

}
發(fā)表評論 共有條評論
用戶名: 密碼:
驗(yàn)證碼: 匿名發(fā)表
主站蜘蛛池模板: 波密县| 五莲县| 全椒县| 泸水县| 蒲江县| 陇川县| 肇州县| 邹平县| 吴桥县| 阳高县| 东源县| 昆明市| 鄂温| 五大连池市| 钦州市| 华阴市| 洛浦县| 临西县| 保德县| 津南区| 庆城县| 昌都县| 兴海县| 昭平县| 连南| 长武县| 泰州市| 温宿县| 长白| 噶尔县| 南汇区| 门源| 屯门区| 永顺县| 施甸县| 蒲江县| 敖汉旗| 彭泽县| 隆安县| 墨竹工卡县| 会东县|