?? user_manage.asp
字號:
<%@ Language=VBScript %>
<!--#include file="../dbase.asp"-->
<!--#include file="user_function.asp"-->
<html>
<head>
<meta name="GENERATOR" Content="Microsoft Visual Studio.NET 7.0">
<link href="../../js/hystudio.css" rel="stylesheet" type="text/css">
<link href="../MSTYLE.CSS" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
INPUT{BORDER-TOP-WIDTH: 1px; PADDING-RIGHT: 1px; PADDING-LEFT: 1px; BORDER-LEFT-WIDTH: 1px; FONT-SIZE: 9pt; BORDER-LEFT-COLOR: #cccccc; BORDER-BOTTOM-WIDTH: 1px; BORDER-BOTTOM-COLOR: #cccccc; PADDING-BOTTOM: 1px; BORDER-TOP-COLOR: #cccccc; PADDING-TOP: 1px; HEIGHT: 18px; BORDER-RIGHT-WIDTH: 1px; BORDER-RIGHT-COLOR: #cccccc; font-family: "宋體"; font-size: 12px}
textarea {border-width: 1; border-color: #000000; background-color: #efefef; font-family: "宋體"; font-size: 12px; font-style: bold;}
select {border-width: 1; border-color: #000000; background-color: #eeeeee; font-family: "宋體"; font-size: 12px; font-style: bold;}
OPTION{FONT-FAMILY: "宋體"; FONT-SIZE: 12px}
-->
</style>
</head>
<body>
<%'n_ID, c_UserID, v_LoginName, v_LNEncode, v_LoginPwd, v_IdentityCard,
' " v_PwdQuestion, v_PwdAnswer, c_State, v_UserTrueName
listUser=GetUserLoginInfo()'調用user_function.asp中的函數,得到登陸用戶列表
if not isnull(listUser) then
response.Write("<table border='1' cellpadding='0' cellspacing='0' style='border-collapse: collapse' bordercolor='#111111' width='100%'>")
response.Write("<tr align='center'><td width='11%'>工號</td><td width='11%'>姓名</td>")
response.Write("<td width='11%'>登陸名</td><td width='11%'>身份證號</td>")
response.Write("<td width='11%'>問題提示</td><td width='11%'>問題答案</td>")
response.Write("<td width='11%'>密碼</td><td width='1%' nowrap>狀態</td>")
response.Write("<td width='1%' bgcolor='#FF99CC'>操作</td></tr>")
for i=0 to ubound(listUser,2)
response.Write("<form action='user_manage_deal.asp?way=modify&id="&listUser(0,i)&"' method='post' target='_self'><tr align='center'>")
response.Write("<td width='11%'>"&listUser(1,i)&"</td><td width='11%'>"&listUser(9,i)&"</td>")
response.Write("<td width='11%'><input type='text' name='LoginName' size=10 value='"&listUser(2,i)&"'></td>")
response.Write("<td width='11%'><input type='text' name='IdentityCard' size=18 maxlength=18 value='"&trim(listUser(5,i))&"'></td>")
response.Write("<td width='11%'><input type='text' name='PwdQuestion' size=10 value='"&listUser(6,i)&"'></td>")
response.Write("<td width='11%'><input type='text' name='PwdAnswer' size=10 value='"&listUser(7,i)&"'></td>")
response.Write("<td width='11%'><input type='password' name='NewPwd' size=10></td>")
response.Write("<td width='1%'><img src=")
if listUser(8,i)="y" then
response.Write("'images/normal.gif' style='cursor: hand' alt='狀態正常'")
response.Write(" onclick='self.location.href=""user_manage_deal.asp?way=modify&id="&listUser(0,i)&"&state=n"" '")
else
response.Write("'images/freeze.gif' style='cursor: hand' alt='被封帳號'")
response.Write(" onclick='self.location.href=""user_manage_deal.asp?way=modify&id="&listUser(0,i)&"&state=y"" '")
end if
response.Write("></td>")
response.Write("<td width='1%' bgcolor='#FF99CC'>")
response.Write("<input type='submit' value='更'>")
response.Write("<input type='button' value='刪' ")
response.Write("onclick='if (confirm(""確定不是誤操作刪除?"")) self.location.href=""user_manage_deal.asp?way=delete&id="&listUser(0,i)&""" '>")
response.Write("</td></tr></form>")
next
response.Write("</table>")
end if%>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -