alert("未做出更改");history.go(-1);';
} else {
//只修改用户名
saveSetting('admin_user', $user);
echo '';
}
} elseif(!empty($newpwd)) {//修改密码
if ($newpwd == $repwd && empty($user)) {
$admin_pwd = md5('lylme' . $newpwd);
saveSetting('admin_pwd', $admin_pwd);
echo '';
} elseif($newpwd == $repwd) {
$admin_pwd = md5('lylme' . $newpwd);
saveSetting('admin_user', $user);
saveSetting('admin_pwd', $admin_pwd);
echo '';
}
} else {
echo '';
}
} else {
echo '';
}
} else {
?>