⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 admin_user_ac.asp

📁 源码:asp编写的大学生毕业就业招聘信息管理系统
💻 ASP
字号:
<!--#include file="conn.asp"-->
<%
if session("login")<>"yes" then
response.write "<script language=JavaScript>" & chr(13) & "alert('您还未登陆或者超时,请重登陆!');"&"window.location.href = '../'"&" </script>"
response.end
end if
if request("ttype")="1" then 
sql="select name,ac,question,lock,ltime,ip,email from in_user where id="&clng(request("id"))
ttype="1"
else
sql="select name,ac,question,lock,ltime,ip,email from en_user where id="&clng(request("id"))
ttype="2"
end if
rs.open sql,conn,1,1
if rs.recordcount=0 then
rs.close
set rs=nothing
response.write "<script language=JavaScript>" & chr(13) & "alert('非法数据提交!');" & "window.close()" & "</script>" 
Response.End
end if
%>
<html>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="../css.css"  type="text/css">
<title>用户帐户设置</title>
</head>

<body>
<div align="center">
	<table border="0" width="400" cellspacing="0" cellpadding="0" height="300" id="table1">
		<tr>
			<td valign="top">
			<form method="POST" action="updata_user_ac.asp">
				<table border="0" width="400" cellspacing="0" cellpadding="0" id="table2" height="333">
					<tr>
						<td height="30" background="images/jobbg1.gif" style="border: 1px solid #C0C0C0" width="398" colspan="2">
						<p align="center"><font color="#0A5DF6"><b>用户帐户设置</b></font></td>
					</tr>
					<tr>
						<td height="30" width="86" style="border-left: 1px solid #C0C0C0; border-right: 1px solid #C0C0C0; border-top-width: 1px; border-bottom: 1px solid #C0C0C0" bgcolor="#EEFFF2">
						<p align="center"><b>账&nbsp;&nbsp;&nbsp; 号:</b></td>
						<td height="30" width="311" style="border-left-width: 1px; border-right: 1px solid #C0C0C0; border-top-width: 1px; border-bottom: 1px solid #C0C0C0" bgcolor="#EEFFF2">&nbsp;<%=rs("ac")%>(<%=rs("name")%>)</td>
					</tr>
					<tr>
						<td width="86" style="border-left: 1px solid #C0C0C0; border-right: 1px solid #C0C0C0; border-top-width: 1px; border-bottom: 1px solid #C0C0C0" bgcolor="#EEFFF2" height="30">
						<p align="center"><b>密&nbsp;&nbsp;&nbsp; 码:</b></td>
						<td width="311" style="border-left-width: 1px; border-right: 1px solid #C0C0C0; border-top-width: 1px; border-bottom: 1px solid #C0C0C0" bgcolor="#EEFFF2" height="30">
						&nbsp;<input type="text" name="pwd" size="20" style="border-style: solid; border-width: 1px; padding-left: 4px; padding-right: 4px; padding-top: 1px; padding-bottom: 1px">
						<font color="#FF0000">若不更改,请勿填写</font></td>
					</tr>
					<tr>
						<td width="86" style="border-left: 1px solid #C0C0C0; border-right: 1px solid #C0C0C0; border-top-width: 1px; border-bottom: 1px solid #C0C0C0" bgcolor="#EEFFF2" height="30">
						<p align="center"><b>密码问题:</b></td>
						<td width="311" style="border-left-width: 1px; border-right: 1px solid #C0C0C0; border-top-width: 1px; border-bottom: 1px solid #C0C0C0" height="30" bgcolor="#EEFFF2">
						&nbsp;<input type="text" name="question" size="20" style="border-style: solid; border-width: 1px; padding-left: 4px; padding-right: 4px; padding-top: 1px; padding-bottom: 1px" value="<%=rs("question")%>"></td>
					</tr>
					<tr>
						<td width="86" style="border-left: 1px solid #C0C0C0; border-right: 1px solid #C0C0C0; border-top-width: 1px; border-bottom: 1px solid #C0C0C0" bgcolor="#EEFFF2" height="30">
						<p align="center"><b>密码答案:</b></td>
						<td width="311" style="border-left-width: 1px; border-right: 1px solid #C0C0C0; border-top-width: 1px; border-bottom: 1px solid #C0C0C0" height="30" bgcolor="#EEFFF2">
						&nbsp;<input type="text" name="answer" size="20" style="border-style: solid; border-width: 1px; padding-left: 4px; padding-right: 4px; padding-top: 1px; padding-bottom: 1px">
						<font color="#FF0000">若不更改,请勿填写</font></td>
					</tr>
					<tr>
						<td width="86" style="border-left: 1px solid #C0C0C0; border-right: 1px solid #C0C0C0; border-top-width: 1px; border-bottom: 1px solid #C0C0C0" bgcolor="#EEFFF2" height="31">
						<p align="center"><b>消费点数:</b></td>
						<td width="311" style="border-left-width: 1px; border-right: 1px solid #C0C0C0; border-top-width: 1px; border-bottom: 1px solid #C0C0C0" height="31" bgcolor="#EEFFF2">
						&nbsp;<input type="text" name="coin" size="11" style="border-style: solid; border-width: 1px; padding-left: 4px; padding-right: 4px; padding-top: 1px; padding-bottom: 1px" value="0">&nbsp; 
						(<font color="#FF0000">普及版不支持</font>)</td>
					</tr>
					<tr>
						<td width="86" style="border-left: 1px solid #C0C0C0; border-right: 1px solid #C0C0C0; border-top-width: 1px; border-bottom: 1px solid #C0C0C0" bgcolor="#EEFFF2" height="31">
						<p align="center"><b>高级用户:</b></td>
						<td width="311" style="border-left-width: 1px; border-right: 1px solid #C0C0C0; border-top-width: 1px; border-bottom: 1px solid #C0C0C0" height="31" bgcolor="#EEFFF2">
						&nbsp;<font color="#FF0000">不支持</font></td>
					</tr>
					<tr>
						<td width="86" style="border-left: 1px solid #C0C0C0; border-right: 1px solid #C0C0C0; border-top-width: 1px; border-bottom: 1px solid #C0C0C0" bgcolor="#EEFFF2" height="29">
						<p align="center"><b>是否锁定:</b></td>
						<td width="311" style="border-left-width: 1px; border-right: 1px solid #C0C0C0; border-top-width: 1px; border-bottom: 1px solid #C0C0C0" height="29" bgcolor="#EEFFF2">
						&nbsp;&nbsp; 是<input type="radio" value="true" name="lock" <%if rs("lock")=true then response.write"checked"%>>&nbsp;&nbsp; 
						否<input type="radio" name="lock" value="false" <%if rs("lock")=false then response.write"checked"%>></td>
					</tr>
					<tr>
						<td width="86" style="border-left: 1px solid #C0C0C0; border-right: 1px solid #C0C0C0; border-top-width: 1px; border-bottom: 1px solid #C0C0C0" bgcolor="#EEFFF2" height="93">
						<p align="center"><b>其他数据:</b></td>
						<td width="311" style="border-left-width: 1px; border-right: 1px solid #C0C0C0; border-top-width: 1px; border-bottom: 1px solid #C0C0C0" height="93" bgcolor="#EEFFF2">
						电子邮件地址:<%=rs("email")%><p>最后登陆时间:<%=rs("ltime")%><p>最后登陆&nbsp; IP:<%=rs("ip")%></td>
					</tr>
					<tr>
						<td height="30" width="400" colspan="2" style="border-left: 1px solid #C0C0C0; border-right: 1px solid #C0C0C0; border-top-width: 1px; border-bottom: 1px solid #C0C0C0" bgcolor="#EEFFF2">
						<p align="center">
						<input type="submit" value="修改" name="B1"></td>
					</tr>
				</table>
			<input type="hidden" name="ttype" value="<%=ttype%>">
			<input type="hidden" name="id" value="<%=request("id")%>">

			</form>
			</td>
		</tr>
	</table>
</div>

</body>

</html>
<%
rs.close
set rs=nothing
set conn=nothing
%>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -