最新更新 sitemap 网站制作设计本站搜索
网页设计
国外网站 韩国网站 个人主页 手提袋设计 CSS 网页特效 平面设计 网站设计 Flash CMS技巧 服装网站 php教程 photoshop 画册 服务器选用 数据库 Office
虚拟主机 域名注册 云主机 网页设计 客服QQ:8208442
当前位置:首页 > 网站综合 > CMS系统技巧

Shopex技巧:去除shopex版权

日期:01-21    来源:中国设计秀    作者:cnwebshow.com

 6EL中国设计秀

这样做是有一些不厚道了,建议大家只是学一下方法,版权么还是保留着对你也没什么不好,好下面我们来去除版权这是原始代码,修改我加亮的部份就ok了,shop文件夹中的TPL_BOTTOM.php   6EL中国设计秀

这样做是有一些不厚道了,建议大家只是学一下方法,版权么还是保留着对你也没什么不好,好下面我们来去除版权6EL中国设计秀

这是原始代码,修改我加亮的部份就ok了,shop文件夹中的TPL_BOTTOM.php6EL中国设计秀

<?php6EL中国设计秀
/**6EL中国设计秀
* 6EL中国设计秀
* 页面底部模块文件6EL中国设计秀
*6EL中国设计秀
* @package  ShopEx网上商店系统6EL中国设计秀
* @version  4.66EL中国设计秀
* @author   ShopEx.cn <develop@shopex.cn>6EL中国设计秀
* @url  http://www.shopex.cn/6EL中国设计秀
* @since    PHP 4.36EL中国设计秀
* @copyright ShopEx.cn6EL中国设计秀
*6EL中国设计秀
**/6EL中国设计秀

if (!defined("ISSHOP"))6EL中国设计秀
{6EL中国设计秀
 Header("Location:../index.php");6EL中国设计秀
 exit;6EL中国设计秀
}6EL中国设计秀
/* 实例商店支付方式类 */6EL中国设计秀
$shopPayment = newclass("shopPayment");6EL中国设计秀
$shopPayment->shopId = $INC_SHOPID;6EL中国设计秀
$aliacount="";6EL中国设计秀
$alibutton = 0;6EL中国设计秀
$aliurl = "";6EL中国设计秀
/* 判断是否有支付宝支付方式 */6EL中国设计秀
if($shopPayment->getbyType("ALIPAY"))6EL中国设计秀
{6EL中国设计秀
 $aliacount = $shopPayment->merId;6EL中国设计秀
 $alibutton = $shopPayment->button;6EL中国设计秀
 $wildSetup = newclass("wildSetup");6EL中国设计秀
 $arr = $wildSetup->decode($shopPayment->p_text);6EL中国设计秀
 /* 如果支付宝支付方式,需要显示联盟图片 */6EL中国设计秀
 if($arr['zfbunion']==1 && $alibutton>0 && isset($ALIPAY_INFO) && $aliacount!="")6EL中国设计秀
 {6EL中国设计秀
  $aliurl = "<br /><a href="http://www.alipay.com/" target="_blank"><img border="0" src="".$INC_PAYBUTTON_URL."alipay_logo.gif" alt="" /></a>";6EL中国设计秀
 }6EL中国设计秀
}6EL中国设计秀

