📄 editpwd.php
字号:
<?php
include"../cache/config.inc.php";
include"begin.php";
adminlogin();
if (isset($_GET["edit"])) {
$reurl = "editpwd.php";
if (!$_POST["fidselect2"]) {
echoerror(6);
}
if ($_POST["fidselect2"] != $_POST["fidselect3"]) {
echoerror(7);
}
$passwordmd5 = md5($_POST['fidselect']);
$pwd = substr($passwordmd5, 0, 13) . substr($passwordmd5, -3);
if ($pwd == $password) {
$passwordmd5 = md5($_POST['fidselect2']);
$pwd = substr($passwordmd5, 0, 13) . substr($passwordmd5, -3);
mysql_query("update {$db_prefix}groupuser set password='$pwd' where username='$username' && groupid='$usergroupid'", $myconn);
echoioy(21);
} else {
echoerror(8);
}
}
require_once './template/header.htm';
require_once './template/editpwd.htm';
require_once './template/footer.htm';
?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -