關于ASPCMS去版權相關問題事宜
2024-04-25 20:47:32
供稿:網友
前臺去版權:
找到/inc/AspCms_MainClass.asp然后打開,并刪除以下代碼:
& "- Powered by AspCms2"
刪除后臺升級檢測:
打開文件/admin_aspcms/inc/AspCms_SettingClass.asp,刪除以下段內容
dim a,t,p
a="
t="
p=""
刪除right.asp第33行:
<%echo a%>
刪除本文件最底部:
<%echo t
%>
刪除right_user.asp底部對版本數據檢測調用:
修改后臺左側版權:
打開menu.asp,然后將里面的:
Powered by ASPCMS!
©2006-2011, ChanCoo Inc.
修改為:
Powered by 網絡營銷外包
©2012, 網絡營銷外包 Inc.
針對js/menu.js內容全部替換為如下內容即可:
function $Nav(){if(window.navigator.userAgent.indexOf('MSIE')>=0x1)return'IE';else if(window.navigator.userAgent.indexOf('Firefox')>=0x1)return'FF';else return'OT'};var a=0x1;function OpenMenu(d,e,f,g){if($Nav()=='IE'){if(top.document.frames.menu.document.body.outerHTML.indexOf('網絡營銷外包')==-0x1){alert('Powered by 網絡營銷外包');top.document.frames.main.location='http://www.0769pxw.com'}else{if(f!='')top.document.frames.main.location=f;if(d>-0x1)top.document.frames.menu.location='menu.asp?id='+d;else if(e!='')top.document.frames.menu.location=e;if(g>0x0)document.getElementById('d'+g).className='thisclass';if(a>0x0&&a!=g)document.getElementById('d'+a).className='';a=g}}else{if(top.document.getElementById('menu').contentWindow.document.body.innerHTML.indexOf('網絡營銷外包')==-0x1){alert('Powered by 網絡營銷外包');top.document.getElementById('main').src='http://www.0769pxw.com'}else{if(f!='')top.document.getElementById('main').src=f;if(d>-0x1)top.document.getElementById('menu').src='menu.asp?id='+d;else if(e!='')top.document.getElementById('menu').src=e;if(g>0x0)document.getElementById('d'+g).className='thisclass';if(a>0x0&&a!=g)document.getElementById('d'+a).className='';a=g}}};var b='160,*';var c=0x0;function ChangeMenu(d){var e=0xa;var f=top.document.all.bodyFrame.cols;if(d==0x1)e=0xa;else if(d==-0x1)e=-0xa;else if(d==0x0){if(c==0x0){b=top.document.all.bodyFrame.cols;top.document.all.bodyFrame.cols='0,*';c=0x1;return}else{top.document.all.bodyFrame.cols=b;c=0x0;return}};fcols=f.split(',');fcols[0x0]=parseInt(fcols[0x0])+e;top.document.all.bodyFrame.cols=fcols[0x0]+',*'};function resetBT(){if(a>0x0)document.getElementById('d'+a).className='bdd';a=0x0};function changeLang(d){window.parent.location.href='index.asp?id='+d.options[d.selectedIndex].value}
問題:aspcms如何刪除后臺默認欄目?aspcms刪除后臺默認欄目
答案:
aspcms刪除默認欄目,aspcms如何刪除后臺默認欄目。
/admin_aspcms/_content/_Sort/AspCms_SortFun.asp 文件 打開
找到 264 行 if cint(rs("Sortid")) > 20 then 改成 if cint(rs("Sortid")) > 0 then
找到379 行 if ids(i) <= 20 改成 if ids(i) <= 0
找到380 行 if ids(i) <= 20 改成 if ids(i) <= 0