📄 usercode_edit.asp
字号:
<tr bgcolor="#ffffff">
<td height="20" width="6%"> </td>
<td height="20" width="20%"> </td>
<td height="20" width="65%"> </td>
<td height="20" width="9%"> </td>
</tr>
<tr bgcolor="#eaeaea">
<td height="20" width="6%"> </td>
<td height="20" width="20%" bgcolor="#eaeaea">
<div align="left">主管部门</div>
</td>
<td height="20" width="65%">
<select name="Depart">
<%
if rst1.RecordCount<>0 then
for i=1 to rst1.RecordCount %>
<option value="<%=rst1.Fields("用户编码").Value%>" <%if Depart=rst1.fields("用户编码") then response.write "selected" end if%>><%=rst1.Fields("用户姓名").Value %></option>
<%rst1.MoveNext
next
rst1.Close
set rst1=nothing
end if
%>
</select>
<font color="#ff0000">**</font>
<script language="JavaScript">
function set_List(x)
{
var l=document.ConList.DepartType.length ;
var group=new Array(l);
for (i=0;i<l;i++)
group[i]=new Array();
<% for i=0 to Num
for j=0 to rst(i).recordcount-1
response.write "group["&i+1&"]["&j&"]=new Option("""&rst(i)("用户姓名")&""","""&rst(i)("用户编码")&""");"
response.write chr(13)
rst(i).movenext
next
next
%>
var selobj=document.ConList.Depart;
for (m=selobj.options.length-1;m>0;m--)
selobj.options[m]=null
for (i=0;i<group[x].length;i++)
{
selobj.options[i]=group[x][i]
}0
selobj.options[0].selected=true
}
</script>
</td>
<td height="20" width="9%"> </td>
</tr>
<tr bgcolor="#ffffff">
<td height="20" width="6%"> </td>
<td height="20" width="20%"> </td>
<td height="20" width="65%"> </td>
<td height="20" width="9%"> </td>
</tr>
<%end if%>
<% if edit="edit" then %>
<tr>
<td height="20" width="6%" bgcolor="#eaeaea"> </td>
<td height="20" width="20%" bgcolor="#eaeaea">
<div align="left">用户编码:</div>
</td>
<td height="20" width="65%" bgcolor="#eaeaea"> <%=Usercode%></td>
<td height="20" width="9%" bgcolor="#eaeaea"> </td>
</tr>
<tr bgcolor="#ffffff">
<td height="20" width="6%"> </td>
<td height="20" width="20%">
<div align="left"></div>
</td>
<td height="20" width="65%"> </td>
<td height="20" width="9%"> </td>
</tr>
<%end if%>
<tr bgcolor="#eaeaea">
<td width="6%" bgcolor="#eaeaea"> </td>
<td width="20%" bgcolor="#eaeaea">
<div align="left">姓名</div>
<% '各个输入框的最大长度均已经设定好,不又再校验%>
</td>
<td width="65%">
<input name="Name" maxLength=4 value="<%=userName%>">
<font color="#ff0000">**</font> (**为必填项,下同)<br>
(请填写您的中文姓名) <br>
</td>
<td width="9%"> </td>
</tr>
<tr bgcolor="white">
<td height="20" width="6%"> </td>
<td height="20" width="20%" bgcolor="white">
<div align="left"></div>
</td>
<td height="20" width="65%"> </td>
<td height="20" width="9%"> </td>
</tr>
<tr bgcolor="#eaeaea">
<td width="6%" bgcolor="#eaeaea"> </td>
<td width="20%" bgcolor="#eaeaea">
<div align="left">密码</div>
</td>
<td width="65%" bgcolor="#eaeaea">
<% if not edit="" then %>
<input type="text" name="password" maxlength=6 value="<%=Password%>">
<% else %>
<input type="password" name="Password" maxlength=6>
<%end if%>
<font color="#ff0000">**<br>
</font>(密码为6位数字或字母) <font color="#ff0000"><br>
</font></td>
<td width="9%"> </td>
</tr>
<tr bgcolor="white">
<td height="20" width="6%"> </td>
<td height="20" width="20%">
<div align="left"></div>
</td>
<td height="20" width="65%"> </td>
<td height="20" width="9%"> </td>
</tr>
<tr bgcolor="#eaeaea">
<td height="20" width="6%"> </td>
<td height="20" width="20%" bgcolor="#eaeaea">
<div align="left">确认密码</div>
</td>
<td height="20" width="65%">
<input type="password" name="Password2" maxLength=6>
<font color="#ff0000">**</font> </td>
<td height="20" width="9%"> </td>
</tr>
<tr bgcolor="white">
<td height="20" width="6%"> </td>
<td height="20" width="20%">
<div align="left"></div>
</td>
<td height="20" width="65%"> </td>
<td height="20" width="9%"> </td>
</tr>
<tr bgcolor="#eaeaea">
<td height="20" width="6%"> </td>
<td height="20" width="20%" bgcolor="#eaeaea">
<div align="left">查询密码问题</div>
</td>
<td height="20" width="65%">
<input name="Question" size="30" maxLength=200 value="<%=question%>">
<font color="#ff0000">**</font> </td>
<td height="20" width="9%"> </td>
</tr>
<tr bgcolor="white">
<td height="20" width="6%"> </td>
<td height="20" width="20%">
<div align="left"></div>
</td>
<td height="20" width="65%"> </td>
<td height="20" width="9%"> </td>
</tr>
<tr bgcolor="#eaeaea">
<td height="20" width="6%" bgcolor="#eaeaea"> </td>
<td height="20" width="20%" bgcolor="#eaeaea">查询密码问题答案</td>
<td height="20" width="65%">
<input name="Answer" size="30" maxLength=200 value="<%=answer%>">
<font color="#ff0000">**</font> </td>
<td height="20" width="9%"> </td>
</tr>
<tr bgcolor="#ffffff">
<td height="20" width="6%"> </td>
<td height="20" width="20%"> </td>
<td height="20" width="65%"> </td>
<td height="20" width="9%"> </td>
</tr>
<tr bgcolor="#eaeaea">
<td height="20" width="6%" bgcolor="#eaeaea"> </td>
<td height="20" width="20%" bgcolor="#eaeaea">
<div align="left">性别</div>
</td>
<td height="20" width="65%">
<select name="sex">
<option value="男" <%if sex="男" then response.write "selected" end if%>>男</option>
<option value="女" <%if sex="女" then response.write "selected" end if%>>女</option>
</select>
</td>
<td height="20" width="9%"> </td>
</tr>
<tr bgcolor="#ffffff">
<td height="20" width="6%"> </td>
<td height="20" width="20%"> </td>
<td height="20" width="65%"> </td>
<td height="20" width="9%"> </td>
</tr>
<tr bgcolor="#eaeaea">
<td height="20" width="6%"> </td>
<td height="20" width="20%">出生年月</td>
<td height="20" width="65%">
<%'注意:1900年有其特殊之处,别忘了千年虫问题%>
<input name="year"maxlength=4 size="4" value="<%=year1%>">
年
<select name="Month">
<%for i=1 to 12%>
<option value="<%=i%>"<%if month1=i then response.write "selected" end if %>>
<%=i%></option>
<%next %>
</select>
月
<select name="Day">
<%for i=1 to 31%>
<option value="<%=i%>"<%if day1=i then response.write "selected" end if %>>
<%=i%></option>
<%next %>
</select>
日 </td>
<td height="20" width="9%"> </td>
</tr>
<tr bgcolor="#ffffff">
<td height="20" width="6%"> </td>
<td height="20" width="20%"> </td>
<td height="20" width="65%"> </td>
<td height="20" width="9%"> </td>
</tr>
<tr bgcolor="#eaeaea">
<td height="20" width="6%"> </td>
<td height="20" width="20%" bgcolor="#eaeaea">
<div align="left">职称</div>
</td>
<td height="20" width="65%">
<select name="ZhiCheng">
<option value="无" <%if ZhiCheng="无" then response.write "selected" end if %>>无</option>
<option value="正高"<%if ZhiCheng="正高" then response.write "selected" end if %>>正高</option>
<option value="副高"<%if ZhiCheng="副高" then response.write "selected" end if %>>副高</option>
<option value="中级"<%if ZhiCheng="中级" then response.write "selected" end if %>>中级</option>
<option value="其它"<%if ZhiCheng="其它" then response.write "selected" end if %>>其它</option>
</select>
</td>
<td height="20" width="9%"> </td>
</tr>
<tr bgcolor="#ffffff">
<td height="20" width="6%"> </td>
<td height="20" width="20%"> </td>
<td height="20" width="65%"> </td>
<td height="20" width="9%"> </td>
</tr>
<tr bgcolor="#eaeaea">
<td height="20" width="6%"> </td>
<td height="20" width="20%">
<div align="left">学历</div>
</td>
<td height="20" width="65%">
<select name="XueLi">
<option value="无" <%if XueWei="无" then response.write "selected" end if %>>无</option>
<option value="博士"<%if XueLi="博士" then response.write "selected" end if %>>博士</option>
<option value="硕士"<%if XueLi="硕士" then response.write "selected" end if %>>硕士</option>
<option value="本科"<%if XueLi="本科" then response.write "selected" end if %>>本科</option>
<option value="大专"<%if XueLi="大专" then response.write "selected" end if %>>大专</option>
<option value="其它"<%if XueLi="其它" then response.write "selected" end if %>>其它</option>
</select>
</td>
<td height="20" width="9%"> </td>
</tr>
<tr bgcolor="#ffffff">
<td height="20" width="6%"> </td>
<td height="20" width="20%"> </td>
<td height="20" width="65%"> </td>
<td height="20" width="9%"> </td>
</tr>
<tr bgcolor="#eaeaea">
<td height="20" width="6%"> </td>
<td height="20" width="20%" bgcolor="#eaeaea">职务</td>
<td height="20" width="65%">
<input name="ZhiWei" maxLength=20 value="<%=ZhiWei%>">
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -