?? usermodify.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="java.util.List" %>
<%@ page import="com.publish.shop.util.javabeans.Utility" %>
<%@ page import="com.publish.shop.util.javabeans.Constants" %>
<%
String contextPath = request.getContextPath();
String loginNameNull = Utility.getMessage("Shop.User.Error.loginIsNull");
String userNameNull = Utility.getMessage("Shop.User.Error.UserIsNull");
String roleNull = Utility.getMessage("Shop.User.Error.RoleIsNull");
%>
<html:html>
<HEAD>
<TITLE>
<bean:message key="Shop.title"/>-
<bean:message key="Shop.Security.title"/>-
<bean:message key="Shop.User.UserUpdate"/>
</TITLE>
<script language="JavaScript" src="<%=contextPath%>/js/Utility.js"></script>
<script language="javascript">
var winOpenedArr = new Array();
function modify()
{
if (isEmpty(document.forms[1].loginName.value))
{
alert("<%=loginNameNull%>");
docuemnt.forms[0].loginName.focus();
return false;
}
if(isEmpty(document.forms[1].userName.value)){
alert("<%=userNameNull%>");
document.forms[1].userName.focus();
return false;
}
if(document.forms[1].selectedRoles.length==0){
alert("<%=roleNull%>");
return false;
}
var tbox = document.forms[1].selectedRoles;
document.forms[1].selectedRole.value = "";
for (i = 0; i < tbox.options.length; i++) {
document.forms[1].selectedRole.value = document.forms[1].selectedRole.value+tbox.options[i].value+"|";
}
document.forms[1].strutsAction.value="4";
document.forms[1].submit();
}
function fnHelpCorp()
{
var lsUrl = "/hlp/corp/search.do";
var winName='CorpHelp';
winOpenedArr[0] = openThisWindow(lsUrl,winName,winOpenedArr,'1b') ;
}
function search(){
document.forms[1].strutsAction.value="0";
document.forms[1].action="/shop/user/search.do";
document.forms[1].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 action="/user/modify.do">
<html:hidden property="strutsAction"/>
<html:hidden property="selectedRole"/>
<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 WIDTH="90%" BORDER="1" CELLSPACING="0" CELLPADDING="3" ALIGN="center" BORDERCOLORDARK="#FFFFFF" BORDERCOLORLIGHT="#666666">
<TR>
<TD WIDTH="21%" ALIGN="RIGHT" BGCOLOR="#e1e1e1">*登陸名稱:</TD>
<TD WIDTH="79%" BGCOLOR="#FFFFFF">
<html:text property="loginName" styleClass="Standard-InputCN" size="13" maxlength="20" readonly="true"/> (3到20個字符)
</TD>
<TR>
<TD WIDTH="21%" ALIGN="RIGHT" BGCOLOR="#e1e1e1">*密碼:</TD>
<TD WIDTH="79%" BGCOLOR="#FFFFFF">
<html:password property="userPwd" styleClass="Standard-InputCN" size="13" maxlength="20" readonly="true"/> (3到20個字符)
</TD>
</TR>
<TR>
<TD WIDTH="21%" ALIGN="RIGHT" BGCOLOR="#e1e1e1">*用戶名稱:</TD>
<TD WIDTH="79%" BGCOLOR="#FFFFFF">
<html:text property="userName" styleClass="Standard-InputCN" size="13" maxlength="20"/> (3到20個字符) </TD>
</TR>
<TR>
<TD WIDTH="21%" ALIGN="RIGHT" BGCOLOR="#e1e1e1">用戶類型</TD>
<TD WIDTH="79%" BGCOLOR="#FFFFFF">
<html:text property="userName" styleClass="Standard-InputCN" size="13" maxlength="20"/>
</TD>
</TR>
<TR>
<TD WIDTH="21%" ALIGN="RIGHT" BGCOLOR="#e1e1e1">性別</TD>
<TD WIDTH="79%" BGCOLOR="#FFFFFF">
<html:text property="userSex" styleClass="Standard-InputCN" size="13" maxlength="20"/>
</TD>
</TR>
<TR>
<TD WIDTH="21%" ALIGN="RIGHT" BGCOLOR="#e1e1e1">電話</TD>
<TD WIDTH="79%" BGCOLOR="#FFFFFF">
<html:text property="userPhone" styleClass="Standard-InputCN" size="13" maxlength="20"/>
</TD>
</TR>
<TR>
<TD WIDTH="21%" ALIGN="RIGHT" BGCOLOR="#e1e1e1">Email:</TD>
<TD WIDTH="79%" BGCOLOR="#FFFFFF">
<html:text property="userEmail" styleClass="Standard-InputCN" size="13" maxlength="20"/>
</TD>
</TR>
<TR>
<TD WIDTH="21%" ALIGN="RIGHT" BGCOLOR="#e1e1e1">地址:</TD>
<TD WIDTH="79%" BGCOLOR="#FFFFFF">
<html:text property="userAddress" styleClass="Standard-InputCN" size="13" maxlength="20"/>
</TD>
</TR>
<TR>
<TD WIDTH="21%" ALIGN="RIGHT" BGCOLOR="#e1e1e1">郵編:</TD>
<TD WIDTH="79%" BGCOLOR="#FFFFFF">
<html:text property="userZip" styleClass="Standard-InputCN" size="13" maxlength="20"/>
</TD>
</TR>
<TR ALIGN="CENTER">
<TD COLSPAN="2">
<input type="button" class="Standard-ButtonCN" value="<bean:message key="label.modify"/> " onclick="return modify();">
<input type="button" class="Standard-ButtonCN" value="<bean:message key="label.back"/> " onclick="return search();">
</TD>
</TR>
</TABLE>
</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 + -