📄 menberlist.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"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/UrlTag" prefix="UrlTag" %>
<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>
<style type="text/css">
<!--
.STYLE1 {
font-size: 14px;
font-weight: bold;
font-family: "宋体";
}
.STYLE2 {
font-size: 14px;
font-weight: bold;
}
.STYLE6 {font-size: 18px}
-->
</style>
<script type="text/javascript">
function check(){
var fag = true;
if(document.theform.serchphone.value==""){
alert("手机号码不能为空值!");
theform.serchphone.focus();
return false;
}
if(fag){
theform.submit();
}
}
function deletea(nid){
if(window.confirm("您确定要注销吗?")){
location.href="${pageContext.request.contextPath}/clubmanageAction.do?tag=deletemember&nid="+nid;
}
}
</script>
</head>
<body>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td 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><a href="${pageContext.request.contextPath}/clubmanageAction.do?tag=showmemberss"></a></td>
</tr>
</table>
<html:form action="/clubmanageAction.do?tag=serchphone" method="post" styleId="theform">
<table width="80%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="61%" height="20" align="right" valign="middle"></td>
<td width="39%" align="center" valign="middle" nowrap>
<span class="STYLE2">手机号码</span><span class="STYLE6">:</span>
<html:text property="serchphone" styleId="serchphone" size="15"></html:text>
<input type="button" name="Submit" value="查 询" onClick="check();">
<a href="${pageContext.request.contextPath}/clubmanageAction.do?tag=showmember">全部信息</a></td>
</tr>
</table>
</html:form>
<table width="86%" border="1" cellpadding="0" cellspacing="0" bordercolor="#D71920">
<tr>
<td height="63" align="center" valign="middle"><table width="100%" height="76" border="1" cellpadding="0" cellspacing="0" id="ttc">
<tr>
<td width="10%" height="37" align="center" id="ttc">用户编号</td>
<td width="10%" align="center" id="ttc">手机号码</td>
<td width="10%" align="center" id="ttc">起始时间</td>
<td width="10%" align="center" nowrap id="ttc">会员等级</td>
<td width="10%" align="center" id="ttc">品牌套餐</td>
<td width="10%" align="center" id="ttc">是否注销</td>
<td width="16%" align="center" id="ttc">操作【 <a href="${pageContext.request.contextPath}/clubmanageAction.do?tag=inserts">添加</a> 】</td>
</tr>
<logic:iterate id="mapclub" name="clublists" scope="request">
<tr>
<td height="37" align="center" valign="middle" nowrap id="ttc"> ${mapclub.userid}</td>
<td align="center" valign="middle" nowrap id="ttc"> ${mapclub.memberphone}</td>
<td align="center" valign="middle" nowrap id="ttc"> ${mapclub.mdate}</td>
<td align="center" valign="middle" nowrap id="ttc"> ${mapclub.usergrade}</td>
<td align="center" valign="middle" nowrap id="ttc"> ${mapclub.servetype}</td>
<td align="center" valign="middle" nowrap id="ttc">
<logic:equal value="0" property="islock" name="clubmanageActionForm">未注销
</logic:equal>
<logic:notEqual value="0" property="islock" name="clubmanageActionForm">已注销
</logic:notEqual>
</td>
<td align="center" valign="middle" nowrap id="ttc">
<UrlTag:edit href="${pageContext.request.contextPath}/clubmanageAction.do?tag=deletemember&nid=${mapclub.cardid}" flog="0" sentence="确定要注销吗?" param="注销"/>
| <UrlTag:edit href="${pageContext.request.contextPath}/clubmanageAction.do?tag=updatemember&nid=${mapclub.cardid}" flog="1" param="修改" sentence=""/>
</td>
</tr>
</logic:iterate>
</table></td>
</tr>${requestScope.pagetool}
</table>
</td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -