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

好学网



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

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

时间:2010-09-25 15:26来源: 作者: 点击:
$mfcopyright = \'\'; $gen_id = $shopSetup-getValue(\'generalize_id\'); if ($gen_id!=0) { $strHref = http://www.shopex.cn/r/{$gen_id}/; } else { $strHref = \'http://www.shopex.cn/\'; } $mfcopyright .=


$mfcopyright = \'\';
$gen_id = $shopSetup->getValue(\'generalize_id\');
if ($gen_id!=0) {
$strHref = http://www.shopex.cn/r/{$gen_id}/;
} else {
$strHref = \'http://www.shopex.cn/\';
}
$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>;
} else {
$mfcopyright = ;
}
*/
/* 输出SHOPEX免费版POWERBY_BY图 */
$t->set_var(mfcopyright,$mfcopyright);

$checkStr = $shopSetup->getValue(license_certificate_str);
if($checkStr)
{
$str = urlencode($checkStr);
}
else
{
$str = urlencode(无);
}
if(strstr($_SERVER[HTTP_ACCEPT_ENCODING],\'gzip\')&&strstr($_SERVER[HTTP_ACCEPT_ENCODING],\'deflate\') &&function_exists(\'gzcompress\')&&!(defined(\'SYS_GZIP\')&&SYS_GZIP==false)) {
$gzipEnable = \'enabled\';
} else {
$gzipEnable = \'disable\';
}
$codeRunningTime = substr(getmicrotime-$script_start_time,0,5);
$ref = $_SERVER[\'HTTP_HOST\'];
$check = md5($ref.\'ShopEx@Store\');
$ptag_newpowerby=$PROG_TAGS[ptag_newpowerby];
if ($frontShow->copyrightMode == \'copyright1.jpg\') {
$copyright = <<<EOF
{$INC_COPYRIGHT}{$aliurl}<p>{$strintegratim}</p>
<table border=0 align=center cellpadding=0 cellspacing=0 style=margin:0 auto; >
<tr>
<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>
<tr>
<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>
</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 rowspan=3 style=padding:0; vertical-align:top;>
{$INC_COPYRIGHT}
{$aliurl}
<div style=line-height:14px>$t->set_var <a href=http://www.miibeian.gov.cn/ target=_blank>$shopinfo->certtext</a></div>
<div style=line-height:14px>{$strintegratim}</div>
Processed in {$codeRunningTime} second(s) 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>);*/
?>

(责任编辑:haoxuee)

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

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