useradd.jsp~41~
资源名称:bangong.rar [点击查看]
上传用户:dlqqsh
上传日期:2021-11-13
资源大小:7840k
文件大小:3k
源码类别:
OA系统
开发平台:
Java
- <%@ page contentType="text/html; charset=GBK" import="officeol.mc.tools.*" %>
- <%request.setCharacterEncoding("GBK"); %>
- <html>
- <head>
- <title>
- 天津市河东区经济贸易委员会内部办公网
- </title>
- </head>
- <body bgcolor="#ffffff"><br />
- <h4>
- 用户添加
- </h4>
- <br />
- <p>
- <%
- String message = request.getAttribute("msg")==null?"":request.getAttribute("msg").toString();
- out.print(message);
- String ud = (String)session.getAttribute("UD");
- String udid = (String)session.getAttribute("UDID");
- String un = (String)session.getAttribute("UN");
- String uid = (String)session.getAttribute("UID");
- String pp = (String)session.getAttribute("POPE");
- String login = (String)session.getAttribute("LOGIN");
- if(login!=null&&login.equals("OK")){
- if(!pp.equals("com")){
- %>
- </p>
- <form name="form1" method="post" action="userAddAction.do">
- <table width="90%" border="1">
- <tr>
- <td>
- <div align="center">用户名</div></td>
- <td><div align="center">
- <input type="text" name="username">
- </div></td>
- <td><div align="center"></div></td>
- </tr>
- <tr>
- <td><div align="center">密码</div></td>
- <td><div align="center">
- <input type="password" name="pwd">
- </div></td>
- <td><div align="center"></div></td>
- </tr>
- <tr>
- <td><div align="center">密码确认</div></td>
- <td><div align="center">
- <input type="password" name="pwd2">
- </div></td>
- <td><div align="center"></div></td>
- </tr>
- <tr>
- <td><div align="center">姓名</div></td>
- <td><div align="center">
- <input type="text" name="xm"/>
- </div></td>
- <td><div align="center"></div></td>
- </tr>
- <tr>
- <td><div align="center">性别</div></td>
- <td><div align="center">
- <input type="radio" name="sex" checked="checked" value="0" />男
- <input type="radio" name="sex" value="1"/>女
- </div></td>
- <td><div align="center"></div></td>
- </tr>
- <tr>
- <td><div align="center"> 办公电话</div></td>
- <td><div align="center">
- <input type="text" name="tel"/>
- </div></td>
- <td><div align="center"></div></td>
- </tr>
- <tr>
- <td><div align="center"> 手机 </div></td>
- <td><div align="center">
- <input type="text" name="tel2" />
- </div></td>
- <td><div align="center"></div></td>
- </tr>
- <tr>
- <td><div align="center"> 邮箱 </div></td>
- <td><div align="center">
- <input type="text" name="email"/>
- </div></td>
- <td><div align="center"></div></td>
- </tr>
- <tr>
- <td colspan="3"><div align="center">
- <input type="submit" name="Submit" value="保存">
- </div></td>
- </tr>
- </table>
- </form>
- <p> </p>
- <%
- }
- }else{
- response.sendRedirect("userlogin.jsp");
- }
- %>
- </body>
- </html>