| 161 |
"匿名游客[\033[36m%d\033[32m] " |
"匿名游客[\033[36m%d\033[32m] " |
| 162 |
"注册用户数[\033[36m%d/%d\033[32m]\r\n" |
"注册用户数[\033[36m%d/%d\033[32m]\r\n" |
| 163 |
"从 [\033[36m%s\033[32m] 起,最高人数记录:" |
"从 [\033[36m%s\033[32m] 起,最高人数记录:" |
| 164 |
"[\033[36m%d\033[32m],累计访问人次:[\033[36m%d\033[32m]\r\n", |
"[\033[36m%d\033[32m],累计访问人次:[\033[36m%d\033[32m]\033[m\r\n", |
| 165 |
BBS_name, u_online, BBS_max_client, u_anonymous, u_total, |
BBS_name, u_online, BBS_max_client, u_anonymous, u_total, |
| 166 |
BBS_max_user, BBS_start_dt, max_u_online, u_login_count); |
BBS_max_user, BBS_start_dt, max_u_online, u_login_count); |
| 167 |
|
|
| 168 |
|
iflush(); |
| 169 |
|
|
| 170 |
return 0; |
return 0; |
| 171 |
} |
} |
| 172 |
|
|
| 298 |
} |
} |
| 299 |
|
|
| 300 |
// User login |
// User login |
| 301 |
if (bbs_login(db) < 0) |
if (SSH_v2) |
| 302 |
|
{ |
| 303 |
|
prints("\033[1m%s 欢迎使用ssh方式访问 \033[1;33m按任意键继续...\033[m", BBS_username); |
| 304 |
|
iflush(); |
| 305 |
|
igetch_t(MAX_DELAY_TIME); |
| 306 |
|
} |
| 307 |
|
else if (bbs_login(db) < 0) |
| 308 |
{ |
{ |
| 309 |
goto cleanup; |
goto cleanup; |
| 310 |
} |
} |
| 311 |
|
|
| 312 |
clearscr(); |
clearscr(); |
| 313 |
|
|
| 314 |
// BBS Top 10 |
// BBS Top 10 |