From fcac7751de0cc65c7ea7f7f719ec0f0302abfed9 Mon Sep 17 00:00:00 2001 From: timerover Date: Thu, 12 Oct 2006 06:52:25 +0000 Subject: change user information display. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3443 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/user.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'mbbsd/user.c') 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); -- cgit v1.2.3