Discuz!官方免费开源建站系统

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

[发布] dz底部版权信息美化修改 To2 修改版

[复制链接]
╭为妳湗吣ヅ 发表于 2013-9-19 23:47:17 | 显示全部楼层 |阅读模式
本帖最后由 ╭为妳湗吣ヅ 于 2013-9-20 21:48 编辑

旧版本地址
dz底部版权信息美化修改
https://discuz.dismall.com/thread-2760028-1-1.html
(出处: Discuz! 官方站)

这个修改的新版的修改了下排位设计,修正了下宽屏错位不在中间的问题。
图片附件也给大家带上。样式 浏览www.syouy.com

下面是说明和新代码

首先在网站跟目录的模版找到版权文件。名为footer.htm 文件。

一般路径是/template/default/common/中

用记事本编辑,给以下代码换上去即可。图片位置自行替换。代码如下

自己的信息修改替换即可。记住尊重版权不要修改掉dz信息。
  1. </div>
  2. <!--{if empty($topic) || ($topic[usefooter])}-->
  3. <!--{eval $focusid = getfocus_rand($_G[basescript]);}-->
  4. <!--{if $focusid !== null}-->
  5. <!--{eval $focus = $_G['cache']['focus']['data'][$focusid];}-->
  6. <!--{eval $focusnum = count($_G['setting']['focus'][$_G[basescript]]);}-->
  7. <div class="focus" id="sitefocus">
  8. <div class="bm">
  9. <div class="bm_h cl">
  10. <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>
  11. <h2>
  12. <!--{if $_G['cache']['focus']['title']}-->{$_G['cache']['focus']['title']}<!--{else}-->{lang focus_hottopics}<!--{/if}-->
  13. <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>
  14. </h2>
  15. </div>
  16. <div class="bm_c" id="focus_con">
  17. </div>
  18. </div>
  19. </div>
  20. <!--{eval $focusi = 0;}-->
  21. <!--{loop $_G['setting']['focus'][$_G[basescript]] $id}-->
  22. <div class="bm_c" style="display: none" id="focus_$focusi">
  23. <dl class="xld cl bbda">
  24. <dt><a href="{$_G['cache']['focus']['data'][$id]['url']}" class="xi2" target="_blank">$_G['cache']['focus']['data'][$id]['subject']</a></dt>
  25. <!--{if $_G['cache']['focus']['data'][$id][image]}-->
  26. <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>
  27. <!--{/if}-->
  28. <dd>$_G['cache']['focus']['data'][$id]['summary']</dd>
  29. </dl>
  30. <p class="ptn cl"><a href="{$_G['cache']['focus']['data'][$id]['url']}" class="xi2 y" target="_blank">{lang focus_show} &raquo;</a></p>
  31. </div>
  32. <!--{eval $focusi ++;}-->
  33. <!--{/loop}-->
  34. <script type="text/javascript">
  35. var focusnum = $focusnum;
  36. if(focusnum < 2) {
  37. $('focus_ctrl').style.display = 'none';
  38. }
  39. if(!$('focuscur').innerHTML) {
  40. var randomnum = parseInt(Math.round(Math.random() * focusnum));
  41. $('focuscur').innerHTML = Math.max(1, randomnum);
  42. }
  43. showfocus();
  44. var focusautoshow = window.setInterval('showfocus(\'next\', 1);', 5000);
  45. </script>
  46. <!--{/if}-->
  47. <!--{if $_G['uid'] && $_G['member']['allowadmincp'] == 1 && $_G['setting']['showpatchnotice'] == 1}-->
  48. <div class="focus patch" id="patch_notice"></div>
  49. <!--{/if}-->

  50. <!--{ad/footerbanner/wp a_f/1}--><!--{ad/footerbanner/wp a_f/2}--><!--{ad/footerbanner/wp a_f/3}-->
  51. <!--{ad/float/a_fl/1}--><!--{ad/float/a_fr/2}-->
  52. <!--{ad/couplebanner/a_fl a_cb/1}--><!--{ad/couplebanner/a_fr a_cb/2}-->
  53. <!--{ad/cornerbanner/a_cn}-->

  54. <!--{hook/global_footer}-->
  55. <div id="ft" class="wp cl">
  56. <div id="flk" class="y">
  57. <p>
  58. <!--{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}-->
  59. <!--{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)) ||
  60. !$nav['type'] && ($nav['id'] == 'stat' && $_G['group']['allowstatdata'] || $nav['id'] == 'report' && $_G['uid'] || $nav['id'] == 'archiver' || $nav['id'] == 'mobile' || $nav['id'] == 'darkroom'))}-->$nav[code]<span class="pipe">|</span><!--{/if}--><!--{/loop}-->
  61. <strong><a href="$_G['setting']['siteurl']" target="_blank">$_G['setting']['sitename']</a></strong>
  62. <!--{if $_G['setting']['icp']}-->( <a  target="_blank">$_G['setting']['icp']</a> )<!--{/if}-->
  63. <!--{hook/global_footerlink}-->
  64. <!--{if $_G['setting']['statcode']}-->$_G['setting']['statcode']<!--{/if}-->
  65. </p>
  66. <p class="xs0">
  67. {lang time_now}
  68. <span id="debuginfo">
  69. <!--{if debuginfo()}-->, Processed in $_G[debuginfo][time] second(s), $_G[debuginfo][queries] queries
  70. <!--{if $_G['gzipcompress']}-->, Gzip On<!--{/if}--><!--{if C::memory()->type}-->, <!--{echo ucwords(C::memory()->type)}--> On<!--{/if}-->.
  71. <!--{/if}-->
  72. </span>
  73. </p>
  74. </div>
  75. <div id="frt">

  76. <font

  77. <h1 class="fr"><SCRIPT language=javascript>
  78. <!--
  79. BirthDay=new Date("November 29,2011");
  80. today=new Date();
  81. timeold=(today.getTime()-BirthDay.getTime());
  82. sectimeold=timeold/1000
  83. secondsold=Math.floor(sectimeold);
  84. msPerDay=24*60*60*1000
  85. e_daysold=timeold/msPerDay
  86. daysold=Math.floor(e_daysold);
  87. document.write("<b>水悠悠社区 - 自2011年11月29日 至今已有<font color=red>"+daysold+"</font>天!</b>");
  88. //-->
  89. </SCRIPT></h1>


  90. <tr>
  91. <td height="20" align="center">Syy-{if $_G['setting']['icp']}--> <a target="_blank">$_G['setting']['icp']</a><!--{/if}--> <a href="https://discuz.dismall.com/" target="_blank">Discuz!</a> 技术支持,Copyright &copy; 2011-2013 All Right Reserved. </td>
  92. </tr>

  93. <div

  94. align='center'>

  95. <tr>
  96. <td height="60" align="center" valign="middle"><table width="500" border="0" cellpadding="0" cellspacing="0">
  97. <tr>
  98. <td align="center"><table width="120" height="50" border="1" cellpadding="0" cellspacing="0" bordercolor="#e0e0e0">
  99. <tr>
  100. <td align="center" valign="middle"><a href="#" target="_blank"><img src="http://www.syouy.com/images/D1.gif" width="118" height="48" border="0"></a></td>
  101. </tr>
  102. </table></td>
  103. <td align="center"><table width="120" height="50" border="1" cellpadding="0" cellspacing="0" bordercolor="#e0e0e0">
  104. <tr>
  105. <td align="center" valign="middle"><a href="#" target="_blank"><img src="http://www.syouy.com/images/D2.gif" width="118" height="48" border="0"></a></td>
  106. </tr>
  107. </table></td>
  108. <td align="center"><table width="120" height="50" border="1" cellpadding="0" cellspacing="0" bordercolor="#e0e0e0">
  109. <tr>
  110. <td align="center" valign="middle"><a href="#" target="_blank"><img src="http://www.syouy.com/images/D3.gif" width="118" height="48" border="0"></a></td>
  111. </tr>
  112. </table></td>
  113. <td align="center"><table width="120" height="50" border="1" cellpadding="0" cellspacing="0" bordercolor="#e0e0e0">
  114. <tr>
  115. <td align="center" valign="middle"><a href="#" target="_blank"><img src="http://www.syouy.com/images/D4.gif" width="118" height="48" border="0"></a></td>
  116. </tr>
  117. </table></td>
  118. <td align="center"><table width="120" height="50" border="1" cellpadding="0" cellspacing="0" bordercolor="#e0e0e0">
  119. <tr>
  120. <td align="center" valign="middle"><a href="#" target="_blank"><img src="http://www.syouy.com/images/D5.gif" width="118" height="48" border="0"></a></td>
  121. </tr>
  122. </table></td>
  123. <td align="center"><table width="120" height="50" border="1" cellpadding="0" cellspacing="0" bordercolor="#e0e0e0">
  124. <tr>
  125. <td align="center" valign="middle"><a href="#" target="_blank"><img src="http://www.syouy.com/images/D6.gif" width="118" height="48" border="0"></a></td>
  126. </tr>
  127. </table></td>
  128. </tr>
  129. </table> </td>
  130. </tr>
  131. </table>
  132. </div>

  133. <font

  134. color="#6495ed"><div

  135. align='center'>本站提供网上自由讨论使用,所有个人言论并不代表本站立场,本站不负任何责任.如发现有侵权行为,请与我们联系.
  136. <div
  137. align='center'></left><divalign='center'> 我们将立刻从网站上删除,并向所有持版权者致最深歉意.</left><div
  138. <font color=black>本站法人代表: <b><font color=lightgray>半月</font></b> QQ:<font

  139. color=black>270226203</font> E-mail:<font

  140. color=black><a href="mailto:banyue52@syouy.com">banyue52@qq.com</a></font></font></br>

  141. <img src="http://www.syouy.com/images/yxzz.jpg" alt="我们一直在努力成为最好的社区论坛"></div>

  142. <!--{eval updatesession();}-->
  143. <!--{if $_G['uid'] && $_G['group']['allowinvisible']}-->
  144. <script type="text/javascript">
  145. var invisiblestatus = '<!--{if $_G['session']['invisible']}-->{lang login_invisible_mode}<!--{else}-->{lang login_normal_mode}<!--{/if}-->';
  146. var loginstatusobj = $('loginstatusid');
  147. if(loginstatusobj != undefined && loginstatusobj != null) loginstatusobj.innerHTML = invisiblestatus;
  148. </script>
  149. <!--{/if}-->
  150. </div>
  151. <!--{/if}-->

  152. <!--{if !$_G['setting']['bbclosed']}-->
  153. <!--{if $_G[uid] && !isset($_G['cookie']['checkpm'])}-->
  154. <script type="text/javascript" src="home.php?mod=spacecp&ac=pm&op=checknewpm&rand=$_G[timestamp]"></script>
  155. <!--{/if}-->

  156. <!--{if $_G[uid] && helper_access::check_module('follow') && !isset($_G['cookie']['checkfollow'])}-->
  157. <script type="text/javascript" src="home.php?mod=spacecp&ac=follow&op=checkfeed&rand=$_G[timestamp]"></script>
  158. <!--{/if}-->

  159. <!--{if !isset($_G['cookie']['sendmail'])}-->
  160. <script type="text/javascript" src="home.php?mod=misc&ac=sendmail&rand=$_G[timestamp]"></script>
  161. <!--{/if}-->

  162. <!--{if $_G[uid] && $_G['member']['allowadmincp'] == 1 && !isset($_G['cookie']['checkpatch'])}-->
  163. <script type="text/javascript" src="misc.php?mod=patch&action=checkpatch&rand=$_G[timestamp]"></script>
  164. <!--{/if}-->

  165. <!--{/if}-->

  166. <!--{if $_GET['diy'] == 'yes'}-->
  167. <!--{if check_diy_perm($topic) && (empty($do) || $do != 'index')}-->
  168. <script type="text/javascript" src="{$_G[setting][jspath]}common_diy.js?{VERHASH}"></script>
  169. <script type="text/javascript" src="{$_G[setting][jspath]}portal_diy{if !check_diy_perm($topic, 'layout')}_data{/if}.js?{VERHASH}"></script>
  170. <!--{/if}-->
  171. <!--{if $space['self'] && CURMODULE == 'space' && $do == 'index'}-->
  172. <script type="text/javascript" src="{$_G[setting][jspath]}common_diy.js?{VERHASH}"></script>
  173. <script type="text/javascript" src="{$_G[setting][jspath]}space_diy.js?{VERHASH}"></script>
  174. <!--{/if}-->
  175. <!--{/if}-->
  176. <!--{if $_G['uid'] && $_G['member']['allowadmincp'] == 1 && $_G['setting']['showpatchnotice'] == 1}-->
  177. <script type="text/javascript">patchNotice();</script>
  178. <!--{/if}-->
  179. <!--{if $_G['uid'] && $_G['member']['allowadmincp'] == 1 && empty($_G['cookie']['pluginnotice'])}-->
  180. <div class="focus plugin" id="plugin_notice"></div>
  181. <script type="text/javascript">pluginNotice();</script>
  182. <!--{/if}-->
  183. <!--{if !$_G['setting']['bbclosed'] && $_G['setting']['disableipnotice'] != 1 && $_G['uid'] && !empty($_G['cookie']['lip'])}-->
  184. <div class="focus plugin" id="ip_notice"></div>
  185. <script type="text/javascript">ipNotice();</script>
  186. <!--{/if}-->
  187. <!--{if $_G['member']['newprompt'] && (empty($_G['cookie']['promptstate_'.$_G[uid]]) || $_G['cookie']['promptstate_'.$_G[uid]] != $_G['member']['newprompt']) && $_GET['do'] != 'notice'}-->
  188. <script type="text/javascript">noticeTitle();</script>
  189. <!--{/if}-->

  190. <!--{if ($_G[member][newpm] || $_G[member][newprompt]) && empty($_G['cookie']['ignore_notice'])}-->
  191. <script type="text/javascript" src="{$_G[setting][jspath]}html5notification.js?{VERHASH}"></script>
  192. <script type="text/javascript">
  193. var h5n = new Html5notification();
  194. if(h5n.issupport()) {
  195. <!--{if $_G[member][newpm] && $_GET[do] != 'pm'}-->
  196. h5n.shownotification('pm', '$_G[siteurl]home.php?mod=space&do=pm', '<!--{avatar($_G[uid],small,true)}-->', '{lang newpm_subject}', '{lang newpm_notice_info}');
  197. <!--{/if}-->
  198. <!--{if $_G[member][newprompt] && $_GET[do] != 'notice'}-->
  199. <!--{loop $_G['member']['category_num'] $key $val}-->
  200. <!--{eval $noticetitle = lang('template', 'notice_'.$key);}-->
  201. h5n.shownotification('notice_$key', '$_G[siteurl]home.php?mod=space&do=notice&view=$key', '<!--{avatar($_G[uid],small,true)}-->', '$noticetitle ($val)', '{lang newnotice_notice_info}');
  202. <!--{/loop}-->
  203. <!--{/if}-->
  204. }
  205. </script>
  206. <!--{/if}-->

  207. <!--{eval userappprompt();}-->
  208. <!--{if $_G['basescript'] != 'userapp'}-->
  209. <div id="scrolltop">
  210. <!--{if $_G[fid] && $_G['mod'] == 'viewthread'}-->
  211. <span><a href="forum.php?mod=post&action=reply&fid=$_G[fid]&tid=$_G[tid]&extra=$_GET[extra]&page=$page{if $_GET[from]}&from=$_GET[from]{/if}" onclick="showWindow('reply', this.href)" class="replyfast" title="{lang fastreply}"><b>{lang fastreply}</b></a></span>
  212. <!--{/if}-->
  213. <span hidefocus="true"><a title="{lang scrolltop}" onclick="window.scrollTo('0','0')" class="scrolltopa" ><b>{lang scrolltop}</b></a></span>
  214. <!--{if $_G[fid]}-->
  215. <span>
  216. <!--{if $_G['mod'] == 'viewthread'}-->
  217. <a href="forum.php?mod=forumdisplay&fid=$_G[fid]" hidefocus="true" class="returnlist" title="{lang return_list}"><b>{lang return_list}</b></a>
  218. <!--{else}-->
  219. <a href="forum.php" hidefocus="true" class="returnboard" title="{lang return_forum}"><b>{lang return_forum}</b></a>
  220. <!--{/if}-->
  221. </span>
  222. <!--{/if}-->
  223. </div>
  224. <script type="text/javascript">_attachEvent(window, 'scroll', function () { showTopLink(); });checkBlind();</script>
  225. <!--{/if}-->
  226. <!--{if isset($_G['makehtml'])}-->
  227. <script type="text/javascript" src="{$_G[setting][jspath]}html2dynamic.js?{VERHASH}"></script>
  228. <script type="text/javascript">
  229. var html_lostmodify = {TIMESTAMP};
  230. htmlGetUserStatus();
  231. <!--{if isset($_G['htmlcheckupdate'])}-->
  232. htmlCheckUpdate();
  233. <!--{/if}-->
  234. </script>
  235. <!--{/if}-->
  236. <!--{eval output();}-->
  237. </body>
  238. </html>
复制代码
样式图

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

x
 楼主| ╭为妳湗吣ヅ 发表于 2013-9-19 23:49:58 | 显示全部楼层
老规矩,自杀下沙发,
回复

使用道具 举报

zhsyn123 发表于 2013-9-20 21:10:00 | 显示全部楼层
谢谢,分享一下
回复

使用道具 举报

kx5000 发表于 2013-9-23 12:46:52 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
回复

使用道具 举报

Anonymous° 发表于 2013-10-29 09:11:42 | 显示全部楼层
+1 +1 +1 +1 +1 +1
回复

使用道具 举报

云主机合租 发表于 2013-10-29 11:09:07 | 显示全部楼层
求解决求帮忙
回复

使用道具 举报

dulala001 发表于 2013-10-29 13:26:09 | 显示全部楼层
我的也修改了
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2024-11-18 06:34 , Processed in 0.031970 second(s), 7 queries , Gzip On, Redis On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表