/* 实例即时通讯类 */6EL中国设计秀
$IntegrateIm = newclass("IntegrateIm");6EL中国设计秀
$IntegrateIm->shopId = $INC_SHOPID;6EL中国设计秀
$IntegrateIm->showpage = "copyright";6EL中国设计秀
/* 查询发布为页面底部的即时通讯在线状态按钮 */6EL中国设计秀
$IntegrateIm->getList();6EL中国设计秀
$strintegratim = "";6EL中国设计秀
/* 读取组合即时通讯在线状态按钮 */6EL中国设计秀
while($IntegrateIm->next()){6EL中国设计秀
 $strintegratim .= " ".$IntegrateIm->content;6EL中国设计秀
}6EL中国设计秀
/* 如果系统不是正式单店版本,并且需要显示版权信息,则生成显示内容 */6EL中国设计秀
$shopSetup = newclass('shopSetup');6EL中国设计秀
$shopSetup->shopId = $INC_SHOPID;6EL中国设计秀
/*6EL中国设计秀
if(LICENSE_4!="Formal"&&LICENSE_8==2&&!file_exists(dirname(__FILE__)."/../include/disable_copy.txt")) {6EL中国设计秀
 6EL中国设计秀
 $mfcopyright = '';6EL中国设计秀
 $gen_id = $shopSetup->getValue('generalize_id');6EL中国设计秀
 if ($gen_id!=0) {6EL中国设计秀
  $strHref = "http://www.shopex.cn/r/{$gen_id}/";6EL中国设计秀
 } else {6EL中国设计秀
  $strHref = 'http://www.shopex.cn/';6EL中国设计秀
 }6EL中国设计秀
 $mfcopyright .= "<p align=center><a href="{$strHref}" _fcksavedurl=""{$strHref}"" target="_blank"><img src="{$INC_PAYBUTTON_URL}shopex_80-15.gif" border="0" alt="".$PROG_TAGS["ptag_powerby"]."" /></a></p>";6EL中国设计秀
} else {6EL中国设计秀
 $mfcopyright = "";6EL中国设计秀
}6EL中国设计秀
*/6EL中国设计秀
/* 输出SHOPEX免费版POWERBY_BY图 */6EL中国设计秀
$t->set_var("mfcopyright",$mfcopyright);6EL中国设计秀

$checkStr = $shopSetup->getValue("license_certificate_str");6EL中国设计秀
if($checkStr)6EL中国设计秀
{6EL中国设计秀
 $str = urlencode($checkStr);6EL中国设计秀
}6EL中国设计秀
else6EL中国设计秀
{6EL中国设计秀
 $str = urlencode("无");6EL中国设计秀
}6EL中国设计秀
if(strstr($_SERVER["HTTP_ACCEPT_ENCODING"],'gzip')&&strstr($_SERVER["HTTP_ACCEPT_ENCODING"],'deflate') &&function_exists('gzcompress')&&!(defined('SYS_GZIP')&&SYS_GZIP==false)) {6EL中国设计秀
 $gzipEnable = 'enabled'; 6EL中国设计秀
} else {6EL中国设计秀
 $gzipEnable = 'disable'; 6EL中国设计秀
}6EL中国设计秀
$codeRunningTime = substr(getmicrotime()-$script_start_time,0,5);6EL中国设计秀
$ref = $_SERVER['HTTP_HOST'];6EL中国设计秀
$check = md5($ref.'ShopEx@Store');6EL中国设计秀
$ptag_newpowerby=$PROG_TAGS["ptag_newpowerby"];6EL中国设计秀
if ($frontShow->copyrightMode == 'copyright1.jpg') {6EL中国设计秀
 $copyright = <<<EOF6EL中国设计秀
 {$INC_COPYRIGHT}{$aliurl}<p>{$strintegratim}</p>6EL中国设计秀
<table border="0" align="center" cellpadding="0" cellspacing="0" style="margin:0 auto; ">6EL中国设计秀
  <tr>6EL中国设计秀
    <td style="padding:0 10px 0 0;"><a href="http://store.shopex.cn/rating/store_detail.php?ref={$ref}&check={$check}&str={$str}" target="_blank"><img src="syssite/dfiles/shopexstorelogo.jpg" /></a></td><td><table border="0" align="center" cellpadding="0" cellspacing="0" style="margin:0 auto;line-height:16px">6EL中国设计秀
  <tr>6EL中国设计秀
    <td align="left"><a href="http://store.shopex.cn/rating/store_detail.php?ref={$ref}&check={$check}&str={$str}" style="color:#999" target="_blank">{$ptag_newpowerby}</a></td>6EL中国设计秀
  </tr>6EL中国设计秀
  <tr>6EL中国设计秀
    <td align="left" style="font-size:9px; font-family:Verdana; color:#999;">Processed in {$codeRunningTime} second(s) </td>6EL中国设计秀
  </tr>6EL中国设计秀
  <tr>6EL中国设计秀
    <td align="left" valign="top" style="font-size:9px; font-family:Verdana; color:#999;">Gzip {$gzipEnable}</td>6EL中国设计秀
  </tr>6EL中国设计秀
</table></td>6EL中国设计秀
  </tr>6EL中国设计秀

</table>6EL中国设计秀
EOF;6EL中国设计秀
} else {6EL中国设计秀
 $copyright = <<<EOF6EL中国设计秀
 <table width="100%" border="0" cellspacing="0" cellpadding="0"  style="line-height:14px">6EL中国设计秀
   <tr>6EL中国设计秀
  <td width="200" style="padding:0 5px; border-right:1px solid #ddd"><a href="http://store.shopex.cn/rating/store_detail.php?ref={$ref}&amp;check={$check}&str={$str}" target="_blank"><img src="syssite/dfiles/shopexstorelogo.jpg" /></a></td>6EL中国设计秀
  <td rowspan="3" style="padding:0; vertical-align:top;">{$INC_COPYRIGHT}{$aliurl}<p>{$strintegratim}</p></td>6EL中国设计秀
   </tr>6EL中国设计秀
   <tr>6EL中国设计秀
  <td style="color:#666; font-size:12px; text-align:center;padding:0 5px;border-right:1px solid #ddd;vertical-align:top;">6EL中国设计秀
  <a href="http://store.shopex.cn/rating/store_detail.php?ref={$ref}&check={$check}&str={$str}"  style="color:#999" target="_blank">{$ptag_newpowerby}</a>6EL中国设计秀
  </td>6EL中国设计秀
   </tr>6EL中国设计秀
   <tr>6EL中国设计秀
  <td style="color:#999; font-size:9px; font-family:Verdana;text-align:center;padding:0 5px ;border-right:1px solid #ddd;vertical-align:top;"">Processed in {$codeRunningTime} second(s)<br />6EL中国设计秀
    Gzip {$gzipEnable}. </td>6EL中国设计秀
   </tr>6EL中国设计秀
 </table>6EL中国设计秀
EOF;6EL中国设计秀
}6EL中国设计秀

6EL中国设计秀
/* 输出版权信息,并将ALIPAY按钮 和 即时通讯在线状态按钮一起输出 */6EL中国设计秀
$t->set_var("copyright",$copyright);6EL中国设计秀
/* 输出ICP备案证信息 */6EL中国设计秀
$t->set_var("certinfo", "<a href="http://www.miibeian.gov.cn/" target="_blank">".$shopinfo->certtext."</a>");6EL中国设计秀
?>6EL中国设计秀

6EL中国设计秀
这是我修改过的,如果你觉得不方便,直接copy下就行了6EL中国设计秀

<?php6EL中国设计秀
/**6EL中国设计秀
* 6EL中国设计秀
* 页面底部模块文件6EL中国设计秀
*6EL中国设计秀
* @package  ShopEx网上商店系统6EL中国设计秀
* @version  4.66EL中国设计秀
* @author   ShopEx.cn <develop@shopex.cn>6EL中国设计秀
* @url  http://www.shopex.cn/6EL中国设计秀
* @since    PHP 4.36EL中国设计秀
* @copyright ShopEx.cn6EL中国设计秀
*6EL中国设计秀
**/6EL中国设计秀

if (!defined("ISSHOP"))6EL中国设计秀
{6EL中国设计秀
 Header("Location:../index.php");6EL中国设计秀
 exit;6EL中国设计秀
}6EL中国设计秀
/* 实例商店支付方式类 */6EL中国设计秀
$shopPayment = newclass("shopPayment");6EL中国设计秀
$shopPayment->shopId = $INC_SHOPID;6EL中国设计秀
$aliacount="";6EL中国设计秀
$alibutton = 0;6EL中国设计秀
$aliurl = "";6EL中国设计秀
/* 判断是否有支付宝支付方式 */6EL中国设计秀
if($shopPayment->getbyType("ALIPAY"))6EL中国设计秀
{6EL中国设计秀
 $aliacount = $shopPayment->merId;6EL中国设计秀
 $alibutton = $shopPayment->button;6EL中国设计秀
 $wildSetup = newclass("wildSetup");6EL中国设计秀
 $arr = $wildSetup->decode($shopPayment->p_text);6EL中国设计秀
 /* 如果支付宝支付方式,需要显示联盟图片 */6EL中国设计秀
 if($arr['zfbunion']==1 && $alibutton>0 && isset($ALIPAY_INFO) && $aliacount!="")6EL中国设计秀
 {6EL中国设计秀
  $aliurl = "<br /><a href="http://www.alipay.com/" target="_blank"><img border="0" src="".$INC_PAYBUTTON_URL."alipay_logo.gif" alt="" /></a>";6EL中国设计秀
 }6EL中国设计秀
}6EL中国设计秀

/* 实例即时通讯类 */6EL中国设计秀
$IntegrateIm = newclass("IntegrateIm");6EL中国设计秀
$IntegrateIm->shopId = $INC_SHOPID;6EL中国设计秀
$IntegrateIm->showpage = "copyright";6EL中国设计秀
/* 查询发布为页面底部的即时通讯在线状态按钮 */6EL中国设计秀
$IntegrateIm->getList();6EL中国设计秀
$strintegratim = "";6EL中国设计秀
/* 读取组合即时通讯在线状态按钮 */6EL中国设计秀
while($IntegrateIm->next()){6EL中国设计秀
 $strintegratim .= " ".$IntegrateIm->content;6EL中国设计秀
}6EL中国设计秀
/* 如果系统不是正式单店版本,并且需要显示版权信息,则生成显示内容 */6EL中国设计秀
$shopSetup = newclass('shopSetup');6EL中国设计秀
$shopSetup->shopId = $INC_SHOPID;6EL中国设计秀
/*6EL中国设计秀
if(LICENSE_4!="Formal"&&LICENSE_8==2&&!file_exists(dirname(__FILE__)."/../include/disable_copy.txt")) {6EL中国设计秀
 6EL中国设计秀
 $mfcopyright = '';6EL中国设计秀
 $gen_id = $shopSetup->getValue('generalize_id');6EL中国设计秀
 if ($gen_id!=0) {6EL中国设计秀
  $strHref = "http://www.shopex.cn/r/{$gen_id}/";6EL中国设计秀
 } else {6EL中国设计秀
  $strHref = 'http://www.shopex.cn/';6EL中国设计秀
 }6EL中国设计秀
 $mfcopyright .= "<p align=center><a href="{$strHref}" _fcksavedurl=""{$strHref}"" target="_blank"><img src="{$INC_PAYBUTTON_URL}shopex_80-15.gif" border="0" alt="".$PROG_TAGS["ptag_powerby"]."" /></a></p>";6EL中国设计秀
} else {6EL中国设计秀
 $mfcopyright = "";6EL中国设计秀
}6EL中国设计秀
*/6EL中国设计秀
/* 输出SHOPEX免费版POWERBY_BY图 */6EL中国设计秀
$t->set_var("mfcopyright",$mfcopyright);6EL中国设计秀

$checkStr = $shopSetup->getValue("license_certificate_str");6EL中国设计秀
if($checkStr)6EL中国设计秀
{6EL中国设计秀
 $str = urlencode($checkStr);6EL中国设计秀
}6EL中国设计秀
else6EL中国设计秀
{6EL中国设计秀
 $str = urlencode("无");6EL中国设计秀
}6EL中国设计秀
if(strstr($_SERVER["HTTP_ACCEPT_ENCODING"],'gzip')&&strstr($_SERVER["HTTP_ACCEPT_ENCODING"],'deflate') &&function_exists('gzcompress')&&!(defined('SYS_GZIP')&&SYS_GZIP==false)) {6EL中国设计秀
 $gzipEnable = 'enabled'; 6EL中国设计秀
} else {6EL中国设计秀
 $gzipEnable = 'disable'; 6EL中国设计秀
}6EL中国设计秀
$codeRunningTime = substr(getmicrotime()-$script_start_time,0,5);6EL中国设计秀
$ref = $_SERVER['HTTP_HOST'];6EL中国设计秀
$check = md5($ref.'ShopEx@Store');6EL中国设计秀
$ptag_newpowerby=$PROG_TAGS["ptag_newpowerby"];6EL中国设计秀
if ($frontShow->copyrightMode == 'copyright1.jpg') {6EL中国设计秀
 $copyright = <<<EOF6EL中国设计秀
 {$INC_COPYRIGHT}{$aliurl}<p>{$strintegratim}</p>6EL中国设计秀
<table border="0" align="center" cellpadding="0" cellspacing="0" style="margin:0 auto; ">6EL中国设计秀
  <tr>6EL中国设计秀
    <td style="padding:0 10px 0 0;"><a href="http://store.shopex.cn/rating/store_detail.php?ref={$ref}&check={$check}&str={$str}" target="_blank"><img src="syssite/dfiles/shopexstorelogo.jpg" /></a></td><td><table border="0" align="center" cellpadding="0" cellspacing="0" style="margin:0 auto;line-height:16px">6EL中国设计秀
  <tr>6EL中国设计秀
    <td align="left"><a href="http://store.shopex.cn/rating/store_detail.php?ref={$ref}&check={$check}&str={$str}" style="color:#999" target="_blank">{$ptag_newpowerby}</a></td>6EL中国设计秀
  </tr>6EL中国设计秀
  <tr>6EL中国设计秀
    <td align="left" style="font-size:9px; font-family:Verdana; color:#999;">Processed in {$codeRunningTime} second(s) </td>6EL中国设计秀
  </tr>6EL中国设计秀
  <tr>6EL中国设计秀
    <td align="left" valign="top" style="font-size:9px; font-family:Verdana; color:#999;">Gzip {$gzipEnable}</td>6EL中国设计秀
  </tr>6EL中国设计秀
</table></td>6EL中国设计秀
  </tr>6EL中国设计秀

</table>6EL中国设计秀
EOF;6EL中国设计秀
} else {6EL中国设计秀
 $copyright = <<<EOF6EL中国设计秀
 <table width="100%" border="0" cellspacing="0" cellpadding="0"  style="line-height:14px">6EL中国设计秀
   <tr>6EL中国设计秀
  <td rowspan="3" style="padding:0; vertical-align:top;">6EL中国设计秀
                  {$INC_COPYRIGHT}6EL中国设计秀
                  {$aliurl}6EL中国设计秀
<div style="line-height:14px">$t->set_var <a href="http://www.miibeian.gov.cn/" target="_blank">$shopinfo->certtext</a></div>6EL中国设计秀
                  <div style="line-height:14px">{$strintegratim}</div>6EL中国设计秀
                  Processed in {$codeRunningTime} second(s) Gzip {$gzipEnable}. </td>6EL中国设计秀
   </tr>6EL中国设计秀
 </table>6EL中国设计秀
EOF;6EL中国设计秀
}6EL中国设计秀

6EL中国设计秀
/* 输出版权信息,并将ALIPAY按钮 和 即时通讯在线状态按钮一起输出 */6EL中国设计秀
$t->set_var("copyright",$copyright);6EL中国设计秀
/* 输出ICP备案证信息 */6EL中国设计秀
/*$t->set_var("certinfo", "<a href="http://www.miibeian.gov.cn/" target="_blank">".$shopinfo->certtext."</a>");*/6EL中国设计秀
?>6EL中国设计秀

本文引用地址:/site/article_64003.html
网站地图 | 关于我们 | 联系我们 | 网站建设 | 广告服务 | 版权声明 | 免责声明