⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 changepasswd.jsp

📁 BBS-CS_3b_Tomcat4 java BBS
💻 JSP
字号:
<%@ page language="java" contentType="text/html; charset=gb2312" %>
<jsp:useBean id="SessionCheckBean" scope="page" class="com.laoer.bbscs.user.SessionCheck" />
<jsp:useBean id="BBSConfBean" scope="page" class="com.laoer.bbscs.admin.BBSConf" />
<jsp:useBean id="DoTextBean" scope="page" class="com.laoer.bbscs.txthtml.DoText" />

<%
SessionCheckBean.getSession(request);
if (SessionCheckBean.isHaveSession()) {
String tabledarkcolor = BBSConfBean.getConfTableDarkColor();
String tablemaincolor = BBSConfBean.getConfTableMainColor();
String tabletintcolor = BBSConfBean.gettabletintcolor();
boolean isGuestUser = SessionCheckBean.isGuestUser();
  if (!isGuestUser) {
  %>
<HTML><HEAD><TITLE>修改密码</TITLE>
<META content="text/html; charset=gb2312" http-equiv=Content-Type>
<%
  out.print(DoTextBean.gb2iso(BBSConfBean.getRightCSS1()));
%>
</HEAD>
<BODY <%=BBSConfBean.getRightBGTextColor1()%> leftMargin=20 topMargin=20 MARGINHEIGHT="20" MARGINWIDTH="20">
<FORM action="poption.jsp" method=post>
<INPUT TYPE="hidden" name=action value="changepass">
<TABLE bgColor=<%=tablemaincolor%> border=0 cellPadding=3 cellSpacing=0 width=400>
  <TBODY>
  <TR align=middle>
    <TD class=p9 colSpan=3>
      <div align="center"><FONT color=#ffffff>资料配置 - 修改密码</FONT></div>
    </TD></TR></TBODY></TABLE>
<HR align=left noShade SIZE=1 width=400>
<table width="400" border="0" cellpadding="1" cellspacing="1">
  <tr bgcolor="<%=tabledarkcolor%>">
    <td width="125">
      <div align="right">旧密码:</div>
    </td>
    <td width="268">
      <input type="password" name="oldpasswd" maxlength="20">
    </td>
  </tr>
  <tr bgcolor="<%=tabledarkcolor%>">
    <td width="125">
      <div align="right">新密码:</div>
    </td>
    <td width="268">
      <input type="password" name="newpasswd1" maxlength="20">
    </td>
  </tr>
  <tr bgcolor="<%=tabledarkcolor%>">
    <td width="125">
      <div align="right">新密码重复:</div>
    </td>
    <td width="268">
      <input type="password" name="newpasswd2" maxlength="20">
    </td>
  </tr>
</table>
<HR align=left noShade SIZE=1 width=400>

<TABLE border=0 cellPadding=0 cellSpacing=0 width=400>
  <TBODY>
  <TR align=middle bgColor=<%=tablemaincolor%>>
    <TD height=30>
      <div align="center">
        <INPUT type=submit name="pub_pass" value=修改>
        <INPUT type=reset value=重设>
      </div>
    </TD>
  </TR></TBODY></TABLE>
  </form>
  </BODY></HTML>
      <%
  }
  else {
    out.print("游客无此权限");
  }
}
else {
  out.println("错误!");
}
BBSConfBean.close();

%>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -