| 后台-门户-模块管理-添加-选择模块分类-统计模块
$ j/ x+ w) h6 w- j. S
+ f- P/ L$ O8 o H% u& O模板名称 填写 随便 a6 O. E/ U0 @8 s' b/ {8 I7 r
+ E, R& H/ \# [% D下面内容 为 % s% n/ C0 Z ~
9 ~$ q1 M/ E& W: n' ~
[loop]) x8 f5 p0 \6 V0 N
{posts}
0 m U4 M6 Q" T[/loop]
4 h/ A( [- S* G5 V) W" C6 v- c% L; @& h+ X$ s3 t6 Z9 Z
可以实现 简单的数字 没任何CSS样式
5 a4 Q9 w F( e( h- Z1 @/ ^- G) \+ \$ g' p
发帖总数: {posts}帖子显示名: {posts_title}群组总数: {groups}群组显示名: {groups_title}会员总数: {members}会员显示名: {members_title}群组今日发帖: {groupnewposts}今日发帖显示名: {groupnewposts_title}论坛今日发帖数: {bbsnewposts}今日发帖显示名: {bbsnewposts_title}论坛昨日发帖数: {bbslastposts}昨日发帖显示名: {bbslastposts_title}当前在线会员数: {onlinemembers}当前在线会员显示名: {onlinemembers_title}历史最高在线会员数: {maxmembers}历史最高在线显示名: {maxmembers_title}动态数: {doings}动态显示名: {doings_title}日志数: {blogs}日志显示名: {blogs_title}相册数: {albums}相册显示名: {albums_title}图片数: {pics}图片显示名: {pics_title}分享数: {shares}分享显示名: {shares_title}; ]# r+ q* N$ E+ I' I
5 n8 Q/ U1 p( v) [; x+ f5 `5 _# M
都可以实现 这样 没有CSS的效果# }9 h( [5 ^4 Q, ? B1 ]. U5 d1 F
" K! _$ _5 j W5 E) x. F写入模板 后台 可以 数据调用-模块分类 选择 统计模块 在添加调用
p+ |& ], } `/ p
# P2 A8 w2 |# }' E( ?出来的编辑模块中 最下面 显示样式 就是你上面添加的 模块名称
- H! z, n! ?0 x! W0 x; r, e
3 K) e" k7 L2 H/ Q添加好后 可以在模板里面插入 内部调用 或者外部调用 1 T0 t0 {- Q& Z2 W5 B3 E
! I F( [. }9 @: P/ d8 s& o( z' P方法二 首页 DIY 里面 统计模块里面一样写入 O了
7 E" g+ C) _" x2 T5 ?2 `8 D+ q# V
不明白回帖吧" [+ [0 y' d* R( _; W" b
# j4 U' O% N- q# _! L. ?/ F
| |