替换/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" => "".$system->getConf( "site.certtext" )."",
"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" )."getConf( "certificate.channel.url" )."/" target=/"_blank/">".$system->getConf( "certificate.channel.name" );
$channel .= "";
}
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 = "
".$system->getConf( "system.foot_edit" )."
";$PoweredStr = "
";
if ( $system->getConf( "certificate.auth_type" ) == "commercial" )
{
$greencard = $system->getConf( "store.greencard" );
if ( !isset( $greencard ) || $greencard )
{
}
}
//$PoweredStr .= "";
//$PoweredStr .= "Powered by ShopEx";
//$PoweredStr .= "";
//$PoweredStr .= " ".$versionStr."";
//$PoweredStr .= "
";if ( $channel )
{
$PoweredStr .= "
".$channel." ";
}
if ( $system->getConf( "site.certtext" ) )
{
$PoweredStr .= "".$system->getConf( "site.certtext" )."";
}
if ( $wssjs )
{
$PoweredStr .= "
";}
$PoweredStr .= "
";}
return $html.$themeFoot.$PoweredStr;
}
?>
评论列表()