美化discuz的footer(底部正当中显示)

fieldset{padding:10px;}

美化discuz的footer(底部居中显示)

很多用discuz的新手朋友都对discuz默认模板的footer底部不太满意或者说是不习惯,因为它的版权信息和网站底部导航分为两边了。今天,特意分享一个简单的修改方法,供大家参考。

打开discuz的\template\default\common\footer.htm,寻找代码:

<div id="flk" class="y"><p><!--{loop $_G['setting']['footernavs'] $nav}--><!--{if $nav['available'] && ($nav['type'] && (!$nav['level'] || ($nav['level'] == 1 && $_G['uid']) || ($nav['level'] == 2 && $_G['adminid'] > 0) || ($nav['level'] == 3 && $_G['adminid'] == 1)) ||!$nav['type'] && ($nav['id'] == 'stat' && $_G['group']['allowstatdata'] || $nav['id'] == 'report' && $_G['uid'] || $nav['id'] == 'archiver' || $nav['id'] == 'mobile'))}-->$nav[code]<span class="pipe">|</span><!--{/if}--><!--{/loop}--><strong><a href="$_G['setting']['siteurl']" target="_blank">$_G['setting']['sitename']</a></strong><!--{if $_G['setting']['icp']}-->( <a href="http://www.miitbeian.gov.cn/" target="_blank">$_G['setting']['icp']</a> )<!--{/if}--><!--{hook/global_footerlink}--><!--{if $_G['setting']['statcode']}-->$_G['setting']['statcode']<!--{/if}--></p><p class="xs0">{lang time_now}<span id="debuginfo"><!--{if debuginfo()}-->, Processed in $_G[debuginfo][time] second(s), $_G[debuginfo][queries] queries<!--{if $_G['gzipcompress']}-->, Gzip On<!--{/if}--><!--{if C::memory()->type}-->, <!--{echo ucwords(C::memory()->type)}--> On<!--{/if}-->.<!--{/if}--></span></p></div><div id="frt"><p>Powered by <strong><a href="http://www.discuz.net" target="_blank">Discuz!</a></strong> <em>$_G['setting']['version']</em><!--{if !empty($_G['setting']['boardlicensed'])}--> <a href="http://license.comsenz.com/?pid=1&host=$_SERVER[HTTP_HOST]" target="_blank">Licensed</a><!--{/if}--></p><p class="xs0">© 2001-2012 <a href="http://www.comsenz.com" target="_blank">Comsenz Inc.</a></p></div><!--{eval updatesession();}-->

替换成:

<div >

然后结合自己的需要,对代码进行修改。

可以到小站预览一下效果,www.ymqfans.com(转载注明出处,谢谢)

切忌贪婪,恨不得一次玩遍所有传说中的好景点,

美化discuz的footer(底部正当中显示)

相关文章:

你感兴趣的文章:

标签云: