国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 網站 > 建站經驗 > 正文

shopex去版權

2024-04-25 20:32:21
字體:
來源:轉載
供稿:網友

替換/core/include_v5/smartyplugins/function.footer.php即可刪除ShopEx前臺底部版權“Powered by ShopEx v4.8.5 ”:

<?php

function tpl_function_footer( $params, &$smarty )

{

global $system;

$system =& $system;

$output =& $system->loadModel( "system/frontend" );

$tmpdata = $system->getConf( "im.setting" );

$data = unserialize( $tmpdata );

$theme_dir = $system->base_url( )."themes/".$output->theme;

echo $smarty->_fetch_compile_include( "shop:common/footer.html", array(

"theme_dir" => $theme_dir,

"certtext" => "<a href=/"http://www.miitbeian.gov.cn/ /" target=/"blank/">".$system->getConf( "site.certtext" )."</a>",

"mini_cart" => $system->getConf( "site.buy.target" ) == 3,

"preview_theme" => $system->in_preview_theme,

"im_setting" => $data,

"system_url" => $system->base_url( ),

"stateString" => "cron=".urlencode( $system->request['action']['controller'].":".$system->request['action']['method'] )."&p=".urlencode( $system->request['action']['args'][0] )

) );

if ( constant( "SHOP_DEVELOPER" ) )

{

$html .= $system->_debugger['log'];

}

if ( $system->getConf( "shopex.wss.show" ) )

{

$wssjs = $system->getConf( "shopex.wss.js" );

}

if ( $system->getConf( "certificate.channel.status" ) )

{

$channel = $system->getConf( "certificate.channel.service" )."<a href=/"".$system->getConf( "certificate.channel.url" )."/" target=/"_blank/">".$system->getConf( "certificate.channel.name" );

$channel .= "</a>";

}

if ( $system->getConf( "site.shopex_certify" ) == 0 )

{

$ref = $_SERVER['HTTP_HOST'];

$check = md5( $ref."ShopEx@Store" );

$str = urlencode( $system->getConf( "certificate.str" ) );

if ( !$str )

{

$str = urlencode( __( "無" ) );

}

if ( constant( "SAAS_MODE" ) )

{

$versionStr = "";

}

else

{

$versionStr = "v".$system->_app_version;

}

if ( $system->use_gzip )

{

$gzip = "enabled";

}

else

{

$gzip = "disabled";

}

$themeFoot = "<div class=/"themefoot/">".$system->getConf( "system.foot_edit" )."</div>";

$PoweredStr = "<div style=/"font-family:Verdana;line-height:20px!important;height:auto!important;font-size:11px!important;text-align:center;overflow:none!important;text-indent:0!important;/">";

if ( $system->getConf( "certificate.auth_type" ) == "commercial" )

{

$greencard = $system->getConf( "store.greencard" );

if ( !isset( $greencard ) || $greencard )

{

$PoweredStr .= "<a href='http://service.shopex.cn/show/certinfo.php?certi_id=".$system->getConf( "certificate.id" )."&url=".rawurlencode( $system->base_url( ) )."' target='_blank'><img src='statics/bottom-authorize.gif'></a><br>";

}

}

//$PoweredStr .= "<a href=/"http://store.shopex.cn/rating/store_detail.php?ref=".$ref."&check=".$check."&str=".$str."/" target=/"_blank/" style=/"color:#666;text-decoration:none;cursor:pointer/">";

//$PoweredStr .= "Powered&nbsp;by&nbsp;<b style=/"color:#5c719e/">Shop</b><b style=/"color:#f39000/">Ex</b>";

//$PoweredStr .= "</a>";

//$PoweredStr .= "<span style=/"font-size:9px;/">&nbsp;".$versionStr."</span>";

//$PoweredStr .= "<span style=/"color:#999;display:none/">&nbsp|Gzip ".$gzip."</span>&nbsp;";

if ( $channel )

{

$PoweredStr .= "<br/><span>".$channel."</span>&nbsp;";

}

if ( $system->getConf( "site.certtext" ) )

{

$PoweredStr .= "<a href=/"http://www.miitbeian.gov.cn//" target=/"blank/" style=/"color:#666;text-decoration:none;cursor:pointer;display:block;/" class=/"textcenter/">".$system->getConf( "site.certtext" )."</a>";

}

if ( $wssjs )

{

$PoweredStr .= "<span style=/"display:none/">".$wssjs."</span>";

}

$PoweredStr .= "</div>";

}

return $html.$themeFoot.$PoweredStr;

}

?>

 

發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 陕西省| 阜南县| 榆树市| 成武县| 措勤县| 新宾| 丹阳市| 陆川县| 临邑县| 政和县| 墨脱县| 浦北县| 伊金霍洛旗| 京山县| 泗阳县| 玛多县| 吴忠市| 沛县| 香河县| 乌恰县| 西乌珠穆沁旗| 高安市| 宁河县| 安陆市| 丹凤县| 长兴县| 兴业县| 来凤县| 马鞍山市| 沙洋县| 新民市| 万州区| 临清市| 吴堡县| 吉木乃县| 陇南市| 龙泉市| 句容市| 邯郸市| 巴塘县| 错那县|