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

📄 users.jsp

📁 交易撮合系统是一套买卖信息沟通的平台
💻 JSP
字号:
<%@ page language="java" import="java.util.*,domain.*"
	pageEncoding="UTF-8"%>
<%@taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>
<%@taglib uri="http://struts.apache.org/tags-html" prefix="html"%>

<%
	int pages = 1;
	int totalPage = 0;
	pages = (Integer) request.getAttribute("whichpage");
	totalPage = (Integer) request.getAttribute("totalPage");
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<script>
    function checkform(){
         var page = document.getElementById("Page").value;
         var regString = /^[0-9]{0,9}$/;
         if(!page.match(regString)){
             alert("您输入的页码有错误!");
             return false;
         }
    }
</script>
<html>
	<head>
		<title>用户信息管理</title>
<style type="text/css">
<!--
.STYLE3 {
	font-family: "宋体";
	font-size: 14px;
}
.tasklist {
	BORDER-TOP: #aad1ef 1px solid; WIDTH: 900px; BORDER-BOTTOM: #aad1ef 1px solid
}
.listtable {
	MARGIN: 0px auto; WIDTH: 900px
}
.listtable TH {
	BORDER-RIGHT: #e4e4e4 1px solid; PADDING-RIGHT: 6px; BORDER-TOP: #e4e4e4 1px; PADDING-LEFT: 6px; FONT-WEIGHT: normal; BACKGROUND: #e4effa; PADDING-BOTTOM: 10px; BORDER-LEFT: #e4e4e4 1px solid; PADDING-TOP: 10px; BORDER-BOTTOM: #e4e4e4 1px solid
}
.listtable TD {
	BORDER-RIGHT: #e4e4e4 1px solid; PADDING-RIGHT: 3px; BORDER-TOP: #e4e4e4 1px solid; PADDING-LEFT: 3px; PADDING-BOTTOM: 6px; VERTICAL-ALIGN: middle; BORDER-LEFT: #e4e4e4 1px solid; COLOR: #333; LINE-HEIGHT: 18px; PADDING-TOP: 6px; BORDER-BOTTOM: #e4e4e4 1px
}

-->
</style>
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="this is my page">
		<meta http-equiv="content-type" content="text/html; charset=UTF-8">

		<!--<link rel="stylesheet" type="text/css" href="./styles.css">-->
		<link href="style.css" rel="stylesheet" type="text/css">
	</head>

	<body>
		<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
			<TBODY>
				<TR>
					<TD height=25>
						&nbsp;您现在的位置:用户信息管理
					</TD>
				</TR>
				<TR>
					<TD bgColor=#2650a6>
						<IMG height=1 src="images\blank(1).gif" width=1>
					</TD>
				</TR>
				<TR>
					<TD>
						<IMG height=2 src="images\blank(1).gif" width=574>
					</TD>
				</TR>
			</TBODY>
		</TABLE>
		<br>
	<div align="center">	
		<DIV class=tasklist>		
			<table class=listtable cellpadding="0" cellspacing="0">
				<tr bgcolor="#e4effa" height="31">
				<th>
					邮箱
				</th>
				<th>
					密码
				</th>
<!-- 	 		<th>
					真实姓名
				</th>
				<th>
					性别
				</th>
				<th>
					省份
				</th>
				<th>
				    城市
				</th>
				<th>
					出生日期
				</th>
	            <th>
					固定电话
				</th>
				<th>
					移动电话
				</th>
				<th>
					邮编
				</th>
				<th>
					地址
				</th> -->
				<th>
					信誉度
				</th>
				<th>
					是否锁定
				</th>
				<th>
					是否管理员
				</th>				
			</tr>
			<logic:present name="user" scope="request">
				<logic:iterate id="dept" name="user" type="domain.Users">
					<tr>
						<td>
							<a href="/webpk/htchangeuser.do?email=<bean:write name="dept" property="email" />"><bean:write name="dept" property="email" /></a>
						</td>
						<td>
							<bean:write name="dept" property="password" />
						</td>
		<!-- 				<td>
							<bean:write name="dept" property="truename" />
						</td>
						<td>
							<bean:write name="dept" property="sex" />
						</td>
						<td>
							<bean:write name="dept" property="province" />
						</td>
						<td>
							<bean:write name="dept" property="city" />
						</td>                                                
						<td>
							<bean:write name="dept" property="birthday" />
						</td>
						<td>
							<bean:write name="dept" property="telephone" />
						</td>

						<td>
							<bean:write name="dept" property="mobile" />
						</td>
						<td>
							<bean:write name="dept" property="zip" />
						</td>
						<td>
							<bean:write name="dept" property="address" />
						</td>                                              -->
						<td>
							<bean:write name="dept" property="credit" />
						</td>
						<td>
							<bean:write name="dept" property="isclock" />
						</td>
						<td>
							<bean:write name="dept" property="isadmin" />
						</td>
					</tr>
				</logic:iterate>
			</logic:present>
		</table>
		</DIV>
		<br>
		<%
				if (pages != 1) {
				out.println("<a href=/webpk/htuser.do?Page=1>首页</a>");
				out.println("<a href=/webpk/htuser.do?Page="
				+ (pages - 1) + ">上一页</a>");
			}
			if (pages != totalPage) {
				out.println("<a href=/webpk/htuser.do?Page="
				+ (pages + 1) + ">下一页</a>");
				out.println("<a href=/webpk/htuser.do?Page=" + totalPage
				+ ">尾页</a>");
			}
		%>
		第<%=pages%>页/共<%=totalPage%>页
		<form action="/webpk/htuser.do" method="post" onsubmit="return checkform();">
			输入页数:
			<input type="text" name="Page" id="Page"/>
			<input type="submit" value="GO" />
		</form>
<table width="100%" height="24" border="0" align="center"	cellpadding="0" cellspacing="0">
	<tr>								
	   <td align="center">
			技术支持 电话:010-51778949; E-Mail:yuxiangqian@hotmail.com;  MSN:yuxiangqian@hotmail.com; QQ:641593276
	   </td>													
	</tr>
	<tr>
	   <td align="center">
			Copyright 2004-2008 蜘蛛工作室:www.zhzhcn.cn  All Rights Reserved
	   </td>
	</tr>
</table>		
	</div>	
	</body>
</html>

⌨️ 快捷键说明

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