/[LeafOK_CVS]/lbbs/src/bbs_main.c
ViewVC logotype

Diff of /lbbs/src/bbs_main.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.46 by sysadm, Thu May 15 06:24:11 2025 UTC Revision 1.47 by sysadm, Thu May 15 14:17:53 2025 UTC
# Line 150  int bbs_welcome(MYSQL *db) Line 150  int bbs_welcome(MYSQL *db)
150          u_anonymous++;          u_anonymous++;
151    
152          // Display logo          // Display logo
153          display_file(DATA_WELCOME);          display_file_ex(DATA_WELCOME, 1, 0);
154    
155          // Display welcome message          // Display welcome message
156          prints("\033[1;35m欢迎光临\033[33m 【 %s 】 \033[35mBBS\r\n"          prints("\r\033[1;35m欢迎光临\033[33m 【 %s 】 \033[35mBBS\r\n"
157                     "\033[32m目前上站人数 [\033[36m%d/%d\033[32m] "                     "\033[32m目前上站人数 [\033[36m%d/%d\033[32m] "
158                     "匿名游客[\033[36m%d\033[32m] "                     "匿名游客[\033[36m%d\033[32m] "
159                     "注册用户数[\033[36m%d/%d\033[32m]\r\n"                     "注册用户数[\033[36m%d/%d\033[32m]\r\n"


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

webmaster@leafok.com
ViewVC Help
Powered by ViewVC 1.3.0-beta1