<?php
/**-------------------
*** www.chdz1.com ***
ShopEx 4.8.5.55324
-------------------**/
function tpl_function_footer( $params, &$smarty )
{
$system = $GLOBALS['system'];
$output =& $system->loadModel( "system/frontend" );
$tmpdata = $system->getConf( "im.setting" );
$data = unserialize( $tmpdata );
$appmgr = $system->loadModel( "system/appmgr" );
if ( $appmgr->openid_loglist( ) )
{
$open_id_login = true;
}
else
{
$open_id_login = false;
}
$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.miibeian.gov.cn/ \" target=\"blank\">".$system->getConf( "site.certtext" )."</a>",
"mini_cart" => $system->getConf( "site.buy.target" ) == 3,
"passport_login" => $system->getConf( "plugin.passport.config.current_use" ),
"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] ),
"certi_id" => $system->getConf( "certificate.id" ),
"openid_lg_url" => urlencode( $system->base_url( ) ),
"openid_open" => $open_id_login
) );
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" ) && $system->getConf( "certificate.channel.status" ) === true )
{
$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 ( $channel )
{
$PoweredStr .= "<span>".$channel."</span> ";
}
if ( $system->getConf( "site.certtext" ) )
{
$PoweredStr .= "<a href=\"http://www.miibeian.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;
}
?>

天天打码
- 粉丝: 7474
最新资源
- 工程项目管理工作存在的问题及优化策略(1).docx
- 大数据在电力设计企业信息化建设的应用探讨.docx
- 多层电梯PLC07级电气自动化(PLC方向)二班.doc
- 互联网+在中职德育主题班会中的实践与研究.docx
- 计算科学导论学科论文的论文-计算机理论论文.docx
- 大型工程网络计划技术的应用复杂性研究.docx
- 《动态网站设计》html试题-答案.doc
- VC程序设计方案复习试题出试卷用.doc
- 客房管理系统-Visual-C++-6.0.doc
- 泵站运行调度中的计算机技术.docx
- 大数据背景下城建档案社会化服务作用体现的策略.docx
- 旅游电子商务的网站.docx
- 汇编语言-汇编语言资源
- 《中国网址》项目管理方案.doc
- 通信传输中光交换技术的关键技术原理和应用.docx
- 电气工程及其自动化的智能化技术微探.docx
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈


