導航:首頁 > 文件教程 > ecshop頭部文件修改

ecshop頭部文件修改

發布時間:2024-08-19 09:24:56

Ⅰ Ecshop緋葷粺浜屾″紑鍙戞暀紼嬪強嫻佺▼婕旂ず

涓銆丒cshop綆浠嬶細
ECShop鏄疌omsenz鍏鍙告帹鍑虹殑涓嬈綛2C鐙絝嬬綉搴楃郴緇燂紝閫傚悎浼佷笟鍙婁釜浜哄揩閫熸瀯寤轟釜鎬у寲緗戜笂鍟嗗簵銆傜郴緇熸槸鍩轟簬PHP璇璦鍙奙YSQL鏁版嵁搴撴瀯鏋跺紑鍙戠殑璺ㄥ鉤鍙板紑婧愮▼搴忋
ECShop鎮夊績鍚鍙栨瘡涓浣嶅晢瀹剁殑闇奼備笌寤鴻錛屼笉浠呰捐′簡浜烘у寲鐨勭綉搴楃$悊緋葷粺甯鍔╁晢瀹跺揩閫熶笂鎵嬶紝榪樻牴鎹涓鍥戒漢鐨勮喘鐗╀範鎯鏀硅繘浜嗚喘鐗╂祦紼嬶紝瀹炵幇鏇村ソ鐨勭敤鎴瘋喘鐗╀綋楠屻
緇忚繃榪戜袱騫寸殑鍙戝睍錛孍CShop緗戝簵緋葷粺鏃犺哄湪浜у搧鍔熻兘銆佺ǔ瀹氭с佹墽琛屾晥鐜囥佽礋杞借兘鍔涖佸畨鍏ㄦу拰SEO鏀鎸(鎼滅儲寮曟搸浼樺寲)絳夋柟闈㈤兘灞呭浗鍐呭悓綾諱駭鍝侀嗗厛鍦頒綅錛屾垚涓哄浗鍐呮渶嫻佽岀殑璐鐗╃郴緇熶箣涓銆
浜屻丒cshop浜屾″紑鍙戞祦紼嬫紨紺猴細
1銆佸墠鍙頒唬鐮佺殑淇鏀癸細Ecshop妯℃澘緗戦〉榛樿や細鏈塃cshop鐗堟潈淇℃伅錛屾垜浠瑕佸幓鎺夎繖浜汱OGO錛屾垜浠灝遍渶瑕佽繘琛屽備笅鐨勬搷浣滄ラわ細
1錛夊幓闄ゅ墠鍙板簳閮ㄦ煡璇淇℃伅鐨勬樉紺猴細
鎵撳紑褰撳墠搴旂敤鐨勪富棰樻ā鏉挎枃浠訛紝鍦/library/page.sooter.lbi鐩褰曚笅錛屾壘鍒皗insert name=鈥檘uery.info鈥檥澶ф傚湪鏂囦歡絎63琛屽勶紝灝嗕粬鍒犻櫎灝卞彲浠ヤ簡銆
2錛夊幓鎺夊ご閮╰itle鐨凩OGO鈥淓CSHOP婕旂ず絝-Powered by ecshop鈥濓細
鎵懼埌includes/lib_main.php鐩褰曪紝鎵懼埌$page_title = $GLOBALS['_CFG']['shop_title'] . ' - ' . 'Powered by ECShop';琛岋紝澶ф傚湪鏂囦歡鐨勭143錛屼慨鏀筆owered by ECShop璇鍙ワ紝鎴栬呭皢浠栧垹闄ゃ
3錛夊幓鎺夊簳閮↙OGO鈥淧owered by ecshop 2.7.2鈥濓細
鎵懼埌js/common.js鐩褰曪紝鎵懼埌:onload = function()鍑芥暟
onload = function()
    {
    var link_arr = document.getElementsByTagName(String.fromCharCode(65));
    鈥︹︹︹.
鈥︹︹︹.
115, 116, 114, 111, 110, 103, 62);
    }
    }
    catch(ex)
    {
    }
    }
澶ф傚湪鏂囦腑鐨勭244琛岋紝灝嗘暣涓鍑芥暟鍒犻櫎錛岀劧鍚庡湪鎵懼埌妯℃澘鏂囦歡涓鐨刲ibrary/page_footer.lbi鐩褰曪紝鎵懼埌{foreach from=$lang.p_y item=pv}{$pv}{/foreach}{$licensed}璇鍙ワ紝澶ф傚湪鏂囦腑鐨勭63琛岋紝灝嗕粬鍒犻櫎銆
4錛夊垹闄Ecshop妯℃澘宸︿笅瑙掔殑LOGO
a銆佸傛灉浣犳兂灝嗗畠鏇挎崲鎴愯嚜宸卞叕鍙哥殑LOGO錛氬氨灝嗚LOGO鍥劇墖鏂囦歡鍛藉悕涓簂ogo.gif錛屽苟涓婁紶鍒版湇鍔″櫒鐨勨/themes/default/images/鈥濈洰褰曚笅錛屽苟瑕嗙洊鍘熸潵鐨勫浘鐗囨枃浠躲
b銆佸垹闄ECShop榛樿ょ殑LOGO錛屼笉闇瑕佹浛鎹錛氭墦寮鈥/themes/default/style.css鈥濈洰褰曟枃浠訛紝澶ф傚湪鏂囦腑絎433琛屽彲浠ユ壘鍒板備笅鐨勮鍙ワ細
#footer{background:url(images/logo1.gif) no-repeat 5% 50%;
padding-left:200px; width:760px; margin:10px auto;}
灝嗗畠淇鏀逛負錛#footer{padding-left:200px; width:760px; margin:10px auto;}錛屽苟涓斿垹鎺/library/page_footer.lbi鏂囦歡涓鐨勭殑img src='../images/footer-logo.gif' alt='' id='footer-logo' /璇鍙ャ
5錛変慨鏀規枃浠朵唬鐮佸ご閮ㄧ殑Generator鏍囪幫細
鎵懼埌includes/cls_ecshop.php鏂囦歡錛屾壘鍒癲efine('APPNAME', 'ECSHOP');璇鍙ワ紝澶ф傛槸鏂囦腑鐨勭21琛岋紝灝嗗叾淇鏀逛負define('APPNAME', '鑷瀹氫箟鐨勭綉絝欎唬鍙');
6錛夊幓鎺夋墜鏈鴻塊棶緗戠珯搴曢儴鍑虹幇鐨勭増鏉冧俊鎮錛
鎵撳紑mobile/includes/lib_main.php鏂囦歡錛屾壘鍒扳淐opyright2009鈥濆拰鈥淧owered by ecshop鈥濊鍙ワ紝澶ф傚湪鏂囦腑鐨勭97琛屽拰101琛岋紝灝嗗墠鑰呬慨鏀逛負浠婂勾鐨勭増鏈鍙鳳紝鍚庤呬慨鏀逛負鑷宸卞叕鍙哥殑鍚嶇О灝卞彲浠ヤ簡銆
7錛夊幓鎺塭cshop head 涔嬮棿鐨凣enerator' content='ECSHOP v2.7.2'錛
鎵撳紑includes/cls_template.php鏂囦歡錛屽ぇ姒傚湪1087琛岋紝鎵懼埌鈥$source = preg_replace('/head/i', 'head/r/nmeta name=/'Generator/' content=/'' . APPNAME .' ' . VERSION . '/' /', $source);鈥濊鍙ワ紝灝嗗叾鍒犻櫎鎴栬呮敞閲婃帀灝卞彲浠ヤ簡銆
2銆佸悗鍙頒唬鐮佷慨鏀歸儴鍒嗭細
1錛夊幓闄ゅ悗鍙板彸涓婅掔殑鈥滃叧浜嶦cshop鈥濓細
鎵撳紑admin/templates/top.htm鏂囦歡錛屽ぇ姒傚湪鏂囦腑絎194琛岀殑浣嶇疆錛屾壘鍒發ia href='index.php?act=about_us' target='main-frame'{$lang.about}/a/li璇鍙ワ紝灝嗗叾鍒犻櫎銆
2錛変慨鏀瑰悗鍙扮殑鏍囬樷淓cshop綆$悊涓蹇冣濆拰搴曢儴鐨勭増鏉冧俊鎮錛
鎵撳紑language/zh_cn/admin/common.php鏂囦歡錛屽ぇ姒傚湪鏂囦腑鐨勭17琛岀殑浣嶇疆錛屾壘鍒$_LANG['cp_home'] = 'ECSHOP 綆$悊涓蹇';錛屽拰18琛岀殑$_LANG['right'] = '鐗堟潈鎵鏈 ; 2005-2009 涓婃搗鍟嗘淳緗戠粶縐戞妧鏈夐檺鍏鍙革紝騫朵繚鐣欐墍鏈夋潈鍒┿';璇鍙ワ紝淇鏀瑰悗闈㈢殑鍊間負鑷宸卞叕鍙哥殑鍚嶅瓧鍜岀増鏉冨氨鍙浠ヤ簡銆
3錛夊垹闄ゆ彁浜よ祫鏂欏埌Ecshop瀹樼綉鐨勪唬鐮侊細
a.銆佷慨鏀規枃浠訛細admin/shop_config.php
鍦243琛岋紝鏌ユ壘錛$spt .= ''/script';
鍦ㄤ箣鍚庢坊鍔犱竴琛岋細
$spt = '';
b銆佷慨鏀規枃浠訛細admin/templates/index.htm
鍦25琛岋紝鍒犻櫎浠ヤ笅浠g爜錛
frameset rows='0, 0' framespacing='0' border='0'
frame src=http://api.ecshop.com/record.php?mod=loginurl={$shop_url}
id='hidd-frame' name='hidd-frame' frameborder='no' scrolling='no'
/frameset
c銆佸湪MYSQL鏁版嵁搴撶殑鏁版嵁琛錛
shop_config涓鏌ユ壘瀛楁礳ode鍊間負 certi 鐨勮板綍錛屽叾鍊間負錛http://service.shopex.cn/openapi/api.php錛
淇鏀逛負涓涓閿欒鐨勭綉鍧!
濡傦細http://xxxxxxxxxx/openapi/api.php
d銆佷慨鏀規枃浠訛細admin/templates/top.htm
鍦110琛岋紝娉ㄩ噴鎺変互涓嬩唬鐮侊細
Ajax.call('index.php?is_ajax=1act=license','', start_sendmail_Response, 'GET', 'JSON');
e銆佷慨鏀規枃浠訛細admin/templates/menu.htm
鍦143琛岋紝娉ㄩ噴鎺変互涓嬩唬鐮侊細script language='javaScript' src='http://api.ecshop.com/ menu_ext.php?charset={$charset}
lang={$help_lang}'/script
f銆佷慨鏀規枃浠訛細admin/templates/start.htm
鍦9琛岋紝鍒犻櫎鎺変互涓嬩唬鐮侊細
ul style='padding:0; margin: 0; list-style-type:none; color: #CC0000;'
!--script type='text/javascript' src='http://bbs.ecshop.com/notice.php?v=1n=8f=ul'/script--
/ul
g銆佷慨鏀規枃浠訛細admin/index.php
鍦518琛岋紝娉ㄩ噴鎺変互涓嬩唬鐮侊細:
$t = new transport;
$api_comment = $t-request('http://api.ecshop.com/checkver.php', $apiget);
$api_str = $api_comment['body'];
echo $api_str;
h銆佸垹闄ゅ悗鍙版墍鏈夐粯璁ょ殑鍙嬫儏閾炬帴
4錛夋坊鍔犳敮浠樻柟寮忥細
a銆侀摱鑱斿湪綰挎敮浠橈細鎵闇紼嬪簭鏂囦歡/include/moles/payment/chinapay.php鍜宑hinapay/鐩褰曚笅鐨勪笅鍥炬枃浠

