| 343 |
char page_info_str[LINE_BUFFER_LEN]; |
char page_info_str[LINE_BUFFER_LEN]; |
| 344 |
USER_INFO users[BBS_user_limit_per_page]; |
USER_INFO users[BBS_user_limit_per_page]; |
| 345 |
USER_ONLINE_INFO online_users[BBS_user_limit_per_page]; |
USER_ONLINE_INFO online_users[BBS_user_limit_per_page]; |
| 346 |
int user_count; |
int user_count = 0; |
| 347 |
int page_count; |
int page_count = 0; |
| 348 |
int page_id = 0; |
int page_id = 0; |
| 349 |
int selected_index = 0; |
int selected_index = 0; |
| 350 |
int ret; |
int ret = 0; |
| 351 |
|
|
| 352 |
user_list_draw_screen(online_user); |
user_list_draw_screen(online_user); |
| 353 |
|
|
| 448 |
clearscr(); |
clearscr(); |
| 449 |
if (online_user) |
if (online_user) |
| 450 |
{ |
{ |
| 451 |
|
prints("已选中用户 [%s] 会话 %d", online_users[selected_index].user_info.username, online_users[selected_index].id); |
| 452 |
|
|
| 453 |
USER_ONLINE_INFO users[5]; |
USER_ONLINE_INFO users[5]; |
| 454 |
int user_cnt = 5; |
int user_cnt = 5; |
|
prints("已选中用户 [%s]", online_users[selected_index].user_info.username); |
|
| 455 |
ret = query_user_online_info_by_uid(online_users[selected_index].user_info.uid, users, &user_cnt, 0); |
ret = query_user_online_info_by_uid(online_users[selected_index].user_info.uid, users, &user_cnt, 0); |
| 456 |
if (ret <= 0) |
if (ret <= 0) |
| 457 |
{ |
{ |