admin3.jsp 1.7 KB

123456789101112131415161718192021222324252627282930313233343536
  1. <%@ page language="java" contentType="text/html; charset=UTF-8"
  2. pageEncoding="UTF-8"%>
  3. <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
  4. <%
  5. if(request.getSession().getAttribute("user")==null){
  6. response.sendRedirect("main.jsp");
  7. }
  8. %>
  9. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  10. <html>
  11. <head>
  12. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  13. <title>后台</title>
  14. <script type="text/javascript" src="js/jquery.js"></script>
  15. <link rel="stylesheet" href="css/add.css" type="text/css" media="screen" />
  16. <link rel="stylesheet" href="css/bootstrap.min.css" type="text/css" media="screen" />
  17. </head>
  18. <body>
  19. <div class="div_from_aoto" style="width: 500px;">
  20. <FORM action="user?type=8" method="post">
  21. <DIV class="control-group">
  22. <label class="laber_from">姓名</label>
  23. <DIV class="controls" ><INPUT class="input_from" name="name" type=text placeholder=" 请输入姓名" required readonly="readonly" value="${userupdate.name}"><P class=help-block></P></DIV>
  24. </DIV>
  25. <DIV class="control-group">
  26. <LABEL class="laber_from">密码</LABEL><input type="hidden" name="id" value="${userupdate.id}" >
  27. <DIV class="controls" ><INPUT class="input_from" name="pwd" type=text placeholder=" 请输入密码" required value="${userupdate.pwd}"><P class=help-block></P></DIV>
  28. </DIV>
  29. <DIV class="control-group">
  30. <LABEL class="laber_from" ></LABEL>
  31. <DIV class="controls" ><button type="submit" class="btn btn-primary" style="width:120px;" >确认修改密码</button></DIV>
  32. </DIV>
  33. </FORM>
  34. </div>
  35. </body>
  36. </html>