鍜岃璦鍖/languages/zh_cn/payment/chinapay.php
灝嗘枃浠舵寜鐓т互涓婄粨鏋勬斁濂戒箣鍚庯紝榪涘叆緗戠珯鍚庡彴鐨勨滅郴緇熻劇疆--鏀浠樻柟寮忊濓紝閫夋嫨涓鍥介摱鑱旇繘琛屽畨瑁咃紝鎸夎佹眰閰嶇疆濂借處鍙楓佽礬寰勩佹墜緇璐圭瓑錛岀『瀹氬嵆鍙浣跨敤銆

b銆佹敮浠樺疂鏀浠樻柟寮忥細鎵闇紼嬪簭鏂囦歡紼嬪簭鏂囦歡/includes/moles/payment/alipay.php
鍜岃璦鍖 /languages/zh_cn/payment/alipay.php銆
鍚屾牱鎸夌収浠ヤ笂緇撴瀯閰嶇疆濂戒簡涔嬪悗錛岀劧鍚庤繘鍏ョ綉絝欏悗鍙扮殑鈥滅郴緇熻劇疆鈥旀敮浠樻柟寮忊濓紝閫夋嫨鏀浠樺疂榪涜屽畨瑁咃紝鎸夎佹眰閰嶇疆濂借處鎴楓佹牎楠岀爜銆両D銆佹墜緇璐圭瓑錛岀『璁ゅ嵆鍙浣跨敤銆

