📄 menberupdate.jsp
字号:
<%@ page contentType="text/html; charset=GBK" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-bean" prefix="bean"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-html" prefix="html"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-logic" prefix="logic"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<meta http-equiv="pragma" content="no-cache" />
<meta http-equiv="Cache-Control" content="no-cache, must-revalidate" />
<meta http-equiv="expires" content="Wed, 26 Feb 1970 08:21:57 GMT" />
<link href="${pageContext.request.contextPath}/image/main.css" rel="stylesheet" type="text/css">
<title>添加</title>
<script language="javascript" src="${pageContext.request.contextPath}/js/meizzDate.js"></script>
<style type="text/css">
<!--
.STYLE1 {
font-size: 14px;
font-weight: bold;
font-family: "宋体";
}
-->
</style>
<script type="text/javascript">
function returns(){
location.href="${pageContext.request.contextPath}/clubmanageAction.do?tag=showmember";
}
function check(){
var fag = true;
if(document.theform.memberphone.value==""){
alert("手机号码不能为空!");
theform.memberphone.focus();
return false;
}
if(document.theform.mdate.value==""){
alert("发卡日期不能为空!");
theform.mdate.focus();
return false;
}
if(document.theform.servetype.value=="请选择"){
alert("对不起您未选择一会员等级不能添加!");
theform.servetype.focus();
return false;
}
if(document.theform.usergrade.value=="请选择"){
alert("对不起您未选择一品牌类型不能添加!");
theform.usergrade.focus();
return false;
}
if(fag){
theform.submit();
}
}
</script>
</head>
<body>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="330" align="center" valign="middle"><table width="80%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="20" align="center" valign="middle"><span class="STYLE1">会员信息修改 </span></td>
</tr>
</table>
<table width="43%" height="310" border="1" cellpadding="0" cellspacing="0" bordercolor="#D71920">
<tr>
<td height="308" align="center" valign="middle">
<html:form action="/clubmanageAction.do?tag=updatemembers" styleId="theform" method="post">
<input type="hidden" name="serchphone" value="${requestScope.map.serchphone}" />
<input type="hidden" name="currentpage" value="${requestScope.map.currentpage}" />
<table width="100%" height="224" border="0" cellpadding="0" cellspacing="0" >
<tr>
<td width="34%" height="40" align="right" valign="middle" nowrap >手机号码:</td>
<td width="46%" align="left" valign="middle" nowrap >
<html:text property="memberphone" styleId="memberphone" value="${requestScope.phonelist.memberphone}"></html:text></td>
<td width="20%" align="center" valign="middle" nowrap > </td>
</tr>
<tr>
<td height="40" align="right" valign="middle" nowrap >起始时间:</td>
<td align="left" valign="middle" nowrap >
<html:text property="mdate" styleId="mdate" onclick="setday(this);" value="${requestScope.phonelist.mdate}"></html:text></td>
<td align="center" valign="middle" nowrap > </td>
</tr>
<tr>
<td height="40" align="right" valign="middle" nowrap >会员等级:</td>
<td align="left" valign="middle" nowrap >
<html:select property="usergrade" styleId="usergrade" style="width:150px;">
<html:option value="请选择"></html:option>
<logic:notEmpty name="list" scope="request">
<html:optionsCollection name="list" label="sname" value="sname"/>
</logic:notEmpty>
</html:select></td>
<td align="center" valign="middle" nowrap > </td>
</tr>
<tr>
<td height="40" align="right" valign="middle" nowrap >品牌套餐:</td>
<td align="left" valign="middle" nowrap >
<html:select property="servetype" styleId="servetype" style="width:150px;">
<html:option value="请选择"></html:option>
<logic:notEmpty name="lists" scope="request">
<html:optionsCollection name="lists" label="sname" value="sname"/>
</logic:notEmpty>
</html:select></td>
<td align="center" valign="middle" nowrap > </td>
</tr>
<tr>
<td height="64" colspan="3" align="center" valign="middle" nowrap>
<input type="button" name="Submit" value="提 交" onClick="check();">
<input type="reset" name="Submit2" value="重 置">
<input type="button" name="Submit3" value="返 回" onClick="returns()">
<html:hidden property="cardid" value="${requestScope.phonelist.cardid}"></html:hidden></td>
</tr>
</table>
</html:form>
</td>
</tr>
</table></td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -