Discuz! 7.2显示 今日, 昨日, 最高日,主题,帖子,会员,欢迎新会员
打开/include/index_classics.inc.php
查找:
include template('discuz');
上面加:
$lastmember= $db->result_first("SELECT username FROM {$tablepre}members ORDER BY uid DESC LIMIT 1");
修改templates/default/discuz.htm文件,查找
{lang index_members}: <em>$totalmembers</em>
在后面加入:
{lang index_today}: <em>$todayposts</em>, {lang index_yesterday}: <em>$postdata[0]</em>, {lang index_maxday}: <em>$postdata[1]</em>,{lang index_threads}: <em>$threads</em>,{lang index_posts}: <em>$posts</em>,{lang index_members}: <em>$totalmembers</em>,{lang welcome_newmember} <cite><a href="space.php?username=$memberenc">$lastmember</a></cite>