c_customer_pwd_edit.jsp
上传用户:zghglow
上传日期:2022-08-09
资源大小:27227k
文件大小:4k
源码类别:

WEB源码(ASP,PHP,...)

开发平台:

JavaScript

  1. <%@ page contentType="text/html;charset=gb2312"%> 
  2. <%@include file="../include/checkadmin.jsp"%>
  3. <%@page import="java.sql.*"%>
  4. <%@include file="../include/db_conn.jsp"%>
  5. <%@include file="../include/const.jsp"%>
  6. <%@include file="../include/isNotInteger.jsp"%>
  7. <%
  8. String admin_username;
  9.  String customer_name="";
  10.  //获取客户名称
  11.  admin_username = (String)session.getAttribute("admin_username");
  12.  sql="SELECT NAME1 FROM ZSD_KNA1 where KUNNR="+admin_username;
  13.  //out.print(sql);
  14.   rs=smt.executeQuery(sql);
  15. while(rs.next()){
  16. customer_name =rs.getString("NAME1");
  17. }
  18. %>
  19. <HTML>
  20. <HEAD>
  21. <TITLE>+ + 翔鹭石化 + +</TITLE>
  22. <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb2312">
  23. <link href="../style.css" rel="stylesheet" type="text/css">
  24. <script language="javascript">
  25. function chkfrm_addadmin(){
  26. if(document.frm_addadmin.password.value==""){
  27. alert("请填写新密码!");
  28. document.frm_addadmin.password2.focus();
  29. return false;
  30. }
  31. }
  32. </script>
  33. </HEAD>
  34. <BODY BGCOLOR=#CFE7F3 vlink="#666666" LEFTMARGIN=0 TOPMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0 >
  35. <table width="778" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
  36.         <tr> 
  37.           <img src="../images/in1p_CRM1.gif" width="778" height="90"></td>
  38.         </tr>
  39.   <tr> 
  40.     <td width="26" height="26"><img src="../images/indl1.gif" width="26" height="26"></td>
  41.     <td width="165" height="26"><img src="../images/in1t2.gif" width="165" height="26"></td>
  42.     <td height="26" align="right"><img src="../images/in1tblk.gif" width="585" height="26"></td>
  43.   </tr>
  44.  
  45. </table>
  46. <table width="778" height="300" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
  47.   <form action="c_customer_pwd_edit_ok.jsp" method="post" name="frm_addadmin" onsubmit="javascript:return chkfrm_addadmin();">
  48.   <tr> 
  49.     <td width="190" align="left" valign="top" bgcolor="f0f0f0">
  50. <!--子目录-->
  51. <%@include file="s2menu.jsp"%>
  52. <!--子目录-->
  53.       <table width="100"  cellspacing="0" cellpadding="0" >
  54.         <tr> 
  55.           <td><img src="../images/in1left.gif" width="165" height="100">
  56.         </tr>
  57.       </table>
  58.   </td>
  59.   <td width="50"></td>
  60.   <td align="left" valign="top">
  61.        <br><br><br>
  62.         <table width="90%" align="left" bgcolor="#FFFFFF">
  63.    <tr >
  64.     <td ><p align="center"><strong><font size="+1"><font color="#ff9900"><%=customer_name%>----密码修改</font></font></strong></p>
  65. </td>
  66.   </tr>
  67. </table>
  68. <br><br><br><br>
  69. <table width="90%" align="left" bgcolor="#FFFFFF">
  70.   <tr>
  71.    <td height="30"></td>
  72.   </tr>
  73.           <tr bgcolor="#FFFFFF"> 
  74.             <td align="right"> <font size="+1" color="#0000ff"><strong>用 户 名:</strong></font>&nbsp; </td>
  75.             <td width="40"> <font size="+1"><strong><%=session.getValue("admin_username")%></strong></font> </td>
  76.           </tr>  
  77. <!--         <tr bgcolor="#FFFFFF">
  78.            <td  align="right"><strong><font size="+1" color="#0000ff">旧 密 码:</font></strong>&nbsp; </td>
  79.            <td> <input type="password" size="12" name="passwordold">&nbsp;<strong><font color="#FF0000">*</font></strong></td>
  80.          </tr>-->   
  81.          <tr bgcolor="#FFFFFF">
  82.            <td  align="right"><strong><font size="+1" color="#0000ff">新 密 码:</font></strong>&nbsp; </td>
  83.            <td> <input type="password" size="12" name="password2">&nbsp;<strong><font color="#FF0000">*</font></strong></td>
  84.          </tr>
  85. <!--         <tr bgcolor="#FFFFFF">
  86.             <td align="right"> <strong><font size="+1" color="#0000ff">验证密码:</font></strong>&nbsp; </td>
  87.             <td><input type="password" size="12" name="password3">&nbsp;<strong><font color="#FF0000">*</font></strong></td>
  88.          </tr>-->
  89.          <tr bgcolor="#FFFFFF" align="center"> 
  90.          <td height="80" align="center" colspan="2"> 
  91.             <input type="submit" name="Submit2" value="  更改  " class=s02 style="width:60px;height:22px">
  92.             &nbsp;&nbsp;&nbsp;&nbsp;
  93. <input type="reset" name="close2" value="  取消  " class=s02 style="width:60px;height:22px">
  94.            </td>
  95.         </tr>
  96.     </table>
  97. </tr>     
  98.   </form>
  99. </table>
  100. <%@include file="../include/bottom02.jsp"%>
  101. </BODY>
  102. </HTML>