首页建站经验 shopex去底部版权的办法

shopex去底部版权的办法

1.直接将文件复制到/core/include_v5/smartyplugins/文件夹下,替换function.footer.phpfunction.footer.php代码:…

1.直接将文件复制到

/core/include_v5/smartyplugins/

文件夹下,替换

function.footer.php

function.footer.php代码:

<?php

/*********************/

/* */

/* Version : 5.1.0 */

/* Author : RM */

/* Comment : 071223 */

/* */

/*********************/

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 = "

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 .= "
";

}

}

//$PoweredStr .= "";

//$PoweredStr .= "Powered by ShopEx";

//$PoweredStr .= "";

//$PoweredStr .= " ".$versionStr."";

//$PoweredStr .= " |Gzip ".$gzip." ";

if ( $channel )

{

$PoweredStr .= "
".$channel." ";

}

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

{

$PoweredStr .= "".$system->getConf( "site.certtext" )."";

}

if ( $wssjs )

{

$PoweredStr .= "".$wssjs."";

}

$PoweredStr .= "

";

if ( $system->getConf( "site.rsc_rpc" ) && defined( "RSC_RPC" ) && ( $certificate = $system->getConf( "certificate.id" ) ) )

{

$p = array( );

foreach ( $runtime['path'] as $path )

{

$p[] = $path['title'];

}

$pageinfo['path'] = implode( $p, "/" );

$p = "";

foreach ( $pageinfo as $k => $v )

{

$p .= "&_".$k."=".urlencode( $v );

}

$p .= "&_time=".time( );

$RSC_RPC_STR = "

上一篇ecshop单独页面调用后台指定广告
下一篇 ecshop当前会员等级距离下一等级差多少积分显示
admin

作者: admin

这里可以再内容模板定义一些文字和说明,也可以调用对应作者的简介!或者做一些网站的描述之类的文字或者HTML!

为您推荐

评论列表()

    联系我们

    联系我们

    0898-88888888

    在线咨询: QQ交谈

    邮箱: email@wangzhan.com

    工作时间:周一至周五,9:00-17:30,节假日休息

    关注微信
    微信扫一扫关注我们

    微信扫一扫关注我们

    关注微博
    返回顶部