?? usersearch.jsp
字號:
<%@ page contentType="text/html;charset=GB2312" language="java" %>
<%@ taglib uri="struts-bean" prefix="bean" %>
<%@ taglib uri="struts-html" prefix="html" %>
<%@ taglib uri="struts-logic" prefix="logic" %>
<%@ taglib uri="shop" prefix="shop"%>
<%@ page import="com.publish.shop.util.javabeans.Utility" %>
<%
String contextPath = request.getContextPath();
String confirmMsg = Utility.getMessage("label.delete.Confirm");
%>
<html:html>
<HEAD>
<TITLE>
</TITLE>
<script language="JavaScript" src="<%=contextPath%>/js/Utility.js"></script>
<script language="javaScript">
var winOpenedArr = new Array();
function search(){
document.form2.strutsAction.value="0";
document.form2.submit();
}
function fnHelpCorp()
{
var lsUrl = "/hlp/corp/search.do";
var winName='CorpHelp';
winOpenedArr[0] = openThisWindow(lsUrl,winName,winOpenedArr,'1b') ;
}
function deleteUser(userId){
if(confirm("<%=confirmMsg%>")){
document.form2.deleteUserId.value=userId;
document.form2.action="/shop/user/delete.do";
document.form2.submit();
}
}
</script>
<META content="text/html; charset=gb2312" http-equiv=Content-Type><LINK
href="<%=contextPath%>/css/pub.css" rel=stylesheet type=TEXT/CSS>
<META content="MSHTML 5.00.3819.300" name=GENERATOR>
</HEAD>
<BODY bgColor=#ffffff leftMargin=0 topMargin=0 MARGINHEIGHT="0" MARGINWIDTH="0">
<shop:menu/>
<table>
<td vAlign=top>
<%@ include file="../side.jsp"%>
</td>
<html:form name="form2" action="/user/search.do" type="com.publish.shop.security.javabeans.UserForm">
<html:hidden property="strutsAction"/>
<html:hidden property="deleteUserId"/>
<html:hidden property="pagerOffSet"/>
<TD vAlign="top" align="left" width=100%>
<TABLE border=0 cellPadding=0 cellSpacing=0 width=90% align="center">
<TR>
<TD><B><FONT color=#0033cc>用戶管理</FONT></B><IMG border=0
src="<%=contextPath%>/images/arrow.gif">
</TD>
<TD align=right><A
href="javascript:this.location.reload();">刷新</A>
</TD>
</TR>
<TR bgColor=#000000>
<TD colSpan=2><IMG alt="" border=0 height=1
src="<%=contextPath%>/images/dot(1).gif" width=1>
</TD>
</TR>
</TABLE>
<br>
<br>
<table class="Detail-Table-Bigest" width="90%" cellpadding="0" cellspacing="0" border="0" align="center" >
<tr>
<td width="8" height="8"><html:img page="/images/l1.gif" width="8" height="8"/></td>
<td height="8" background="<%=contextPath%>/images/t_bg.gif"><html:img page="/images/transparent.gif" width="8" height="8"/></td>
<td width="8" height="8"><html:img page="/images/r1.gif" width="8" height="8"/></td>
</tr>
<tr>
<td width="8" background="<%=request.getContextPath()%>/images/l_bg.gif"><html:img page="/images/transparent.gif" width="8" height="8"/></td>
<td>
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="Detail-Table">
<tr>
<td class="DetailDescription-TdCN"><bean:message key="Shop.User.UserName"/></td>
<td class="DetailValue-TdCN">
<html:text property="userName" styleClass="Standard-InputCN" size="13" maxlength="20"/>
</td>
<td class="DetailDescription-TdCN"><bean:message key="Shop.User.LoginName"/></td>
<td class="DetailValue-TdCN">
<html:text property="loginName" styleClass="Standard-InputCN" size="13" maxlength="20"/>
</td>
</tr>
<tr>
<td class="DetailDescription-TdCN"><bean:message key="Shop.User.UserType"/></td>
<td class="DetailValue-TdCN">
<html:select property="userTypeId" styleClass="Standard-InputCN">
<html:options collection="UserTypeList" property="value" labelProperty="label"/>
</html:select>
</td>
</tr>
<tr>
<td colspan="3"> </td>
<td>
<input type="button" class="Standard-ButtonCN" value=" <bean:message key="label.search"/> " onclick="return search();">
<html:img page="/images/transparent.gif" width="10" height="8"/>
</td>
</tr>
</table>
</td>
<td width="8" background="<%=request.getContextPath()%>/images/r_bg.gif"><html:img page="/images/transparent.gif" width="8" height="13"/></td>
</tr>
<tr>
<td height="8"><html:img page="/images/l2.gif" width="8" height="8"/></td>
<td height="8" background="<%=request.getContextPath()%>/images/b_bg.gif"><html:img page="/images/transparent.gif" width="8" height="8"/></td>
<td width="8" height="8"><html:img page="/images/r2.gif" width="8" height="8"/></td>
</tr>
</table>
<br>
<logic:present name="UserList">
<table width="90%" border="0" align="center" cellpadding="0" cellspacing="0" class="Detail-Table-Bigest">
<tr>
<td width="8" height="8"><html:img page="/images/l1.gif" width="8" height="8"/></td>
<td height="8" background="<%=request.getContextPath()%>/images/t_bg.gif"><html:img page="/images/transparent.gif" width="8" height="8"/></td>
<td width="8" height="8"><html:img page="/images/r1.gif" width="8" height="8"/></td>
</tr>
<tr>
<td width="8" background="<%=request.getContextPath()%>/images/l_bg.gif"><html:img page="/images/transparent.gif" width="8" height="8"/></td>
<td>
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="List-Table">
<tr>
<td colspan="7" class="DetailDescription-TdCN">
<shop:pager/>
</td>
</tr>
<tr>
<td class="ListDescription-TdCN"><bean:message key="Shop.User.LoginName"/></td>
<td class="ListDescription-TdCN"><bean:message key="Shop.User.UserName"/></td>
<td class="ListDescription-TdCN"><bean:message key="Shop.User.UserType"/></td>
<td class="ListDescription-TdCN"><bean:message key="Shop.User.UserCreateTime"/></td>
<td class="ListDescription-TdCN"><bean:message key="label.remove"/></td>
</tr>
<logic:iterate id="UserForm01" name="UserList" type="com.publish.shop.security.javabeans.UserModel">
<tr>
<td class="ListValue-TdCN">
<html:link page="/user/modify.do" paramId="userId" paramName="UserForm01" paramProperty="userId">
<bean:write name="UserForm01" property="loginName"/>
</html:link>
</td>
<td class="ListValue-TdCN"><bean:write name="UserForm01" property="userName"/> </td>
<td class="ListValue-TdCN"><bean:write name="UserForm01" property="userTypeName"/>
<td class="ListValue-TdCN"><bean:write name="UserForm01" property="createTime"/>
<td class="ListValue-TdCN">
<IMG src="<%=request.getContextPath()%>/images/del.gif" onclick="return deleteUser('<bean:write name="UserForm01" property="userId"/>');">
</td>
</tr>
</logic:iterate>
</table>
</td>
<td width="8" background="<%=request.getContextPath()%>/images/r_bg.gif"><html:img page="/images/transparent.gif" width="8" height="13"/></td>
</tr>
<tr>
<td height="8"><html:img page="/images/l2.gif" width="8" height="8"/></td>
<td height="8" background="<%=request.getContextPath()%>/images/b_bg.gif"><html:img page="/images/transparent.gif" width="8" height="8"/></td>
<td width="8" height="8"><html:img page="/images/r2.gif" width="8" height="8"/></td>
</tr>
</table>
</logic:present>
</td>
</html:form>
<!-- foot begin -->
<CENTER><TABLE>
<TR>
<TD class=txt>版權所有| 法律聲明| 聯系我們 </TD>
</TR>
</TABLE></CENTER>
<BR>
</table>
</body>
</html:html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -