edit_admin_user.jsp
资源名称:shihua.rar [点击查看]
上传用户:zghglow
上传日期:2022-08-09
资源大小:27227k
文件大小:3k
源码类别:
WEB源码(ASP,PHP,...)
开发平台:
JavaScript
- <%@ page contentType="text/html;charset=gb2312"%>
- <%@include file="../include/checkadmin.jsp"%>
- <%@page import="java.sql.*"%>
- <%@include file="../include/db_conn.jsp"%>
- <%@include file="../include/const.jsp"%>
- <%
- String admin_id;
- admin_id=request.getParameter("admin_id");
- sql="SELECT C_ID,KUNNR,NAME1 FROM V_ZSD_KNA1_USER WHERE C_ID="+admin_id;
- rs=smt.executeQuery(sql);
- rs.last();
- if(rs.getRow()<1) return;
- %>
- <html>
- <head>
- <title>::::翔鹭石化企业(厦门)有限公司::::</title>
- <META NAME="robots" CONTENT="none">
- <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
- <link rel="stylesheet" href="../include/main.css" type="text/css">
- <script language="javascript">
- function chkfrm_addadmin(){
- if(document.frm_addadmin.admin_username.value==""){
- alert("请填写分配权限的用户名!");
- document.frm_addadmin.admin_username.focus();
- return false;
- }
- if(document.frm_addadmin.admin_password.value==""){
- alert("请填写用户密码!");
- document.frm_addadmin.admin_password.focus();
- return false;
- }
- }
- </script>
- </head>
- <body bgcolor="#FFFFFF" leftMargin=0 marginwidth="0" topmargin=0>
- <br>
- <!--#include file="../include/header.asp"-->
- <br>
- <table width="700" border="0" cellspacing="1" cellpadding="1" class=p9 align="center" bgcolor="#f0f0f0">
- <form action="editok_admin_user.jsp?admin_id=<%=admin_id%>" method="post" name="frm_addadmin" onsubmit="javascript:return chkfrm_addadmin();">
- <tr align="left">
- <td height="25" > <font face="webdings" color="#666666">8</font><a href="list_admin_user.jsp">返回</a>
- <img src="../images/pixel.gif" width="180" height="1"><span style="FONT-SIZE: 14px"><b><font color="#666666">用户密码修改</font></b></span></td>
- </tr>
- <tr align="right" bgcolor="#FFFFFF">
- <td align="right"><b> <font color="#666666">注意:</font></b><font color="#666666">请在20分钟以内完成提交,否则输入无效!</font> </td>
- </tr>
- <tr align="center" bgcolor="#FFFFFF">
- <td height="35"><br>
- <table border="1" cellpadding="2" cellspacing="0" class="p9" bordercolor="#cccccc" bordercolordark="#FFFFFF" bordercolorlight="#cccccc" width="90%">
- <tr>
- <td height="30" width="16%">客户名称</td>
- <input type="hidden" name="admin_dept" value="客户">
- <input type="hidden" name="column_id" value="67">
- <td >
- <input name=admin_dec readonly="yes" value="<%=rs.getString("NAME1")%>" type=text size=30 maxlength=20 class="p9" style="WIDTH: 230px; COLOR: navy;">
- </td>
- </tr>
- <tr>
- <td height="30" width="16%">用户名称<br>(客户编号)</td>
- <td >
- <input name=admin_username readonly="yes" value="<%=rs.getString("KUNNR")%>" type=text size=30 maxlength=20 class="p9" style="WIDTH: 230px; COLOR: navy;">
- </td>
- </tr>
- <tr>
- <td height="30" width="16%">新密码密码</td>
- <td >
- <input name=admin_password value="" type=password size=30 maxlength=20 class="p9" style="WIDTH: 230px; COLOR: navy;">
- <font color="red">*</font>
- </td>
- </tr>
- </table><br>
- </td>
- </tr>
- <tr align="center" bgcolor="#FFFFFF">
- <td height="40">
- <input type="hidden" name="edit_action" value="edit">
- <input type="submit" name="Submit" value="保存" class=p9 style="WIDTH: 85px; HEIGHT: 24px;">
-
- </td>
- </tr>
- <tr align="center">
- <td height="10"></td>
- </tr>
- </form>
- </table>
- <br>
- <!--#include file="../include/bottom.asp"-->
- </body>
- </html>