好学若饥 - 让我们共同前行!

好学网



当前位置: 好学网首页 > IT教育 > 网页设计 >

Shopex技巧:去除shopex版权(2)

时间:2010-09-25 15:26来源: 作者: 点击:
/tr tr td align=left style=font-size:9px; font-family:Verdana; color:#999;Processed in {$codeRunningTime} second(s) /td /tr tr td align=left valign=top style=font-size:9px; font-family:Verdana; color

</tr>
<tr>
<td align=left style=font-size:9px; font-family:Verdana; color:#999;>Processed in {$codeRunningTime} second(s) </td>
</tr>
<tr>
<td align=left valign=top style=font-size:9px; font-family:Verdana; color:#999;>Gzip {$gzipEnable}</td>
</tr>
</table></td>
</tr>

</table>
EOF;
} else {
$copyright = <<<EOF
<table width=100% border=0 cellspacing=0 cellpadding=0 style=line-height:14px>
<tr>
<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>
<td rowspan=3 style=padding:0; vertical-align:top;>{$INC_COPYRIGHT}{$aliurl}<p>{$strintegratim}</p></td>
</tr>
<tr>
<td style=color:#666; font-size:12px; text-align:center;padding:0 5px;border-right:1px solid #ddd;vertical-align:top;>
<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>
</tr>

<tr>
<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 />
Gzip {$gzipEnable}. </td>
</tr>

</table>
EOF;
}


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


这是我修改过的,如果你觉得不方便,直接copy下就行了

<?php
/**
*
* 页面底部模块文件
*
* @package ShopEx网上商店系统
* @version 4.br />* @author ShopEx.cn <develop@shopex.cn>
* @urlhttp://www.shopex.cn/
* @since PHP 4.3
* @copyright ShopEx.cn
*
**/

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

/* 实例即时通讯类 */
$IntegrateIm = newclass(IntegrateIm);
$IntegrateIm->shopId = $INC_SHOPID;
$IntegrateIm->showpage = copyright;
/* 查询发布为页面底部的即时通讯在线状态按钮 */
$IntegrateIm->getList;
$strintegratim = ;
/* 读取组合即时通讯在线状态按钮 */
while($IntegrateIm->next){
$strintegratim .= .$IntegrateIm->content;
}
/* 如果系统不是正式单店版本,并且需要显示版权信息,则生成显示内容 */
$shopSetup = newclass(\'shopSetup\');
$shopSetup->shopId = $INC_SHOPID;
/*
if(LICENSE_4!=Formal&&LICENSE_8==2&&!file_exists(dirname(__FILE__)./../include/disable_copy.txt)) {(责任编辑:haoxuee)

      学友请扫描下方二维码,或微信搜索公众号 haoxueecom 获取更多学习生活资讯!
     好学网微信公众号

赞一个
(0)
0%
嘘一下
(0)
0%
------分隔线----------------------------