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

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

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

[复制链接]
╭为妳湗吣ヅ 发表于 2012-4-12 15:23:23 | 显示全部楼层 |阅读模式
首先在网站跟目录的模版找到版权文件。名为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. <div class="focus" id="sitefocus">
  7. <div class="bm">
  8. <div class="bm_h cl">
  9. <a href="javascript:;" onclick="setcookie('nofocus_$focusid', 1, $_G['cache']['focus']['cookie']*3600);$('sitefocus').style.display='none'" class="y" title="{lang close}">{lang close}</a>
  10. <h2><!--{if $_G['cache']['focus']['title']}-->{$_G['cache']['focus']['title']}<!--{else}-->{lang focus_hottopics}<!--{/if}--></h2>
  11. </div>
  12. <div class="bm_c">
  13. <dl class="xld cl bbda">
  14. <dt><a href="{$focus['url']}" class="xi2" target="_blank">$focus['subject']</a></dt>
  15. <!--{if $focus[image]}-->
  16. <dd class="m"><a href="{$focus['url']}" target="_blank"><img src="{$focus['image']}" alt="$focus['subject']" /></a></dd>
  17. <!--{/if}-->
  18. <dd>$focus['summary']</dd>
  19. </dl>
  20. <p class="ptn hm"><a href="{$focus['url']}" class="xi2" target="_blank">{lang focus_show} &raquo;</a></p>
  21. </div>
  22. </div>
  23. </div>
  24. <!--{/if}-->

  25. <!--{ad/footerbanner/wp a_f/1}--><!--{ad/footerbanner/wp a_f/2}--><!--{ad/footerbanner/wp a_f/3}-->
  26. <!--{ad/float/a_fl/1}--><!--{ad/float/a_fr/2}-->
  27. <!--{ad/couplebanner/a_fl a_cb/1}--><!--{ad/couplebanner/a_fr a_cb/2}-->
  28. <!--{ad/cornerbanner/a_cn}-->

  29. <!--{hook/global_footer}-->
  30. <div id="ft" class="wp cl">
  31. <div id="flk" class="y">
  32. <table width="960" border="0" cellspacing="0" cellpadding="0">
  33. <tr>
  34. <td height="30" align="center"> <!--{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)) ||
  35. !$nav['type'] && ($nav['id'] == 'stat' && $_G['group']['allowstatdata'] || $nav['id'] == 'report' && $_G['uid'] || $nav['id'] == 'archiver' || $nav['id'] == 'mobile'))}--><!--{if $nav['id'] == 'mobile' && $_G['setting']['mobile']['allowmobile'] != 1}--><!--{eval continue;}--><!--{/if}-->$nav[code]<span class="pipe">|</span><!--{/if}--><!--{/loop}--><!--{hook/global_footerlink}-->
  36. <!--{if $_G['setting']['statcode']}-->$_G['setting']['statcode']<!--{/if}-->

  37. <font

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

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

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

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

  45. <img src="http://www.syouy.com/images/yxzz.jpg" alt="我们一直在努力成为最好的社区论坛"><div
  46. <h1 class="fr"><SCRIPT language=javascript>
  47. <!--
  48. BirthDay=new Date("November 29,2011");
  49. today=new Date();
  50. timeold=(today.getTime()-BirthDay.getTime());
  51. sectimeold=timeold/1000
  52. secondsold=Math.floor(sectimeold);
  53. msPerDay=24*60*60*1000
  54. e_daysold=timeold/msPerDay
  55. daysold=Math.floor(e_daysold);
  56. document.write("<b>水悠悠社区 - 自2011年11月29日 至今已有<font color=red>"+daysold+"</font>天!</b>");
  57. //-->
  58. </SCRIPT></h1>
  59. <tr>
  60. <td height="20" align="center">信息产业部备案/许可证编号:No filing information!<!--{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-2012 All Right Reserved. </td>
  61. </tr>
  62. <tr>
  63. <td height="60" align="center" valign="middle"><table width="500" border="0" cellpadding="0" cellspacing="0">
  64. <tr>
  65. <td align="center"><table width="120" height="50" border="1" cellpadding="0" cellspacing="0" bordercolor="#e0e0e0">
  66. <tr>
  67. <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>
  68. </tr>
  69. </table></td>
  70. <td align="center"><table width="120" height="50" border="1" cellpadding="0" cellspacing="0" bordercolor="#e0e0e0">
  71. <tr>
  72. <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>
  73. </tr>
  74. </table></td>
  75. <td align="center"><table width="120" height="50" border="1" cellpadding="0" cellspacing="0" bordercolor="#e0e0e0">
  76. <tr>
  77. <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>
  78. </tr>
  79. </table></td>
  80. <td align="center"><table width="120" height="50" border="1" cellpadding="0" cellspacing="0" bordercolor="#e0e0e0">
  81. <tr>
  82. <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>
  83. </tr>
  84. </table></td>
  85. <td align="center"><table width="120" height="50" border="1" cellpadding="0" cellspacing="0" bordercolor="#e0e0e0">
  86. <tr>
  87. <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>
  88. </tr>
  89. </table></td>
  90. <td align="center"><table width="120" height="50" border="1" cellpadding="0" cellspacing="0" bordercolor="#e0e0e0">
  91. <tr>
  92. <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>
  93. </tr>
  94. </table></td>
  95. </tr>
  96. </table> </td>
  97. </tr>
  98. </table>
  99. </div>
  100. <!--{eval updatesession();}-->
  101. <!--{if $_G['uid'] && $_G['group']['allowinvisible']}-->
  102. <script type="text/javascript">
  103. var invisiblestatus = '<!--{if $_G['session']['invisible']}-->{lang login_invisible_mode}<!--{else}-->{lang login_normal_mode}<!--{/if}-->';
  104. $('loginstatusid').innerHTML = invisiblestatus;
  105. <!--{/if}-->
  106. </script>
  107. </div>

  108. <!--{if $upgradecredit !== false}-->
  109. <div id="g_upmine_menu" class="tip tip_3" style="display:none;">
  110. <div class="tip_c">
  111. {lang credits} $_G[member][credits], {lang thread_groupupgrade} $upgradecredit {lang credits}
  112. </div>
  113. <div class="tip_horn"></div>
  114. </div>
  115. <!--{/if}-->
  116. <!--{/if}-->

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

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

  125. <!--{if $_GET['diy'] == 'yes'}-->
  126. <!--{if (CURMODULE == 'topic' || $_G['group']['allowdiy']) && (empty($do) || $do != 'index') && !empty($_G['style']['tplfile'])}-->
  127. <script type="text/javascript" src="{$_G[setting][jspath]}common_diy.js?{VERHASH}"></script>
  128. <script type="text/javascript" src="{$_G[setting][jspath]}portal_diy.js?{VERHASH}"></script>
  129. <!--{/if}-->
  130. <!--{if $space['self'] && CURMODULE == 'space' && $do == 'index'}-->
  131. <script type="text/javascript" src="{$_G[setting][jspath]}common_diy.js?{VERHASH}"></script>
  132. <script type="text/javascript" src="{$_G[setting][jspath]}space_diy.js?{VERHASH}"></script>
  133. <!--{/if}-->
  134. <!--{/if}-->
  135. <!--{if $_G['member']['newprompt'] && (empty($_G['cookie']['promptstate_'.$_G[uid]]) || $_G['cookie']['promptstate_'.$_G[uid]] != $_G['member']['newprompt']) && $_G['gp_do'] != 'notice'}-->
  136. <script type="text/javascript">noticeTitle();</script>
  137. <!--{/if}-->

  138. <!--{eval userappprompt();}-->
  139. <span id="scrolltop" onclick="window.scrollTo('0','0')">{lang scrolltop}</span>
  140. <script type="text/javascript">_attachEvent(window, 'scroll', function(){showTopLink();});</script>
  141. <!--{eval output();}-->
  142. </body>
  143. </html>
复制代码
效果图。





本帖子中包含更多资源

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

x
 楼主| ╭为妳湗吣ヅ 发表于 2012-4-12 16:08:11 | 显示全部楼层
木人,自杀下。
回复

使用道具 举报

sttcw 发表于 2012-4-12 17:47:50 | 显示全部楼层
图片附件呢?
回复

使用道具 举报

wuyuxin01 发表于 2012-4-20 22:54:36 | 显示全部楼层
这个很不错  
回复

使用道具 举报

wuqiang118 发表于 2012-5-8 12:15:16 | 显示全部楼层
大哥 。宽屏的不在正中间呢。
回复

使用道具 举报

lastman 发表于 2012-5-16 15:10:35 | 显示全部楼层
我也准备按这个改了
回复

使用道具 举报

ttay168 发表于 2012-5-25 22:56:19 | 显示全部楼层
对呀,宽屏的不是显示正中间,往右边偏移很多,怎么解决??

求解!!
回复

使用道具 举报

 楼主| ╭为妳湗吣ヅ 发表于 2012-5-26 14:04:42 | 显示全部楼层
ttay168 发表于 2012-5-25 22:56
对呀,宽屏的不是显示正中间,往右边偏移很多,怎么解决??

求解!!

代码设置是在1024x768 主流浏览模式下的!

          对齐可以自己加入htm代码。调整。

<div align="center"><p>在修改代码中加上</p></div>
回复

使用道具 举报

www.zgxykw.com 发表于 2012-5-29 12:55:20 | 显示全部楼层
这个东西一直在学习中,不过对于代码看不懂,不太会。求关于我们美化版本!www.zgxykw.com
回复

使用道具 举报

10#
无效楼层,该帖已经被删除
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

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

GMT+8, 2024-10-5 19:14 , Processed in 0.151893 second(s), 18 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

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