📄 password.html
字号:
<html>
<head>
<title>修改密码</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href="/css/css.css" rel="stylesheet" type="text/css">
</head>
<SCRIPT LANGUAGE=javascript>
<!--
function doSave(){
if(EditForm.oldPassword.value=="")
{
alert("旧密码不能为空!");
EditForm.oldPassword.focus();
return false;
}
if (EditForm.password.value != "" && EditForm.password1.value != "")
{
if (EditForm.password.value != EditForm.password1.value)
{
alert("输入的密码不相同");
return false;
}
}
else
{alert("新密码不能为空!");
return false;
}
return true;
}
function encode(datastr, bassnum) {
var tempstr;
var tchar;
var newdata = "";
for (var i = 0; i < datastr.length; i++)
{
tchar = 65535 + bassnum - datastr.charCodeAt(i);
tchar = tchar.toString();
while(tchar.length < 5)
{
tchar = "0" + tchar;
}
newdata = newdata + tchar;
}
return newdata;
}
//-->
</script>
<BODY leftmargin="0" topmargin="0" rightmargin="0" bottommargin="0" >
<div style="overflow: auto;height:100%;width:100%;">
<table width="100%" height="5%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="11" height="11" > </td>
<td > </td>
</tr>
</table>
<table width="100%" height="95%" border="0" cellpadding="0" cellspacing="0" bgcolor="ECF4F5">
<tr>
<td align="center" valign="top"><br>
<br>
<div align="center">
<FORM name="EditForm" METHOD="POST" ACTION="/config.ejf">
<input type="hidden" name="easyJWebCommand" value="password">
<input type="hidden" name="subCommand" value="change">
<table width="90%" border="0" align="center" cellspacing="0" bgcolor="#EFF7FF" style='border-top:1px #8CA5B5 solid;'>
<tr bgcolor="#dbeaf5">
<td colspan="2" height="30" nowrap style="border-left:1px #8CA5B5 solid; border-right:1px #8CA5B5 solid; border-bottom:1px #8CA5B5 solid;">
<div align="center"><font class="s" color="#104A7B"><b>密码修改</b></font></div>
</td>
</tr>
<tr>
<td width="20%" height="26" style="border-bottom:1px #8CA5B5 solid;">
<div align="right">旧 密 码 : </div>
</td>
<td style="border-bottom:1px #8CA5B5 solid;">
<input name="oldPassword" type="password" class="textbox" id="oldPassword" value="$!oldPassword" size="50" maxlength="32">
<font color="#FF0000">*</font>
</td>
</tr>
<tr>
<td width="20%" height="26" style="border-bottom:1px #8CA5B5 solid;">
<div align="right">新 密 码 : </div>
</td>
<td style="border-bottom:1px #8CA5B5 solid;">
<input name="password" type="password" class="textbox" id="password" value="$!password" size="50" maxlength="32">
<font color="#FF0000">*</font>
</td>
</tr>
<tr>
<td width="20%" height="26" style="border-bottom:1px #8CA5B5 solid;">
<div align="right">密码确认 : </div>
</td>
<td style="border-bottom:1px #8CA5B5 solid;">
<input name="password1" type="password" class="textbox" id="password1" value="$!password1" size="50" maxlength="32">
<font color="#FF0000">*</font>
</td>
</tr>
<tr>
<td colspan="2" align="center" bgcolor="#ffffff"> <br>
<input name="提交" type="submit" class="Bsbttn" onClick="return doSave()" value=" 确定 ">
<input type="button" value=" 取消 " onClick="location.replace('/email.ejf')" class="Bsbttn"><br>
</td>
</tr>
</table>
</FORM>
</div>
</td>
</tr>
</table>
</div>
</body>
</html>
#if($msg)
<script> alert('$!msg');</script>
#end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -