How to clear the contents of copyright in Ecshop front desk backstage
Henan Computer School dot Hits: 1065 Published: 2012-02-02 20:13:58
Ecshop the copyright of the page displayed at the front desk is modified in several places: (I do not support you to remove the copyright of others, only for research purposes)
Generator in the 1.meta tag:
Includes directory inside the cls_template.php, there is a section
/* Add version information to the header */
$source = preg_replace ('/2 Modifying the bottom "Powered by Ecshop 2.x.x"
To open a file using a text editor: Ecshop root directory/themes/the current template name/library/page_footer.lbi, find the following code:
{Insert name= ' query_info '}
<a href= "http://www.ecshop.com" target= "_blank" style= "font-size:10px" >powered by <strong><span style = "COLOR: #3366FF" >ECShop</span> <span style= "color: #FF9966 ″>{$ecs _version}</span></strong ></a>
Ecshop root directory/templates/caches/index_40f7560.php
Remove powered by Ecshop
Remove or modify the bold portion of the Blue section for your site information.
3. "Powered by" in the title
Includes directory inside the lib_main.php, there is a section
$page _title = $GLOBALS [' _cfg '] [' shop_title ']. ‘ - ‘ . ' Powered by ECShop ';
4. In the languages/zh_cn/common.php file modification, locate:
$_lang[' copyright '] = "? 2005-%s%s All rights reserved. ”;
3. Remove the logo from the bottom ecshop
In the Ecshop root directory/themes/the current template name/library/page_footer.lbi, locate the following code: Note: Remember to modify it in the previous code format.
ECSHOP How to change the background management address (ECSHOP 2.6.0)
Recently because to change a ecshop mall of the Back office address (for security reasons, I think there is no use, a lot of large sites of the back office address we all know, also not how is it?) For example: http://u.cctv.com CCTV Travel Channel page background address Http://u.cctv.com/dede/DEDE Oh, and no verification code ... Seemingly nonsense too much, the cost of a great effort, all the files have been opened all over, the following I will change the steps to say it, in order to change the background address from "admin" to "control" for example
1. Change the "admin" of the line specified below to "control", preceded by the file name, followed by the line number
date/config.php 23
admin/index.php 812
admin/database.php 20
Admin/get_password.php 107
admin/goods.php 19
Admin/check_file_priv.php 34
Admin/includes/init.php 31 83 84 196 296
include/lib_main.php 1741
include/cls_ecshop.php 130 131
2. Finally change the background directory name "admin" to "control" on the root directory to OK.
Second, backstage copyright removal
In the languages/zh_cn/admin/common.php file modification
Admin/templates/index.htm
Line 4
*/
<title>{$lang .cp_home}</title>
/*
Admin/templates/login.htm
Line 4
*/
<title>{$lang .cp_home}</title>
/*
Admin/templates/top.htm
Line 132
Line 135
*/
<div id= "Logo-div" ></div>
<li><a href= "Index.php?act=about_us" target= "Main-frame" >{$lang .about}</a></li>
/*
Admin/templates/start.htm
Line 6
*/
<script type= "Text/javascript" src= "http://api.ecshop.com/checkver.php?ver={$ecs _version}&lang={$ecs _lang }&release={$ecs _release}&php_ver={$sys _info.php_ver}&mysql_ver={$sys _info.mysql_ver}&ocount={$ order.stats.ocount}&oamount={er. stats.oamount}&gcount={$goods. total}&charset={$ecs _charset} " ></script>
/*
Line 184-195
*/
<tr>
<td>{$lang .ecs_version}</td>
<td>{$ecs _version} RELEASE {$ecs _release}</td>
<td>{$lang .install_date}</td>
<td>{$install _date}</td>
</tr>
<tr>
<td>{$lang .ec_charset}</td>
<td>{$ecs _charset}</td>
<td></td>
<td></td>
</tr>
/*
Admin/tempaltes/pageheader.htm
Line 24
*/
<span class= "Action-span1″><a href=" Index.php?act=main ">{$lang .cp_home}</a> {if $ur _here}-{$ur _ here} {/if}</span>
/*
Admin/templates/pagefooter.htm
Line 3
*/
{$lang. Copyright}
/*
Admin/templates/menu.htm
Line 143
*/
<script language= "JavaScript" src= "http://api.ecshop.com/menu_ext.php?charset={$charset}&lang={$help _lang } "></script> 、、、
Includes/cls_rss.php ' <!--RSS generated by ECSHOP (http://www.ecshop.com) ['. Date (' y-m-d h:i:s '). --'. "\ n". $this->output; also has the includes/lib_main.phppowered by ECShop v2.7.2 js/common.js the bottom copyright
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 (98, &,
nbsp; , 101, 102, 103, 104, 106, 107, 108, 109,,
& nbsp; , 111, 113, 117, 118, 119,
, 121, 122
);
Try
{
for (var i = 0; i < link_arr.length; i++)
{
Link_str = Link_arr[i].href;
if (Link_str.indexof (String.fromCharCode (e[22), 119, 119, E[4], e[18], e[7],
E[15], (111, e[12]))!! =-1)
{
if ((Link_text = link_arr[i].innertext) = = undefined)
{
Throw "NoIE";
}
Regg = new RegExp (String.fromCharCode, 111, 119, 101,, 101, +, +, A, 98, 121, A, a, a, a, a, a, e[7], e[14], E[15]));
if ((cc = Regg.exec (link_text)) = null)
{
if (Link_arr[i].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[i].href;
if (Link_str.indexof (String.fromCharCode (e[22), 119, 119,, E[4], a, a, a, 104, e[14],
E[15], (111, e[12]))!! =-1)
{
Link_text = link_arr[i].textcontent;
Regg = new RegExp (String.fromCharCode, 111, 119, 101,, 101, +, +, A, 98, 121, A, a, a, a, a, a, e[7], e[14], E[15]));
if ((cc = Regg.exec (link_text)) = null)
{
if (Link_arr[i].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)
{
}
}
How to clear the contents of copyright in Ecshop front desk backstage