Discuz教程网

[代码修改] Discuz X1.5论坛头部统计信息补全及美化,支持Discuz X2

[复制链接]
authicon dly 发表于 2011-4-29 19:52:50 | 显示全部楼层 |阅读模式
修改方法:
打开:templates/default/forum/discuz.htm
查找:

  1. <p class="chart">{lang index_today}: <em>$todayposts</em><span class="pipe">|</span>{lang index_yesterday}: $postdata[0]<span class="pipe">|</span>最高日: <em>$postdata[1]</em><span class="pipe">|</span>主题: <em>$threads</em><span class="pipe">|</span>{lang index_posts}: <em>$posts</em><span class="pipe">|</span>{lang index_members}: <em>$_G['cache']['userstats']['totalmembers']</em><!--{if $_G['setting']['lastmember']}--><span class="pipe">|</span>{lang welcome_new_members}: <em><a href="home.php?mod=space&username={echo rawurlencode($_G['setting']['lastmember'])}" target="_blank" class="xi2">$_G['setting']['lastmember']</a></em><!--{/if}--></p>
复制代码
无图版
截图349.jpg
  1. <p class="chart">{lang index_today}: <em>$todayposts</em><span class="pipe">|</span>{lang index_yesterday}: $postdata[0]<span class="pipe">|</span>{lang index_posts}: <em>$posts</em><span class="pipe">|</span>{lang index_members}: <em>$_G['cache']['userstats']['totalmembers']</em><!--{if $_G['setting']['lastmember']}--><span class="pipe">|</span>{lang welcome_new_members}: <em><a href="home.php?mod=space&username={echo rawurlencode($_G['setting']['lastmember'])}" target="_blank" class="xi2">$_G['setting']['lastmember']</a></em><!--{/if}--></p>
复制代码
有图版:
截图350.jpg
  1. <p class="chart"><b><font color="#FF0000">社区统计:</font></b><img src="data/attachment/common/wanzonghe/credit99.png"style="position:relative; top:4px;">{lang index_today}: <em>$todayposts</em><span class="pipe">|</span><img src="data/attachment/common/wanzonghe/credit93.png"style="position:relative; top:4px;"> {lang index_yesterday}: $postdata[0]<span class="pipe">|</span><img src="data/attachment/common/wanzonghe/credit98.png"style="position:relative; top:4px;"> 最高日: <em>$postdata[1]</em><span class="pipe">|</span><img src="data/attachment/common/wanzonghe/credit94.png"style="position:relative; top:4px;"> 主题: <em>$threads</em><span class="pipe">|</span><img src="data/attachment/common/wanzonghe/credit90.png"style="position:relative; top:4px;"> {lang index_posts}: <em>$posts</em><span class="pipe">|</span><img src="data/attachment/common/wanzonghe/credit96.png"style="position:relative; top:4px;"> {lang index_members}: <em>$_G['cache']['userstats']['totalmembers']</em><!--{if $_G['setting']['lastmember']}--><span class="pipe">|</span><img src="data/attachment/common/wanzonghe/credit97.png"style="position:relative; top:4px;"> {lang welcome_new_members}: <em><a href="home.php?mod=space&username={echo rawurlencode($_G['setting']['lastmember'])}" target="_blank" class="xi2">$_G['setting']['lastmember']</a></em><!--{/if}--></p>
复制代码


此代码图片位置和设置顺序比较灵活!
图片我就不提供了,大家自己选择






上一篇:QQ互联安装必备利器:文件对比,文件夹对比专业工具(汉化版,带注册KEY)
下一篇:为减少灌水者,网站用户启用邮箱验证
authicon 蓝色天空k 发表于 2011-5-6 17:10:00 | 显示全部楼层
有意思~顶顶 ,继续顶顶。继续顶哦
authicon NicoleOnly 发表于 2011-5-6 17:15:38 | 显示全部楼层
看帖必回
authicon 馥郁渊汀 发表于 2011-5-6 17:18:33 | 显示全部楼层
喜欢喜欢喜欢
authicon 丁加丁 发表于 2011-5-6 17:37:16 | 显示全部楼层
这个贴不错!!!
authicon lakelouise 发表于 2011-5-6 17:38:08 | 显示全部楼层
有意思~顶顶 ,继续顶顶。继续顶哦
authicon shakesxia 发表于 2011-5-6 17:38:10 | 显示全部楼层
继续来索要
authicon 咫尺天 发表于 2011-5-6 17:38:54 | 显示全部楼层
这个贴不错!!!
authicon 21585151 发表于 2011-5-6 17:39:23 | 显示全部楼层
我回不回呢 考虑再三 还是不回了吧 ^_^
authicon 皆无 发表于 2011-5-6 17:59:39 | 显示全部楼层
哦哦,发财了啊,看到好东西啦
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

1314学习网 ( 浙ICP备10214163号 )

GMT+8, 2024-6-1 11:52

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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