为了安全请先进入/template/default/common/把footer.htm文件备份或者改名存放。
把以下代码全部复制到记事本,改名为footer.htm,然后上传到/template/default/common/里
如果你还有统计你就自己加上去,因为本站没有这一项- </div>
- <!--{if empty($topic) || ($topic[usefooter])}-->
- <!--{eval $focusid = getfocus_rand($_G[basescript]);}-->
- <!--{if $focusid !== null}-->
- <!--{eval $focus = $_G['cache']['focus']['data'][$focusid];}-->
- <div class="focus" id="sitefocus">
- <h3 class="flb">
- <em><!--{if $_G['cache']['focus']['title']}-->{$_G['cache']['focus']['title']}<!--{else}-->{lang focus_hottopics}<!--{/if}--></em>
- <span><a href="javascript:;" onclick="setcookie('nofocus_$focusid', 1, 86400);$('sitefocus').style.display='none'" class="flbc" title="{lang close}">{lang close}</a></span>
- </h3>
- <hr class="l" />
- <div class="detail">
- <h4><a href="{$focus['url']}" target="_blank">$focus['subject']</a></h4>
- <p>
- <!--{if $focus[image]}-->
- <a href="{$focus['url']}" target="_blank"><img src="{$focus['image']}" onload="thumbImg(this, 1)" _width="58" _height="58" /></a>
- <!--{/if}-->
- $focus['summary']
- </p>
- </div>
- <hr class="l" />
- <p align="center">
- <a href="{$focus['url']}" class="moreinfo" target="_blank">{lang focus_show}</a>
- </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}-->
- <!--{hook/global_footer}-->
- <div id="ft" class="wp cl">
- <div id="flk1" class="c">
- <p align="center">
- <a href="forum.php?mod=viewthread&tid=2" >关于烛光</a><span class="pipe">|</span>
- <a href="https://www.alipay.com/">支付宝站</a><span class="pipe">|</span>
- <a href="#" >广告服务</a><span class="pipe">|</span>
- <a href="forum.php?mod=viewthread&tid=1052">法律声明</a><span class="pipe">|</span>
- <a href="#" >隐私保护</a><span class="pipe">|</span>
- <a href="mailto:zgsysq@gmail.com">联系我们</a><span class="pipe">|</span>
- <!--{eval $fnavcount=0;}-->
- <!--{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[code]<span class="pipe">|</span><!--{/if}--><!--{/loop}-->
-
- <!--{if $_G['setting']['statcode']}-->$_G['setting']['statcode']<span class="pipe">|</span><!--{/if}-->
- <!--{hook/global_footerlink}-->
- <a href="http://www.zg47.com/misc.php?mod=faq" >帮助中心</a>
- </p>
- <p align="center">工业和信息化部备案:<!--{if $_G['setting']['icp']}--><a href="http://www.miitbeian.gov.cn/" target="_blank">$_G['setting']['icp']</a><!--{/if}--> 广告服务/联系QQ: <a target="blank" href="tencent://message/?uin=81596583&Site=免费QQ客服代码&Menu=yes">
- <font color="#0033CC">81596583</font></a> 投诉受理QQ: <a target="blank" href="tencent://message/?uin=24818227&Site=免费QQ客服代码&Menu=yes">
- <font color="#0033CC">24818227</font></a> </td> </p>
- </div>
- <div id="flk1">
- <p align="center">技术支持:<a href="https://discuz.dismall.com" target="_blank">Discuz!</a> Copyright © 2009 - 2010 联系邮箱:<a href="mailto:zgsysq@gmail.com"><font color="#008000">zgsysq@gmail.com</font></a> 版权所有 <a href="$_G['setting']['siteurl']" target="_blank">$_G['setting']['sitename']</a></p>
- <p class="xs0" align="center">
- {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 $_G['memory']}-->, <!--{echo ucwords($_G['memory'])}--> On<!--{/if}-->.
- <!--{/if}-->
- </span>
- </p>
- <FORM name=websearch onsubmit=return(search4())>
- <p align="center">
- <script>
- function search4()
- {
- if(websearch.google.checked)
- window.open("http://www.google.com/search?hl=zh-CN&inlang=zh-CN&ie=GB2312&oe=GB2312&q="+websearch.key.value,"mspg6");
- if(websearch.baidu.checked)
- window.open("http://www1.baidu.com/baidu?tn=haofa&word="+websearch.key.value,"mspg9");
- if(websearch.sohu.checked)
- window.open("http://www.sogou.com/websearch/corp/search.jsp?query="+websearch.key.value+"&searchtype=1&pid=k688&class=1&cpc=SOGOU","mspg1");
- if(websearch.yahoo.checked)
- window.open("http://www.yisou.com/search?p="+websearch.key.value,"mspg2");
- return false;
- }
- </script>
- <a href="/" target="_blank" style=font-size:9pt;TEXT-DECORATION:none>请输入你要搜索的关键字关键字:</a>
- <Input size=18 name=key value="">
- <Input type=submit value=搜索 name=submit>
- <Input style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px" type=checkbox CHECKED value=baidu name=baidu>
- <A href="http://d.baidu.com/index.php?tn=haofa" target=_blank style=font-size:9pt;TEXT-DECORATION:none>百度</A>
- <Input style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px" type=checkbox value=google name=google>
- google
- <Input style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px " type=checkbox value=yahoo name=yahoo>
- 一搜
- <Input style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px" type=checkbox value=sohu name=sohu>
- 搜狐</p>
- </form>
- </p>
- </div>
- <div id="flk1">
- <form action="http://hefei.cyberpolice.cn/" name="bjgt" target="_blank">
- <input type="hidden" name="typeNum" value="01" />
- <input type="hidden" name="ip" value="61.160.251.36" />
- <table width="800" border="0" align="center" cellpadding="0" cellspacing="3">
- <tr>
- <td width="120"> <table width="120" height="50" border="0" align="center" cellpadding="0" cellspacing="0" style="border:1px solid #d2d2d2">
- <tr align="center">
- <td><a href="http://www.ah.cyberpolice.cn/" class="lcblack" target="_blank"><img src="/static/image/foot_wljc.gif" width="122" height="52" border="0" /></a></td>
- </tr>
- </table></td>
- <td width="120"> <table width="120" height="50" border="0" align="center" cellpadding="0" cellspacing="0" style="border:0px solid #d2d2d2">
- <tr>
- <td align="center"><a href="http://www.miitbeian.gov.cn" target="_blank"><img src="/static/image/foot_beian.gif" width="122" height="52" border="0" /></a></td>
- </tr>
- </table></td>
- <td width="120"> <table width="120" height="50" border="0" align="center" cellpadding="0" cellspacing="0" style="border:0px solid #d2d2d2">
- <tr>
- <td align="center"><a href="http://net.china.cn/" target="_blank"><img src="/static/image/foot_jubao.gif" width="122" height="52" border="0" /></a></a></td>
- </tr>
- </table></td>
- <td width="120"><table width="120" height="50" border="0" align="center" cellpadding="0" cellspacing="0" style="border:1px solid #d2d2d2">
- <tr>
- <td align="center"><a href="http://www.110.com/fagui/law_306264.html" target="_blank"><img src="/static/image/foot_110.gif" width="122" height="52" border="0" /></a></td>
- </tr>
- </table></td>
- <td width="119" align="center" valign="middle">
- <table width="120" height="50" border="0" align="center" cellpadding="0" cellspacing="0" style="border:0px solid #d2d2d2">
- <tr>
- <td align="center"><a href="http://www.scis.org.cn/" target="_blank"><img src="/static/image/foot_jshlw.gif" width="122" height="52" border="0" /></a></td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </form>
- </div>
- <!--{eval updatesession();}-->
- </div>
- <!--{/if}-->
- <ul id="usersetup_menu" class="p_pop" style="display:none;">
- <li><a href="home.php?mod=spacecp&ac=avatar">{lang modify_avatar}</a></li>
- <li><a href="home.php?mod=spacecp&ac=profile">{lang personal_profile}</a></li>
- <!--{if $_G['setting']['verify']['enabled'] || $_G['setting']['my_app_status'] && $_G['setting']['videophoto']}-->
- <li><a href="{if $_G['setting']['verify']['enabled']}home.php?mod=spacecp&ac=profile&op=verify{else}home.php?mod=spacecp&ac=videophoto{/if}">{lang certification}</a></li>
- <!--{/if}-->
- <li><a href="home.php?mod=spacecp&ac=credit">{lang credits}</a></li>
- <li><a href="home.php?mod=spacecp&ac=usergroup">{lang usergroup}</a></li>
- <li><a href="home.php?mod=spacecp&ac=privacy">{lang privacy_filter}</a></li>
- <!--{if $_G['setting'][sendmailday]}-->
- <li><a href="home.php?mod=spacecp&ac=sendmail">{lang mail_notifier}</a></li>
- <!--{/if}-->
- <li><a href="home.php?mod=spacecp&ac=profile&op=password">{lang password_security}</a></li>
- <!--{if !empty($_G['setting']['plugins']['spacecp'])}-->
- <!--{loop $_G['setting']['plugins']['spacecp'] $id $module}-->
- <!--{if !$module['adminid'] || ($module['adminid'] && $_G['adminid'] > 0 && $module['adminid'] >= $_G['adminid'])}--><li{if $_G[gp_id] == $id} class="a"{/if}><a href="home.php?mod=spacecp&ac=plugin&id=$id">$module[name]</a></li><!--{/if}-->
- <!--{/loop}-->
- <!--{/if}-->
- </ul>
- <!--{if $upgradecredit !== false}-->
- <div id="g_upmine_menu" class="g_up" style="display:none;">
- <div class="crly">
- {lang credits} $_G[member][credits], {lang thread_groupupgrade} $upgradecredit {lang credits}
- </div>
- <div class="mncr"></div>
- </div>
- <!--{/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 !isset($_G['cookie']['sendmail'])}-->
- <script type="text/javascript" src="home.php?mod=misc&ac=sendmail&rand=$_G[timestamp]"></script>
- <!--{/if}-->
- <!--{/if}-->
- <!--{if $_GET['diy'] == 'yes' && ($_G[mod] == 'topic' || $_G[group][allowdiy]) && (empty($do) || $do != 'index') && !empty($_G['style']['tplfile'])}-->
- <script type="text/javascript" src="{$_G[setting][jspath]}common_diy.js?{VERHASH}"></script>
- <script type="text/javascript" src="{$_G[setting][jspath]}portal_diy.js?{VERHASH}"></script>
- <!--{/if}-->
- <!--{if $_GET['diy'] == 'yes' && $space['self'] && $_G[mod] == '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 $_G['member']['newprompt'] && (empty($_G['cookie']['promptstate_'.$_G[uid]]) || $_G['cookie']['promptstate_'.$_G[uid]] != $_G['member']['newprompt']) && $_G['gp_do'] != 'notice'}-->
- <script type="text/javascript">noticeTitle();</script>
- <!--{/if}-->
- <!--{eval output();}-->
- </body>
- <script>
- lastScrollY=0;
- function heartBeat(){
- var diffY;
- if (document.documentElement && document.documentElement.scrollTop)
- diffY = document.documentElement.scrollTop;
- else if (document.body)
- diffY = document.body.scrollTop
- else
- {/*Netscape stuff*/}
- percent=.1*(diffY-lastScrollY);
- if(percent>0)percent=Math.ceil(percent);
- else percent=Math.floor(percent);
- document.getElementById("full").style.top=parseInt(document.getElementById("full").style.top)+percent+"px";
- lastScrollY=lastScrollY+percent;
- }
- suspendcode="<div id="full" style='right:30px;POSITION:absolute;TOP:400px;z-index:100'><a href='javascript:scroll(0,0)' title='顶部' onfocus='this.blur()'><img border=0 src='static/ks/uw.gif' ></a> <br><br><a href='javascript:history.back()' title='返回' onfocus='this.blur()'><img border=0 src='static/ks/lw.gif'></a><br><br><a href='javascript:scroll(0,80000)' title='底部' onfocus='this.blur()'><img border=0 src='static/ks/dw.gif'></a></div>"
- document.write(suspendcode);
- window.setInterval("heartBeat()",1);
- </script>
- <a name="end">
- </html>
复制代码 此美化里加上了快速回到顶部和底部,如果你不要这个你就把- <script>
- lastScrollY=0;
- function heartBeat(){
- var diffY;
- if (document.documentElement && document.documentElement.scrollTop)
- diffY = document.documentElement.scrollTop;
- else if (document.body)
- diffY = document.body.scrollTop
- else
- {/*Netscape stuff*/}
- percent=.1*(diffY-lastScrollY);
- if(percent>0)percent=Math.ceil(percent);
- else percent=Math.floor(percent);
- document.getElementById("full").style.top=parseInt(document.getElementById("full").style.top)+percent+"px";
- lastScrollY=lastScrollY+percent;
- }
- suspendcode="<div id="full" style='right:30px;POSITION:absolute;TOP:400px;z-index:100'><a href='javascript:scroll(0,0)' title='顶部' onfocus='this.blur()'><img border=0 src='static/ks/uw.gif' ></a> <br><br><a href='javascript:history.back()' title='返回' onfocus='this.blur()'><img border=0 src='static/ks/lw.gif'></a><br><br><a href='javascript:scroll(0,80000)' title='底部' onfocus='this.blur()'><img border=0 src='static/ks/dw.gif'></a></div>"
- document.write(suspendcode);
- window.setInterval("heartBeat()",1);
- </script>
- <a name="end">
复制代码 删除掉。 |