summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortimerover <timerover@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2006-10-12 14:52:25 +0800
committertimerover <timerover@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2006-10-12 14:52:25 +0800
commitfcac7751de0cc65c7ea7f7f719ec0f0302abfed9 (patch)
tree75b3cc1f401b4e8ebfe3038eaaff21b79528fa9d
parentc553b99da5b4df4a76caf3e5975496f8d040a817 (diff)
downloadpttbbs-fcac7751de0cc65c7ea7f7f719ec0f0302abfed9.tar
pttbbs-fcac7751de0cc65c7ea7f7f719ec0f0302abfed9.tar.gz
pttbbs-fcac7751de0cc65c7ea7f7f719ec0f0302abfed9.tar.bz2
pttbbs-fcac7751de0cc65c7ea7f7f719ec0f0302abfed9.tar.lz
pttbbs-fcac7751de0cc65c7ea7f7f719ec0f0302abfed9.tar.xz
pttbbs-fcac7751de0cc65c7ea7f7f719ec0f0302abfed9.tar.zst
pttbbs-fcac7751de0cc65c7ea7f7f719ec0f0302abfed9.zip
change user information display.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3443 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--mbbsd/user.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/mbbsd/user.c b/mbbsd/user.c
index 1c521ac0..a43b1d7c 100644
--- a/mbbsd/user.c
+++ b/mbbsd/user.c
@@ -144,10 +144,13 @@ user_display(const userec_t * u, int adminmode)
prints(" 私人信箱: %d 封 (購買信箱: %d 封)\n"
" 手機號碼: %010d\n"
" 生 日: %04i/%02i/%02i\n"
- " 小雞名字: %s\n",
+ " 優 劣 文: 優:%d / 劣:%d\n",
get_num_records(genbuf, sizeof(fileheader_t)),
u->exmailbox, u->mobile,
- u->year + 1900, u->month, u->day, u->mychicken.name);
+ u->year + 1900, u->month, u->day,
+ u->goodpost, u->badpost);
+ prints(" 上站位置: %s\n", u->lasthost);
+
#ifdef PLAY_ANGEL
if (adminmode)
prints(" 小 天 使: %s\n",
@@ -155,7 +158,6 @@ user_display(const userec_t * u, int adminmode)
#endif
prints(" 註冊日期: %s", ctime4(&u->firstlogin));
prints(" 前次光臨: %s", ctime4(&u->lastlogin));
- prints(" 前次點歌: %s", ctime4(&u->lastsong));
prints(" 上站文章: %d 次 / %d 篇\n",
u->numlogins, u->numposts);