c_customer_pwd_edit.jsp
资源名称:shihua.rar [点击查看]
上传用户:zghglow
上传日期:2022-08-09
资源大小:27227k
文件大小:4k
源码类别:
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"%>
- <%@include file="../include/isNotInteger.jsp"%>
- <%
- String admin_username;
- String customer_name="";
- //获取客户名称
- admin_username = (String)session.getAttribute("admin_username");
- sql="SELECT NAME1 FROM ZSD_KNA1 where KUNNR="+admin_username;
- //out.print(sql);
- rs=smt.executeQuery(sql);
- while(rs.next()){
- customer_name =rs.getString("NAME1");
- }
- %>
- <HTML>
- <HEAD>
- <TITLE>+ + 翔鹭石化 + +</TITLE>
- <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb2312">
- <link href="../style.css" rel="stylesheet" type="text/css">
- <script language="javascript">
- function chkfrm_addadmin(){
- if(document.frm_addadmin.password.value==""){
- alert("请填写新密码!");
- document.frm_addadmin.password2.focus();
- return false;
- }
- }
- </script>
- </HEAD>
- <BODY BGCOLOR=#CFE7F3 vlink="#666666" LEFTMARGIN=0 TOPMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0 >
- <table width="778" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
- <tr>
- <img src="../images/in1p_CRM1.gif" width="778" height="90"></td>
- </tr>
- <tr>
- <td width="26" height="26"><img src="../images/indl1.gif" width="26" height="26"></td>
- <td width="165" height="26"><img src="../images/in1t2.gif" width="165" height="26"></td>
- <td height="26" align="right"><img src="../images/in1tblk.gif" width="585" height="26"></td>
- </tr>
- </table>
- <table width="778" height="300" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
- <form action="c_customer_pwd_edit_ok.jsp" method="post" name="frm_addadmin" onsubmit="javascript:return chkfrm_addadmin();">
- <tr>
- <td width="190" align="left" valign="top" bgcolor="f0f0f0">
- <!--子目录-->
- <%@include file="s2menu.jsp"%>
- <!--子目录-->
- <table width="100" cellspacing="0" cellpadding="0" >
- <tr>
- <td><img src="../images/in1left.gif" width="165" height="100">
- </tr>
- </table>
- </td>
- <td width="50"></td>
- <td align="left" valign="top">
- <br><br><br>
- <table width="90%" align="left" bgcolor="#FFFFFF">
- <tr >
- <td ><p align="center"><strong><font size="+1"><font color="#ff9900"><%=customer_name%>----密码修改</font></font></strong></p>
- </td>
- </tr>
- </table>
- <br><br><br><br>
- <table width="90%" align="left" bgcolor="#FFFFFF">
- <tr>
- <td height="30"></td>
- </tr>
- <tr bgcolor="#FFFFFF">
- <td align="right"> <font size="+1" color="#0000ff"><strong>用 户 名:</strong></font> </td>
- <td width="40"> <font size="+1"><strong><%=session.getValue("admin_username")%></strong></font> </td>
- </tr>
- <!-- <tr bgcolor="#FFFFFF">
- <td align="right"><strong><font size="+1" color="#0000ff">旧 密 码:</font></strong> </td>
- <td> <input type="password" size="12" name="passwordold"> <strong><font color="#FF0000">*</font></strong></td>
- </tr>-->
- <tr bgcolor="#FFFFFF">
- <td align="right"><strong><font size="+1" color="#0000ff">新 密 码:</font></strong> </td>
- <td> <input type="password" size="12" name="password2"> <strong><font color="#FF0000">*</font></strong></td>
- </tr>
- <!-- <tr bgcolor="#FFFFFF">
- <td align="right"> <strong><font size="+1" color="#0000ff">验证密码:</font></strong> </td>
- <td><input type="password" size="12" name="password3"> <strong><font color="#FF0000">*</font></strong></td>
- </tr>-->
- <tr bgcolor="#FFFFFF" align="center">
- <td height="80" align="center" colspan="2">
- <input type="submit" name="Submit2" value=" 更改 " class=s02 style="width:60px;height:22px">
-
- <input type="reset" name="close2" value=" 取消 " class=s02 style="width:60px;height:22px">
- </td>
- </tr>
- </table>
- </tr>
- </form>
- </table>
- <%@include file="../include/bottom02.jsp"%>
- </BODY>
- </HTML>