c銆佽儲浠橀氭敮浠樻柟寮忥細鎵闇紼嬪簭鏂囦歡/includes/moles/payment/tenpay.php
鍜岃璦鍖 /languages/zh_cn/payment/tenpay.php錛屽皢鏂囦歡鎸夌収浠ヤ笂緇撴瀯鏀懼ソ涔嬪悗錛岃繘鍏ョ綉絝欏悗鍙扮殑鈥滅郴緇熻劇疆鈥旀敮浠樻柟寮忊濓紝閫夋嫨璐浠橀氳繘琛屽畨瑁咃紝閫夋嫨璐浠橀氱殑鈥滃嵆鏃跺埌甯愨濇湇鍔¤繘琛屽畨瑁咃紝鎸夎佹眰閰嶇疆濂藉晢鎴峰彿銆佸瘑閽ャ佹墜緇璐圭瓑錛岀『瀹氬嵆鍙浣跨敤銆

5錛夋墦鍗板揩閫掑崟鈥旂紪杈戞墦鍗板揩閫掑崟涓娣誨姞鑷瀹氫箟淇℃伅錛
淇鏀規枃浠訛細admin/order.php
鐜板湪涓昏佹坊鍔犺仈閭﹀揩閫掔殑璐﹀彿錛屽湪璇ユ枃浠剁殑478琛岄噷娣誨姞錛
$lable_box['t_fedex_number'] = '191599268'; //鑱旈偊蹇閫掕處鍙鳳紝褰撶劧浣犱篃鍙浠ヨ嚜琛屾坊鍔犲叾浠栧揩閫掑彿
淇鏀規枃浠訛細languages/zh_cn/admin/shipping.php
鍦ㄨユ枃浠剁殑61琛岄噷娣誨姞錛
$_LANG['lable_box']['fedex_number'] = '鑱旈偊蹇閫掕處鍙';

閱讀全文

與ecshop頭部文件修改相關的資料

熱點內容
iphone圓角圖標製作 瀏覽:659
建設銀行app怎麼申請 瀏覽:163
系統備份文件夾在哪 瀏覽:998
qq分組exo韓文 瀏覽:849
華碩裝裝win7系統教程視頻 瀏覽:407
什麼是數據直連 瀏覽:210
筆記本連接無線網路慢 瀏覽:486
壓縮文件怎麼控制在4m以內 瀏覽:1
indesign最新版本2016 瀏覽:300
為什麼壓縮文件窗口變小 瀏覽:904
居民醫保工行手機app怎麼繳費 瀏覽:602
圖論與網路流理論答案 瀏覽:913
安裝win10後需要輸入WiFi密碼嗎 瀏覽:412
c語言加法的編程格式是什麼樣的 瀏覽:195
用戶大數據怎麼計算 瀏覽:717
手機app軟體怎麼開發 瀏覽:785
記得app 瀏覽:854
網路教課優點是什麼 瀏覽:846
設置驗證被拉入微信群 瀏覽:966
bubblegum教程 瀏覽:474

友情鏈接