/[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.59 by sysadm, Thu May 29 01:21:44 2025 UTC Revision 1.63 by sysadm, Wed Jun 4 14:01:29 2025 UTC
# Line 35  Line 35 
35  int bbs_info()  int bbs_info()
36  {  {
37          prints("»¶Ó­¹âÁÙ \033[1;33m%s \033[32m[%s]  \033[37m( %s )\r\n",          prints("»¶Ó­¹âÁÙ \033[1;33m%s \033[32m[%s]  \033[37m( %s )\r\n",
38                     BBS_name, BBS_server, app_version);                     BBS_name, BBS_server, APP_NAME_VER);
39    
40          return iflush();          return iflush();
41  }  }
# Line 153  int bbs_welcome(MYSQL *db) Line 153  int bbs_welcome(MYSQL *db)
153          u_anonymous++;          u_anonymous++;
154    
155          // Display logo          // Display logo
156          display_file_ex(DATA_WELCOME, 1, 0);          display_file(DATA_WELCOME, 1, 2);
157    
158          // Display welcome message          // Display welcome message
159          prints("\r\033[1;35m»¶Ó­¹âÁÙ\033[33m ¡¾ %s ¡¿ \033[35mBBS\r\n"          prints("\r\033[1;35m»¶Ó­¹âÁÙ\033[33m ¡¾ %s ¡¿ \033[35mBBS\r\n"
# Line 175  int bbs_logout(MYSQL *db) Line 175  int bbs_logout(MYSQL *db)
175                  return -1;                  return -1;
176          }          }
177    
178          display_file_ex(DATA_GOODBYE, 1, 1);          display_file(DATA_GOODBYE, 1, 1);
179    
180          log_std("User logout\n");          log_common("User logout\n");
181    
182          return 0;          return 0;
183  }  }
# Line 303  int bbs_main() Line 303  int bbs_main()
303          clearscr();          clearscr();
304    
305          // BBS Top 10          // BBS Top 10
306          display_file_ex(VAR_BBS_TOP, 1, 1);          display_file(VAR_BBS_TOP, 1, 1);
307    
308          // Main          // Main
309          bbs_center();          bbs_center();


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

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