前台部分:
1:去掉頭部TITLE部分的ECSHOP演示站 Powered by ecshop
前者”ECSHOP演示站”在後台商店設置 – 商店標題修改
後者” Powered by ecshop”打開includes/lib_main.php
$page_title = $GLOBALS['_CFG']['shop_title'] . ‘ – ‘ . ‘Powered by ECShop’;
修改這裡的’Powered by ECShop
2.去掉友情鏈接部分
ECSHOP 和 [免費申請網店]
在後台的友情鏈接管理裡修改
3.去掉底部的Powered by Ecshop v 2.7.3
打開 js/common.js 也是版權亂飛的去除方法
刪除第244行:onload = function()
第244行函數如下:
onload = function() { var link_arr = document.getElementsByTagName(String.fromCharCode(65)); var link_str; var link_text; var regg, cc; var rmd, rmd_s, rmd_e, link_eorr = 0; var e = new Array(97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122 ); try { for(var i = 0; i < link_arr.length; i++) { link_str = link_arr.href; if (link_str.indexOf(String.fromCharCode(e[22], 119, 119, 46, e[4], 99, e[18], e[7], e[14], e[15], 46, 99, 111, e[12])) != -1) { if ((link_text = link_arr.innerText) == undefined) { throw “noIE”; } regg = new RegExp(String.fromCharCode(80, 111, 119, 101, 114, 101, 100, 46, 42, 98, 121, 46, 42, 69, 67, 83, e[7], e[14], e[15])); if ((cc = regg.exec(link_text)) != null) { if (link_arr.offsetHeight == 0) { break; } link_eorr = 1; break; } } else { link_eorr = link_eorr ? 0 : link_eorr; continue; } } } // IE catch(exc) { for(var i = 0; i < link_arr.length; i++) { link_str = link_arr.href; if (link_str.indexOf(String.fromCharCode(e[22], 119, 119, 46, e[4], 99, 115, 104, e[14], e[15], 46, 99, 111, e[12])) != -1) { link_text = link_arr.textContent; regg = new RegExp(String.fromCharCode(80, 111, 119, 101, 114, 101, 100, 46, 42, 98, 121, 46, 42, 69, 67, 83, e[7], e[14], e[15])); if ((cc = regg.exec(link_text)) != null) { if (link_arr.offsetHeight == 0) { break; } link_eorr = 1; break; } } else { link_eorr = link_eorr ? 0 : link_eorr; continue; } } } // FF try { rmd = Math.random(); rmd_s = Math.floor(rmd * 10); if (link_eorr != 1) { rmd_e = i – rmd_s; link_arr[rmd_e].href = String.fromCharCode(104, 116, 116, 112, 58, 47, 47, 119, 119, 119,46, 101, 99, 115, 104, 111, 112, 46, 99, 111, 109); link_arr[rmd_e].innerHTML = String.fromCharCode( 80, 111, 119, 101, 114, 101, 100,38, 110, 98, 115, 112, 59, 98, 121,38, 110, 98, 115, 112, 59,60, 115, 116, 114, 111, 110, 103, 62, 60,115, 112, 97, 110, 32, 115, 116, 121,108,101, 61, 34, 99, 111, 108, 111, 114, 58, 32, 35, 51, 51, 54, 54, 70, 70, 34, 62, 69, 67, 83, 104, 111, 112, 60, 47, 115, 112, 97, 110, 62,60, 47, 115, 116, 114, 111, 110, 103, 62); } } catch(ex) { } }
再打開模板文件夾的 library/page_footer.lbi
刪除 {foreach from=$lang.p_y item=pv}{$pv}{/foreach}{$licensed}
後台部分:
1.去除兩張圖片
後台登陸時的ecshop圖標 admin/images/ecshop_logo.gif
登錄成功後左上角的ecshop圖標; admin/images/login.png
2.後台成功登錄後,右上角的“關於ECSHOP”
打開admin/templates/top.htm
刪除: <li><a href=”index.php?act=about_us” target=”main-frame”>{$lang.about}</a></li>
3.中部 ECSHOP-管理中心, 和底部的版權所有
底部的“版權所有 2005-2011 上海商派網絡科技有限公司,並保留所有權利。”
打開language/zh_cn/admin/common.php
$_LANG['cp_home'] = ‘ECSHOP 管理中心’;
$_LANG['copyright'] = ‘版權所有 © 2005-2009 上海商派網絡科技有限公司,並保留所有權利。’;
=====刪除管理起始頁中的系統信息中的 ECSHOP相關信息=====
修改 languages\zh_cn\admin\index.php 中 刪除相關的
修改 includes\cls_ecshop.php.php 大概 15行 起
define(‘APPNAME’, ‘ECSHOP’);
define(‘VERSION’, ‘v2.7.1′);
define(‘RELEASE’, ’20091228′); 修改掉。。。
====修改後台提醒最新版本信息========
打開 admin/index.php
修改下面的代碼部分(修改最後登陸時間的數值,或者檢查最新版最少次數)
/* 如果管理員的最後登陸時間大於24小時則檢查最新版本 */
if (gmtime() – $_SESSION['last_check'] > (3600 * 12))
{
$smarty->assign(‘need_check_version’, 1);
}
但最後還是呼吁一下各位注意尊重知識產權,ECShop的確是一套很棒的系統,雖然懂的不多,但是簡單處理的話,問題並不大。
*