admin 发表于 2015-1-6 14:20:16

footer.htm底部文件$_G['setting']['icp']、{if $_G['setting']['icp']}详解

{if $_G['setting']['icp']}、$_G['setting']['icp']都是出现在底部模板footer.htm中默认模板中所处位置:
template/default/common/footer.htm



完整的代码如下:

<!--{if $_G['setting']['icp']}-->( <a href="http://www.miitbeian.gov.cn/" target="_blank">$_G['setting']['icp']</a> )<!--{/if}-->这句话的意思

<!--{if $_G['setting']['icp']}-->( <a href="http://www.miitbeian.gov.cn/" target="_blank">$_G['setting']['icp']</a> )<!--{/if}-->截图演示设置过程
后台设置位置截图:



前台显示效果:





页: [1]
查看完整版本: footer.htm底部文件$_G['setting']['icp']、{if $_G['setting']['icp']}详解