| 50 |
"×¢²áÇëÊäÈë`\033[1;31mnew\033[m'): "); |
"×¢²áÇëÊäÈë`\033[1;31mnew\033[m'): "); |
| 51 |
iflush(); |
iflush(); |
| 52 |
|
|
| 53 |
str_input(username, sizeof(username) - 1, DOECHO); |
str_input(username, sizeof(username), DOECHO); |
| 54 |
count++; |
count++; |
| 55 |
|
|
| 56 |
if (strcmp(username, "guest") == 0) |
if (strcmp(username, "guest") == 0) |
| 86 |
prints("\033[1;37mÇëÊäÈëÃÜÂë\033[m: "); |
prints("\033[1;37mÇëÊäÈëÃÜÂë\033[m: "); |
| 87 |
iflush(); |
iflush(); |
| 88 |
|
|
| 89 |
str_input(password, sizeof(password) - 1, NOECHO); |
str_input(password, sizeof(password), NOECHO); |
| 90 |
|
|
| 91 |
MYSQL *db = db_open(); |
MYSQL *db = db_open(); |
| 92 |
if (db == NULL) |
if (db == NULL) |