📄 usercode_edit_new.asp
字号:
<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">
<%for i=1 to rst1.RecordCount %>
<option value="<%=rst1.Fields("用户编码").Value%>" <%if topdepart=rst1.fields("用户编码") then response.write "selected" end if%>><%=rst1.Fields("用户姓名").Value %></option>
<%rst1.MoveNext
next
rst1.Close
set rst1=nothing
%>
</select>
<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%"> </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%>">
</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="FTel" maxlength=20 value="<%=FTel%>">
</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%">
<input name="WTel" maxlength=20 value="<%=WTel%>">
</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%">
<input name="MTel" maxlength=20 value="<%=MTel%>">
</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%">
<input name="Fax" maxlength=20 value="<%=Fax%>">
</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">E-mail</div>
</td>
<td height="20" width="65%">
<input name="Email" value="<%=Email%>" >
</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%">
<input name="Add" size="40" maxlength=100 value="<%=Add%>">
</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="#ffffff">
<td height="20" colspan="4">
<div align="center">
<input class="button" type="submit" name="Submit" value="提交" >
<input class="button" type="reset" name="Submit2" value="重填">
<input class="button" type="button" name="Submit3" value="返回">
</div>
</td>
</tr>
<tr bgcolor="#ffffff">
<td height="20" width="6%"> </td>
<td height="20" width="20%"> </td>
<td height="20" width="65%" bgcolor="#ffffff"> </td>
<td height="20" width="9%"> </td>
</tr>
</form>
</table>
</td>
<td bgcolor="#FFFFFF" background="../public/images/bg_left.gif"> </td>
</tr>
<tr>
<td width="22"><img src="../public/images/edit_bg_zx.gif" width="21" height="20"></td>
<td bgcolor="#FFFFFF" background="../public/images/bg_left.gif" height="20"> </td>
<td width="10">
<div align="right"><img src="../public/images/edit_bg_yx.gif" width="21" height="20"></div>
</td>
</tr>
</table>
</body>
</html>
<script language="vbscript">
function checkfun() '校验表单
checkfun=true
if ConList.Password.value <>ConList.Password2.value then
checkfun=false
window.alert "两次密码输入不一致,请重新输入!"
exit function
end if
if ConList.name.value ="" then
checkfun=false
window.alert "用户名不能为空,请重新输入!"
exit function
end if
if ConList.Password.value ="" then
checkfun=false
window.alert "密码不能为空,请重新输入!"
exit function
end if
if ConList.Question.value ="" then
checkfun=false
window.alert "密码查询问题不能为空,请重新输入!"
exit function
end if
if ConList.Answer.value ="" then
checkfun=false
window.alert "查询问题答案不能为空,请重新输入!"
exit function
end if
if isnumeric(ConList.year.value)then
if ConList.year.value<1901 or ConList.year.value>2099 then
checkfun=false
window.alert "出生年份填写错误,请重新填写!"
exit function
end if
else
checkfun=false
window.alert "数据类型错误,请输入四位数字年份!"
exit function
end if
end function
</script>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -