yns_uup.asp
资源名称:gov_1.0.rar [点击查看]
上传用户:yjkj1008
上传日期:2020-10-17
资源大小:1496k
文件大小:4k
源码类别:
电子政务应用
开发平台:
HTML/CSS
- <%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
- <!--#include file="Connections/conn_news.asp" --> <% '请尊重作者劳动成果不要删除以上信息 '业一新闻系统3.0正式版 '主页:http://yeyi.net '论坛:http://bbs.yeyi.net '业一网络 承接各种网站制作 '程序开发 软件开发业务 '业务联系 '电话: 13007310512 '联系人:郝亚平 'QQ:24344842 (只谈业务,技术问题请访问论坛) '请尊重作者劳动成果不要删除以上信息 %>
- <%
- ' *** Restrict Access To Page: Grant or deny access to this page
- MM_authorizedUsers="3"
- MM_authFailedURL="default.asp"
- MM_grantAccess=false
- If Session("MM_Username") <> "" Then
- If (false Or CStr(Session("MM_UserAuthorization"))="") Or _
- (InStr(1,MM_authorizedUsers,Session("MM_UserAuthorization"))>=1) Then
- MM_grantAccess = true
- End If
- End If
- If Not MM_grantAccess Then
- MM_qsChar = "?"
- If (InStr(1,MM_authFailedURL,"?") >= 1) Then MM_qsChar = "&"
- MM_referrer = Request.ServerVariables("URL")
- if (Len(Request.QueryString()) > 0) Then MM_referrer = MM_referrer & "?" & Request.QueryString()
- MM_authFailedURL = MM_authFailedURL & MM_qsChar & "accessdenied=" & Server.URLEncode(MM_referrer)
- Response.Redirect(MM_authFailedURL)
- End If
- %>
- <%
- Dim rsu__MMColParam
- rsu__MMColParam = "1"
- If (Request.QueryString("u_id") <> "") Then
- rsu__MMColParam = Request.QueryString("u_id")
- End If
- %>
- <%
- Dim rsu
- Dim rsu_numRows
- Set rsu = Server.CreateObject("ADODB.Recordset")
- rsu.ActiveConnection = MM_conn_news_STRING
- rsu.Source = "SELECT * FROM t_user WHERE u_id = " + Replace(rsu__MMColParam, "'", "''") + ""
- rsu.CursorType = 0
- rsu.CursorLocation = 2
- rsu.LockType = 1
- rsu.Open()
- rsu_numRows = 0
- %>
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
- <title>业一新闻系统3.0正式版-------业一网络Yeyi.net制作</title>
- <link href="style/css.css" rel="stylesheet" type="text/css">
- </head>
- <body><br>
- <form action="yns_uusave.asp" method="post" name="form1">
- <table width="250" border="0" align="center" cellpadding="0" cellspacing="0">
- <tr>
- <td height="30" colspan="2" align="center" nowrap></td>
- </tr>
- <tr>
- <td height="3" colspan="2" align="center" nowrap bgcolor="#CCCCCC"></td>
- </tr>
- <tr>
- <td height="7" colspan="2" align="center" nowrap class="bg"></td>
- </tr>
- <tr>
- <td width="30%" height="25" align="center" nowrap>用户名:</td>
- <td height="25"><font color="#FF0000"><%=(rsu.Fields.Item("u_name").Value)%></font> </td>
- </tr>
- <tr class="bg">
- <td width="30%" height="25" align="center" nowrap>用户等级:</td>
- <td height="25"> <select style="font-family: 宋体; font-size: 9pt" name="u_level">
- <option value="1" selected>录入员</option>
- <option value="2">审核员</option>
- <option value="3">管理员</option>
- </select> </td>
- </tr>
- <tr>
- <td height="25" align="center" nowrap>旧密码:</td>
- <td height="25"><input name="u_pass1" type="password" id="u_pass1" style="font-family: 宋体; font-size: 9pt" size="20"></td>
- </tr>
- <tr class="bg">
- <td height="25" align="center" nowrap>新密码:</td>
- <td height="25"> <input name="u_pass2" type="password" id="u_pass2" style="font-family: 宋体; font-size: 9pt" size="20"></td>
- </tr>
- <tr>
- <td width="30%" height="25" align="center" nowrap>确认密码:</td>
- <td height="25"><input name="u_pass3" type="password" id="u_pass3" style="font-family: 宋体; font-size: 9pt" size="20">
- </td>
- </tr>
- <tr align="center">
- <td height="25" colspan="2" nowrap> <input type="submit" value="修改密码">
- <input name="u_id" type="hidden" id="u_id" value="<%=(rsu.Fields.Item("u_id").Value)%>"> </td>
- </tr>
- </table>
- </form>
- <p> </p>
- </body>
- </html>
- <%
- rsu.Close()
- Set rsu = Nothing
- %>
English
