📄 adminsyssave.asp
字号:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="conn.asp" -->
<%
if session("adminleverhigh")="1" then
%>
<%
jgreg=request("rjgreg")
jgupdate=request("rjgupdate")
rjgregcheck=request("rjgregcheck")
jgpwd=request("rjgpwd")
jgpwdwhat=trim(request("rjgpwdwhat"))
schoolname=request("schoolname")
lxtel=request("lxtel")
lxname=request("lxname")
lxaddress=request("lxaddress")
if jgpwd="jgpwdall" then
if jgpwdwhat="" then
response.write "<script language=JavaScript>{window.alert('您已选择“统一分配相同的登录密码”的形式,所以请您填入“统一密码”!');window.history.go(-1);}</script>"
response.end
end if
end if
set rs=server.createobject("adodb.recordset")
sql="select * from adminsys"
rs.open sql,conn,1,2
pwd=rs("jgpwdwhat")
if jgpwdwhat<>pwd then
if jgpwd<>"jgpwdall" then
response.write "<script language=JavaScript>{window.alert('因为您已经更改了教工登录“统一密码”,如要更改教工登录“统一密码”,请先选择“统一分配相同的登录密码”的形式!当前更改的“统一密码”无效!!');window.history.go(-1);}</script>"
response.end
end if
end if
rs("reg")=jgreg
rs("update")=jgupdate
rs("schoolname")=schoolname
rs("checkjgreg")=rjgregcheck
rs("lxtel")=lxtel
rs("lxname")=lxname
rs("lxaddress")=lxaddress
rs("jgpwd")=jgpwd
rs("jgpwdwhat")=jgpwdwhat
rs.update
rs.close
response.write "<script language=JavaScript>{window.alert('恭喜您,设置成功!');window.history.go(-1);}</script>"
%>
<%
else
response.write "<script language=JavaScript>{window.alert('对不起,您没有访问该页面的权限!系统自动返回...');window.history.go(-1);}</script>"
response.end
end if
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
</head>
<body>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -