| 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 |
} |
} |
| 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" |
| 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 |
} |
} |
| 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(); |