?? admin_user_ac.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,vip,ltime,ip,email from in_user where id="&clng(request("id"))
ttype="1"
else
sql="select name,ac,question,lock,vip,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('非法數(shù)據(jù)提交!');" & "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>
<style type="text/css">
<!--
.style1 {
color: #333333;
font-weight: bold;
}
-->
</style>
</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 width="400" height="333" border="0" cellpadding="0" cellspacing="0" bgcolor="#9CCFFF" id="table2">
<tr bgcolor="#9966FF">
<td width="400" height="30" colspan="2" style="border: 1px solid #C0C0C0">
<p align="center" class="style1">用戶<b>賬</b>戶設置</td>
</tr>
<tr bgcolor="#9CCFFF">
<td height="30" width="400" style="border-left: 1px solid #C0C0C0; border-right: 1px solid #C0C0C0; border-top-width: 1px; border-bottom: 1px solid #C0C0C0">
<p align="center"><b>賬 號:</b></td>
<td height="30" width="400" style="border-left-width: 1px; border-right: 1px solid #C0C0C0; border-top-width: 1px; border-bottom: 1px solid #C0C0C0"> <%=rs("ac")%>(<%=rs("name")%>)</td>
</tr>
<tr bgcolor="#9CCFFF">
<td width="400" style="border-left: 1px solid #C0C0C0; border-right: 1px solid #C0C0C0; border-top-width: 1px; border-bottom: 1px solid #C0C0C0" height="30">
<p align="center"><b>密 碼:</b></td>
<td width="400" style="border-left-width: 1px; border-right: 1px solid #C0C0C0; border-top-width: 1px; border-bottom: 1px solid #C0C0C0" height="30">
<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 bgcolor="#9CCFFF">
<td width="400" style="border-left: 1px solid #C0C0C0; border-right: 1px solid #C0C0C0; border-top-width: 1px; border-bottom: 1px solid #C0C0C0" height="30">
<p align="center"><b>密碼問題:</b></td>
<td width="400" style="border-left-width: 1px; border-right: 1px solid #C0C0C0; border-top-width: 1px; border-bottom: 1px solid #C0C0C0" height="30">
<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 bgcolor="#9CCFFF">
<td width="400" style="border-left: 1px solid #C0C0C0; border-right: 1px solid #C0C0C0; border-top-width: 1px; border-bottom: 1px solid #C0C0C0" height="30">
<p align="center"><b>密碼答案:</b></td>
<td width="400" style="border-left-width: 1px; border-right: 1px solid #C0C0C0; border-top-width: 1px; border-bottom: 1px solid #C0C0C0" height="30">
<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 bgcolor="#9CCFFF">
<td width="400" style="border-left: 1px solid #C0C0C0; border-right: 1px solid #C0C0C0; border-top-width: 1px; border-bottom: 1px solid #C0C0C0" height="29">
<p align="center"><b>是否vip:</b></td>
<td width="400" style="border-left-width: 1px; border-right: 1px solid #C0C0C0; border-top-width: 1px; border-bottom: 1px solid #C0C0C0" height="29">
是
<input type="radio" value="1" name="vip" <%if rs("vip")=true then response.write"checked"%>>
否<input type="radio" name="vip" value="0" <%if rs("vip")=false then response.write"checked"%>></td>
</tr>
<tr>
<td width="400" style="border-left: 1px solid #C0C0C0; border-right: 1px solid #C0C0C0; border-top-width: 1px; border-bottom: 1px solid #C0C0C0" bgcolor="#9CCFFF" height="29">
<p align="center"><b>是否鎖定:</b></td>
<td width="400" style="border-left-width: 1px; border-right: 1px solid #C0C0C0; border-top-width: 1px; border-bottom: 1px solid #C0C0C0" height="29" bgcolor="#9CCFFF">
是
<input type="radio" value="1" name="lock" <%if rs("lock")=true then response.write"checked"%>>
否<input type="radio" name="lock" value="0" <%if rs("lock")=false then response.write"checked"%>></td>
</tr>
<tr>
<td width="400" style="border-left: 1px solid #C0C0C0; border-right: 1px solid #C0C0C0; border-top-width: 1px; border-bottom: 1px solid #C0C0C0" bgcolor="#9CCFFF" height="93">
<p align="center"><b>其他數(shù)據(jù):</b></td>
<td width="400" style="border-left-width: 1px; border-right: 1px solid #C0C0C0; border-top-width: 1px; border-bottom: 1px solid #C0C0C0" height="93" bgcolor="#99CCFF">
電子郵件地址:<%=rs("email")%><p>最后登錄時間:<%=rs("ltime")%>
<p>最后登錄 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 + -