editok_admin_user.jsp
资源名称:shihua.rar [点击查看]
上传用户:zghglow
上传日期:2022-08-09
资源大小:27227k
文件大小:2k
源码类别:
WEB源码(ASP,PHP,...)
开发平台:
JavaScript
- <%@ page contentType="text/html;charset=gb2312"%>
- <html>
- <head>
- <title>翔鹭石化企业(厦门)有限公司_密码修改</title>
- <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
- <link rel="stylesheet" href="../include/main.css" type="text/css">
- </head>
- <body bgcolor="#FFFFFF" text="#000000">
- <%@page import="java.sql.*"%>
- <%@include file="../include/db_conn.jsp"%>
- <%@include file="../include/const.jsp"%>
- <%!String admin_id;%>
- <%!String admin_dept;%>
- <%!String admin_username;%>
- <%!String admin_password;%>
- <%String admin_column=null;%>
- <%
- int intRowCount; //记录总数
- //判断用户名是否填写
- admin_username =request.getParameter("admin_username");
- admin_password =request.getParameter("admin_password");
- //sql="insert into tbl_admin_user(admin_username,admin_password,admin_dept,admin_column) values('"+admin_username+"','"+admin_password+"','"+admin_dept+"','"+admin_column+"')";
- sql="update tbl_admin_user set admin_password='"+admin_password+"' where admin_username="+"'"+admin_username+"'";
- sql=getGBString(sql);
- //out.println(sql);
- smt.executeUpdate(sql);
- %>
- <%@include file="../include/header.jsp"%>
- <br>
- <table width="700" border="0" cellspacing="1" cellpadding="1" bgcolor="#f0f0f0" align="center">
- <tr>
- <td>
- <table width="700" border="0" cellspacing="0" cellpadding="0" align="center">
- <tr align="left">
- <td height="28" > <font face="webdings" color="#666666">8</font><a href="list_admin_user.jsp">返回</a> <img src="../images/pixel.gif" width="235" height="1"><span style="FONT-SIZE: 14px"><b><font color="#666666">密码修改</font></b></span></td>
- </tr>
- <tr align="center">
- <td height="120" bgcolor="#ffffff"><b><font color=red>密码修改成功!</font></b><br><br><a href='list_admin_user.jsp'>返回</a></td>
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td height="10"></td>
- </tr>
- </table>
- <br>
- <%@include file="../include/bottom.jsp"%>
- </body>
- </html>