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

📄 userlist.jsp

📁 老外的在线考试
💻 JSP
字号:
<%-- * CyberTester - J2EE Web application for creating, delivering and managing tests/exams/surveys.  * Copyright (C) 2003 CyberDemia Research and Services Pty Ltd * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program (see the file COPYING); if not, write to the * Free Software Foundation, Inc., * 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA * * See the COPYING file located in the top-level-directory of * the archive of this program for complete text of license.--%><%@ page errorPage="/exception.jsp" language="java" %><%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %><%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %><%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %><html:html xhtml="true">	<head>		<title>CyberTester</title>		<meta http-equiv="pragmas" content="no-cache" />		<meta http-equiv="cache-control" content="no-cache" />		<meta http-equiv="expires" content="0" />		<link rel="stylesheet" href="<%= request.getContextPath() %>/cybertester.css" type="text/css" />		<link rel="stylesheet" href="<%= request.getContextPath() %>/admin/admin.css" type="text/css" />		<script type="text/javascript" >		<!--							function deleteUser(userId, userEmail) {				if ( window.confirm("Are you sure you want to delete user\n"+userEmail+"\nfrom CyberTester? Once deleted, the user's\nrecords are permanently removed.")) {					self.location.replace( "<%= response.encodeURL( request.getContextPath()+"/admin/deleteUser.do?x=0" ) %>&userId="+escape(userId) );				}			}					// -->		</script>		<html:base/>	</head>	<body>		<%@ include file="/include/header.jsp" %>		<h1><html:img page="/images/adminusers_big.gif" alt="Users admin" /> CyberTester Users</h1>		<table width="80%" >			<tr>				<th colspan="3">Enter either Email or Last Name search string and click a Search button</th>			</tr>			<form name="searchByEmailForm" id="searchByEmailForm" action="<%= response.encodeURL( request.getContextPath()+"/admin/getUsers.do" ) %>" >				<tr>					<td>Search by Email:</td>					<td><input type="text" maxlength="30" length="15" name="searchEmail" value="<bean:write name="searchEmail" />" /></td>					<td><input type="submit" value="Search" /></td>				</tr>			</form>			<form name="searchByLastNameForm" id="searchByLastNameForm" action="<%= response.encodeURL( request.getContextPath()+"/admin/getUsers.do" ) %>" >				<tr>					<td>Search by Last Name:</td>					<td><input type="text" maxlength="30" length="15" name="searchLastName" value="<bean:write name="searchLastName" />" /></td>					<td><input type="submit" value="Search" /></td>				</tr>			</form>		</table>		<table width="80%" class="viewer" >			<thead>				<tr>					<th class="label">Email</th>					<th class="label">Title</th>					<th class="label">Name</th>					<th class="label">Group</th>					<th class="label">Delete</th>				</tr>			</thead>			<tbody>			<logic:iterate id="user" name="userList">			<tr>				<td class="value">					<html:link page="/admin/editUser.do?mode=edit" paramId="userId" paramName="user" paramProperty="id" >						<bean:write name="user" property="email" />					</html:link>				</td>				<td class="value">					<bean:write name="user" property="title" />				</td>				<td class="value">					<span><bean:write name="user" property="firstName" /> <bean:write name="user" property="lastName" /></span>				</td>				<td class="value">					<bean:write name="user" property="groups" />				</td>				<td class="value">					<a href="javascript:deleteUser('<bean:write name="user" property="id" />','<bean:write name="user" property="email" />')">						<img src="<%= request.getContextPath() %>/images/redcross.gif" alt="Click to delete" />					</a>				</td>			</tr>			</logic:iterate>			</tbody>		</table>		<hr />		<p>			<html:link page="/admin/editUser.do?mode=new"><html:img page="/images/plus.gif" alt="Click to add a new User" /> Add User</html:link>		</p>		<p>			<html:link page="/admin/goAdmin.do"><html:img page="/images/home.gif" alt="Click to return to Admin Home" /> Admin Home</html:link>		</p>		<%@ include file="/include/footer.jsp" %>	</body></html:html>

⌨️ 快捷键说明

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