user_activation_key;
if ($activation_key != null && strpos($activation_key, ":") == true) {
$arr = explode(":", $activation_key);
$time = $arr[0];
$activation_key = $arr[1];
$nowtime = time();
if ($nowtime - $time > 86400 || $nowtime - $time < -86400) {
$msg = '验证过期';
showlostpasshtml(0, $msg);
} else {
if ($key == $activation_key) {
$msg = '验证成功';
showlostpasshtml(1, $msg);
} else {
$msg = '验证失败';
showlostpasshtml(0, $msg);
}
}
} else {
showresetpwdhtml();
}
} else {
showresetpwdhtml();
}
?>