📄 usermanager.jsp
字号:
<%@ page language="java" import="java.util.*,org.users.pojo.*"
pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>用户管理</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!--
<link rel="stylesheet" type="text/css" href="styles.css">
--><style type="text/css">
<!--
body,td,th {
font-size: 12px;
color: #000000;
}
body {
background-color: #CCCCCC;
}
.STYLE3 {
color: #006600
}
.STYLE4 {
font-weight: bold;
font-size: xx-large;
color: #003300;
}
a {
font-size: 12px;
color: #880066;
}
a:link {
text-decoration: none;
color: #000000;
}
a:visited {
text-decoration: none;
color: #000000;
}
a:hover {
text-decoration: none;
color: #FF00FF;
}
a:active {
text-decoration: none;
color: #9900FF;
}
.STYLE5 {
color: #000000
}
-->
</style>
</head>
<body bgColor=#ecf1f9>
<div>
<div align="center">
</div>
<h1 align="center">
<font color="#7060cc">自我信息管理</font>
</h1>
</div>
<form method="post" action="/newscontent/userManager.do">
<table width="600" border="0" bgcolor="#ecf1f9" align="center">
<tbody>
<tr>
<td align="right" width="15%">
用户姓名:
</td>
<td>
<%Users user = (Users) session.getAttribute("Users");%>
<%=user.getUsername()%>
</td>
</tr>
<tr>
<td align="right" width="15%">
注册时间:
</td>
<td>
<%=user.getRegistTime() %>
</td>
</tr>
<tr>
<td align="right" width="15%">
用户性别:
</td>
<td>
<%if(user.getSex().equals(1)){ %>
男<%}else if(user.getSex().equals(2)){ %>女<%}else{} %>
</td>
</tr>
<tr>
<td align="right" width="15%">
用户级别:
</td>
<td><%if(user.getLevel().equals(1)){ %>会员<%}else if(user.getLevel().equals(2)){ %>管理员<%}%>
</td>
</tr>
<tr>
<td align="right" width="15%">
用户原密码:
</td>
<td>
<input type="password" name="oldPassword" size="43">
</td>
</tr>
<tr>
<td align="right" width="15%">
用户新密码:
</td>
<td>
<input type="password" name="newPassword" size="43">
</td>
</tr>
<tr>
<td align="right" width="15%">
重复新密码:
</td>
<td>
<input type="password" name="repassword" size="43">
</td>
</tr>
<tr>
<td align="right" width="15%">
联系电话:
</td>
<td>
<input type="text" name="phone" value="<%=user.getPhone() %>" size="43">
</td>
</tr>
<tr>
<td align="right" width="15%">
电子邮箱:
</td>
<td>
<input type="text" name="email" value="<%=user.getEmail() %>" size="43">
</td>
</tr>
<tr>
<td align="right" width="15%">
QQ号码:
</td>
<td>
<input type="text" name="qqCode" value="<%=user.getQqCode() %>" size="43">
</td>
</tr>
<tr>
<td align="right" width="15%">
个人简历:
</td>
<td>
<textarea rows="5" cols="37" name="resume"><%=user.getResume() %></textarea>
</td>
</tr>
<tr>
<td align="left" colspan="2">
<input type="submit" name="submit" value="确定">
<input type="reset" name="reset" value="重添">
</td>
</tr>
</tbody>
</table>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -