底部版权居中,怎么改?
我的footer代码- </div>
- <!--{if empty($topic) || ($topic[usefooter])}-->
- <!--{eval $focusid = getfocus_rand($_G[basescript]);}-->
- <!--{if $focusid !== null}-->
- <!--{eval $focus = $_G['cache']['focus']['data'][$focusid];}-->
- <!--{eval $focusnum = count($_G['setting']['focus'][$_G[basescript]]);}-->
- <div class="focus" id="sitefocus">
- <div class="bm">
- <div class="bm_h cl">
- <a href="javascript:;" onclick="setcookie('nofocus_$_G[basescript]', 1, $_G['cache']['focus']['cookie']*3600);$('sitefocus').style.display='none'" class="y" title="{lang close}">{lang close}</a>
- <h2>
- <!--{if $_G['cache']['focus']['title']}-->{$_G['cache']['focus']['title']}<!--{else}-->{lang focus_hottopics}<!--{/if}-->
- <span id="focus_ctrl" class="fctrl"><img src="{IMGDIR}/pic_nv_prev.gif" alt="{lang footer_previous}" title="{lang footer_previous}" id="focusprev" class="cur1" onclick="showfocus('prev');" /> <em><span id="focuscur"></span>/$focusnum</em> <img src="{IMGDIR}/pic_nv_next.gif" alt="{lang footer_next}" title="{lang footer_next}" id="focusnext" class="cur1" onclick="showfocus('next')" /></span>
- </h2>
- </div>
- <div class="bm_c" id="focus_con">
- </div>
- </div>
- </div>
- <!--{eval $focusi = 0;}-->
- <!--{loop $_G['setting']['focus'][$_G[basescript]] $id}-->
- <div class="bm_c" style="display: none" id="focus_$focusi">
- <dl class="xld cl bbda">
- <dt><a href="{$_G['cache']['focus']['data'][$id]['url']}" class="xi2" target="_blank">$_G['cache']['focus']['data'][$id]['subject']</a></dt>
- <!--{if $_G['cache']['focus']['data'][$id][image]}-->
- <dd class="m"><a href="{$_G['cache']['focus']['data'][$id]['url']}" target="_blank"><img src="{$_G['cache']['focus']['data'][$id]['image']}" alt="$_G['cache']['focus']['data'][$id]['subject']" /></a></dd>
- <!--{/if}-->
- <dd>$_G['cache']['focus']['data'][$id]['summary']</dd>
- </dl>
- <p class="ptn cl"><a href="{$_G['cache']['focus']['data'][$id]['url']}" class="xi2 y" target="_blank">{lang focus_show} »</a></p>
- </div>
- <!--{eval $focusi ++;}-->
- <!--{/loop}-->
- <script type="text/javascript">
- var focusnum = $focusnum;
- if(focusnum < 2) {
- $('focus_ctrl').style.display = 'none';
- }
- if(!$('focuscur').innerHTML) {
- var randomnum = parseInt(Math.round(Math.random() * focusnum));
- $('focuscur').innerHTML = Math.max(1, randomnum);
- }
- showfocus();
- var focusautoshow = window.setInterval('showfocus(\'next\', 1);', 5000);
- </script>
- <!--{/if}-->
- <!--{if $_G['uid'] && $_G['member']['allowadmincp'] == 1 && $_G['setting']['showpatchnotice'] == 1}-->
- <div class="focus patch" id="patch_notice"></div>
- <!--{/if}-->
- <!--{ad/footerbanner/wp a_f/1}--><!--{ad/footerbanner/wp a_f/2}--><!--{ad/footerbanner/wp a_f/3}-->
- <!--{ad/float/a_fl/1}--><!--{ad/float/a_fr/2}-->
- <!--{ad/couplebanner/a_fl a_cb/1}--><!--{ad/couplebanner/a_fr a_cb/2}-->
- <!--{ad/cornerbanner/a_cn}-->
- <!--{hook/global_footer}-->
- <div id="ft" class="wp cl">
- <div id="flk" class="y">
- <p>
- <!--{if $_G['setting']['site_qq']}--><a href="http://wpa.qq.com/msgrd?V=3&Uin=$_G['setting']['site_qq']&Site=$_G['setting']['bbname']&Menu=yes&from=discuz" target="_blank" title="QQ"><img src="{IMGDIR}/site_qq.jpg" alt="QQ" /></a><span class="pipe">|</span><!--{/if}-->
- <!--{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 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="https://discuz.dismall.com" 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">© 2011-2013 最终解释权为<a target="_blank">唯悦论坛</a>所有</p>
- <p class="xs1">只有开心,尽在唯悦!</p>
- </div>
- <!--{eval updatesession();}-->
- <!--{if $_G['uid'] && $_G['group']['allowinvisible']}-->
- <script type="text/javascript">
- var invisiblestatus = '<!--{if $_G['session']['invisible']}-->{lang login_invisible_mode}<!--{else}-->{lang login_normal_mode}<!--{/if}-->';
- var loginstatusobj = $('loginstatusid');
- if(loginstatusobj != undefined && loginstatusobj != null) loginstatusobj.innerHTML = invisiblestatus;
- </script>
- <!--{/if}-->
- </div>
- <!--{if $upgradecredit !== false}-->
- <div id="g_upmine_menu" class="tip tip_3" style="display:none;">
- <div class="tip_c">
- {lang credits} $_G[member][credits], {lang thread_groupupgrade} $upgradecredit {lang credits}
- </div>
- <div class="tip_horn"></div>
- </div>
- <!--{/if}-->
- <!--{/if}-->
- <!--{if !$_G['setting']['bbclosed']}-->
- <!--{if $_G[uid] && !isset($_G['cookie']['checkpm'])}-->
- <script type="text/javascript" src="home.php?mod=spacecp&ac=pm&op=checknewpm&rand=$_G[timestamp]"></script>
- <!--{/if}-->
- <!--{if $_G[uid] && helper_access::check_module('follow') && !isset($_G['cookie']['checkfollow'])}-->
- <script type="text/javascript" src="home.php?mod=spacecp&ac=follow&op=checkfeed&rand=$_G[timestamp]"></script>
- <!--{/if}-->
- <!--{if !isset($_G['cookie']['sendmail'])}-->
- <script type="text/javascript" src="home.php?mod=misc&ac=sendmail&rand=$_G[timestamp]"></script>
- <!--{/if}-->
- <!--{if $_G[uid] && $_G['member']['allowadmincp'] == 1 && !isset($_G['cookie']['checkpatch'])}-->
- <script type="text/javascript" src="misc.php?mod=patch&action=checkpatch&rand=$_G[timestamp]"></script>
- <!--{/if}-->
- <!--{/if}-->
- <!--{if $_GET['diy'] == 'yes'}-->
- <!--{if check_diy_perm($topic) && (empty($do) || $do != 'index')}-->
- <script type="text/javascript" src="{$_G[setting][jspath]}common_diy.js?{VERHASH}"></script>
- <script type="text/javascript" src="{$_G[setting][jspath]}portal_diy{if !check_diy_perm($topic, 'layout')}_data{/if}.js?{VERHASH}"></script>
- <!--{/if}-->
- <!--{if $space['self'] && CURMODULE == 'space' && $do == 'index'}-->
- <script type="text/javascript" src="{$_G[setting][jspath]}common_diy.js?{VERHASH}"></script>
- <script type="text/javascript" src="{$_G[setting][jspath]}space_diy.js?{VERHASH}"></script>
- <!--{/if}-->
- <!--{/if}-->
- <!--{if $_G['uid'] && $_G['member']['allowadmincp'] == 1 && $_G['setting']['showpatchnotice'] == 1}-->
- <script type="text/javascript">patchNotice();</script>
- <!--{/if}-->
- <!--{if $_G['uid'] && $_G['member']['allowadmincp'] == 1 && empty($_G['cookie']['pluginnotice'])}-->
- <div class="focus plugin" id="plugin_notice"></div>
- <script type="text/javascript">pluginNotice();</script>
- <!--{/if}-->
- <!--{if $_G['member']['newprompt'] && (empty($_G['cookie']['promptstate_'.$_G[uid]]) || $_G['cookie']['promptstate_'.$_G[uid]] != $_G['member']['newprompt']) && $_GET['do'] != 'notice'}-->
- <script type="text/javascript">noticeTitle();</script>
- <!--{/if}-->
- <!--{eval userappprompt();}-->
- <!--{if $_G['basescript'] != 'userapp'}-->
- <span id="scrolltop" onclick="window.scrollTo('0','0')">{lang scrolltop}</span>
- <script type="text/javascript">_attachEvent(window, 'scroll', function(){showTopLink();});checkBlind();</script>
- <!--{/if}-->
- <!--{eval output();}-->
- <!-- bbs.yuanzei.com Baidu tongji analytics -->
- <script type="text/javascript">
- var _bdhmProtocol = (("https:" == document.location.protocol) ? " https://" : " http://");
- document.write(unescape("%3Cscript src='" + _bdhmProtocol + "hm.baidu.com/h.js%3F9a3fe53058811d2ef70db590b3115c45' type='text/javascript'%3E%3C/script%3E"));
- </script>
- </body>
- </html>
复制代码 求高人帮忙改一下!~
|