| 184 |
|
|
| 185 |
if ($row = mysqli_fetch_array($rs)) |
if ($row = mysqli_fetch_array($rs)) |
| 186 |
{ |
{ |
| 187 |
$uid = $row["UID"]; |
$uid = intval($row["UID"]); |
| 188 |
|
|
| 189 |
if ($password == $row["temp_password"] && !$ch_passwd) |
if ($password == $row["temp_password"] && !$ch_passwd) |
| 190 |
{ |
{ |
| 351 |
$_SESSION["BBS_uid"] = $uid; |
$_SESSION["BBS_uid"] = $uid; |
| 352 |
$_SESSION["BBS_username"] = $username; |
$_SESSION["BBS_username"] = $username; |
| 353 |
$_SESSION["BBS_login_tm"] = time(); |
$_SESSION["BBS_login_tm"] = time(); |
| 354 |
$_SESSION["BBS_vn_str"] == ""; |
$_SESSION["BBS_vn_str"] = ""; |
| 355 |
|
|
| 356 |
if (!keep_alive($db_conn)) |
if (!keep_alive($db_conn)) |
| 357 |
{ |
{ |