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

📄 updatepeople.jsp

📁 教师办公管理系统
💻 JSP
📖 第 1 页 / 共 2 页
字号:
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
<%@ page contentType="text/html;charset=GBK"%>
<%@ page import="java.sql.*"%>
<%@ page import="to.model.People.*"%>
<%@ page import="to.model.Login.*"%>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=GBK">
    <title>修改人员信息</title>
    <style type="text/css">
    table{font-size:13px}
    </style>
  </head>
  <body>
    <form action="EditSavePeopleAction.do" method="get">
      <table cellspacing="3" cellpadding="2" border="0" width="800" align="center">
        <tr>
          <td colspan="4"></td>
        </tr>
         <%
          loginItem li=(loginItem)session.getAttribute("user");
          if(li==null)
          {
            response.sendRedirect("OfficeLogin.jsp");
          }
        %>
        <tr>
          <td colspan="4" height="1">
            <hr/>
          </td>
        </tr>
        <tr bgcolor="#006699">
          <th colspan="4" align="center"><font color="White">修改人员信息</font></th>
        </tr>
        <tr>
          <th colspan="4" align="center" height="20"></th>
        </tr>
        <%
          PeopleItem pi=(PeopleItem)request.getAttribute("pi");
        %>
        <tr>
          <td width="165">&nbsp;</td>
          <td align="center" width="239">人员编号: 
          </td>
          <td width="328">
            <input type="text" name="PeopleID" value="<%=pi.getPeopleID()%>"/>
          </td>
          <td width="53">&nbsp;</td>
        </tr>
        <tr>
          <td width="165">&nbsp;</td>
          <td align="center" width="239">登录帐号: 
          </td>
          <td width="328">
            <input type="text" name="UserName" value="<%=pi.getUserName()%>"/>
          </td>
          <td width="53">&nbsp;</td>
        </tr>
        <tr>
          <td width="165">&nbsp;</td>
          <td align="center" width="239">登录密码:
            
          </td>
          <td width="328">
            <input type="password" size="21" name="UserPwd" value="<%=pi.getUserPwd()%>"/>
          </td>
          <td width="53">&nbsp;</td>
        </tr>
        <tr>
          <td width="165">&nbsp;</td>
          <td align="center" width="239">确认密码:
            
          </td>
          <td width="328">
            <input type="password" size="21" name="UserPwdOk"/>
          </td>
          <td width="53">&nbsp;</td>
        </tr>
             <tr>
          <td width="165">&nbsp;</td>
          <td align="center" width="239">姓&nbsp;&nbsp;&nbsp;&nbsp;名:
            
          </td>
          <td width="328">
            <input type="text" name="PeopleName" value="<%=pi.getPeopleName()%>"/>
          </td>
          <td width="53">&nbsp;</td>
        </tr>
             <tr>
          <td width="165">&nbsp;</td>
          <td align="center" width="239">性&nbsp;&nbsp;&nbsp;&nbsp;别:
            
          </td>
          <td width="328">
            <select name="PeopleSex">
              <%
                if(pi.getPeopleSex().equals("男"))
                {
                  %>
                    <option value="男">男</option>
                  <%
                }
                else
                {
                  %>
                    <option value="女">女</option>
                  <%
                }
              %>
            </select>
          </td>
          <td width="53">&nbsp;</td>
        </tr>
       
        <tr>
          <td width="165">&nbsp;</td>
          <td align="center" width="239">民&nbsp;&nbsp;&nbsp;&nbsp;族:</td>
          <td width="328">
          <select name="Nation">
             <%
                ResultSet rs=null;
                PeopleBean pb=new PeopleBean();
                rs=pb.getAllNation();
                while(rs.next())
                {
                  int NationID=rs.getInt("NationID");
                  String NationName=rs.getString("NationName");
                   if(NationID==Integer.parseInt(pi.getNation().trim()))
                  {
                     %>
                        <option value="<%=NationID%>" selected="selected"><%=NationName%></option>
                      <%
                  }
                  else
                  {
                      %>
                        <option value="<%=NationID%>"><%=NationName%></option>
                      <%
                  }
                }
            %>
            </select>
          </td>
          <td width="53">&nbsp;</td>
        </tr>
             <tr>
          <td width="165">&nbsp;</td>
          <td align="center" width="239">籍&nbsp;&nbsp;&nbsp;&nbsp;惯:
            
          </td>
          <td width="328">
            <input type="text" name="Addr" value="<%=pi.getAddr().trim()%>"/>
          </td>
          <td width="53">&nbsp;</td>
        </tr>
             <tr>
          <td width="165">&nbsp;</td>
          <td align="center" width="239">出生日期:
           
          </td>
          <td width="328">
            <input type="text" name="Birth" value="<%=pi.getBirth().trim()%>"/>
          </td>
          <td width="53">&nbsp;</td>
        </tr>
             <tr>
          <td width="165">&nbsp;</td>
          <td align="center" width="239">身份证号:
            
          </td>
          <td width="328">
            <input type="text" name="Certid" value="<%=pi.getCertid().trim()%>"/>
          </td>
          <td width="53">&nbsp;</td>
        </tr>
             <tr>
          <td width="165">&nbsp;</td>
          <td align="center" width="239">职&nbsp;&nbsp;&nbsp;&nbsp;称:
            
          </td>
          <td width="328">
            <input type="text" name="Post" value="<%=pi.getPost().trim()%>"/>
          </td>
          <td width="53">&nbsp;</td>
        </tr>
             <tr>
          <td width="165">&nbsp;</td>
          <td align="center" width="239">办公电话:
            
          </td>
          <td width="328">
            <input type="text" name="Officetel" value="<%=pi.getOfficetel().trim()%>"/>
          </td>
          <td width="53">&nbsp;</td>
        </tr>
             <tr>
          <td width="165">&nbsp;</td>
          <td align="center" width="239">手&nbsp;&nbsp;&nbsp;&nbsp;机:
            
          </td>
          <td width="328">
            <input type="text" name="Mobile" value="<%=pi.getMobile().trim()%>"/>
          </td>
          <td width="53">&nbsp;</td>
        </tr>
             <tr>
          <td width="165">&nbsp;</td>
          <td align="center" width="239">住宅电话:
          </td>
          <td width="328">
            <input type="text" name="Hometel" value="<%=pi.getHometel().trim()%>"/>
          </td>
          <td width="53">&nbsp;</td>
        </tr>
             <tr>
          <td width="165">&nbsp;</td>
          <td align="center" width="239">电子邮件:
            
          </td>
          <td width="328">
            <input type="text" name="Email" value="<%=pi.getEmail().trim()%>"/>
          </td>
          <td width="53">&nbsp;</td>
        </tr>
             <tr>
          <td width="165">&nbsp;</td>
          <td align="center" width="239">备&nbsp;&nbsp;&nbsp;&nbsp;注:
            
          </td>
          <td width="328">
            <textarea cols="19" rows="2" name="Descs"><%=pi.getDescs().trim()%></textarea>
          </td>

⌨️ 快捷键说明

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