📄 index.jsp
字号:
<%@ page contentType="text/html; charset=GBK" %>
<%@ include file="/inc/pv/admin.jsp"%>
<%@ include file="/inc/public/msg.jsp"%>
<%
String strCurMenuName = igec.site.base.business.DataUtilBusiness.getFieldValue("TITLE","TAB_IGECMENU","WHERE ID='" + strMenuId + "'");
String strCurMenuPic = igec.site.base.business.DataUtilBusiness.getFieldValue("SHOWIMG","TAB_IGECMENU","WHERE ID='" + strMenuId + "'");
java.util.ArrayList lists = (java.util.ArrayList) request.getAttribute("lists");
igec.site.base.bean.SysObj info = (igec.site.base.bean.SysObj) request.getAttribute("info");
if(lists==null || info==null){
showError("获取页面数据失败!",request,response);
return;
}
%>
<html>
<head>
<title><%=strCurMenuName%></title>
<meta http-equiv="Content-Type" content="text/html; charset=GBK">
<link rel="stylesheet" type="text/css" href="<%=strCssPath%>">
<script language="javascript" src="<%=site.bean.SitePara.strVirtualName%>/js/public.js"></script>
<script language="javascript" src="<%=site.bean.SitePara.strVirtualName%>/js/check.js"></script>
<script language="javascript" src="<%=site.bean.SitePara.strVirtualName%>/js/xmlhttp.js"></script>
<script language="javascript" src="<%=strSkinBase%>/js/forbid.js"></script>
<script language="javascript">
<!--
function setSearch(strResult){
document.getElementById("searchTj").value = strResult;
searchForm.submit();
}
function deleteUser(){
var strResult = getSelectRsFromForm("RSID",form1);
if("ERROR"==strResult){
return;
}
delRs("?action=del&iid=<%=strMenuId%>&id=" + strResult);
}
//-->
</script>
</head>
<body class="bodycolor" topmargin="5">
<table border="0" width="90%" cellspacing="0" cellpadding="3" class="small">
<tr>
<td class="Big"><img src="<%=strSkinBase%>/images/menu/sys/<%=strCurMenuPic%>" WIDTH="22" HEIGHT="20" align="absmiddle" border="0"><a href="?iid=<%=strMenuId%>"><span class="big3"><%=strCurMenuName%></span></a>
</a>
<br></td>
</tr>
</table>
<table border="0" cellspacing="0" width="95%" cellpadding="0">
<tr><td height="40" align="right" valign="middle"><!--<a href="?type=3&iid=<%=strMenuId%>"><span class="big3"><%if("3".equals(info.getStrValue2())) out.print("<font color=\"#FF0000\">");%>今日注册<%if("3".equals(info.getStrValue2())) out.print("</font>");%></span></a> |--> <a href="?type=1&iid=<%=strMenuId%>"><span class="big3"><%if("1".equals(info.getStrValue2()) || "3".equals(info.getStrValue2())) out.print("<font color=\"#FF0000\">");%>正常会员<%if("1".equals(info.getStrValue2()) || "3".equals(info.getStrValue2())) out.print("</font>");%></span></a> | <a href="?type=2&iid=<%=strMenuId%>"><span class="big3"><%if("2".equals(info.getStrValue2())) out.print("<font color=\"#FF0000\">");%>到期会员<%if("2".equals(info.getStrValue2())) out.print("</font>");%></span></a> | <a href="?type=0&iid=<%=strMenuId%>"><span class="big3"><%if("0".equals(info.getStrValue2())) out.print("<font color=\"#FF0000\">");%>无效会员<%if("0".equals(info.getStrValue2())) out.print("</font>");%></span></a> | <a href="javascript:" onclick="javascript:openWindow('?action=add&iid=<%=strMenuId%>','250','300');"><span class="big3">添加会员</span></a> | <a href="javascript:" onclick="javascript:openWindow('?action=search&iid=<%=strMenuId%>&recFun=setSearch&tj=<%=info.getStrValue1()%>','250','300');"><span class="big3">会员搜索</span></a></td></tr>
</table>
<%if(!igec.util.Tool.IsEmpty(info.getStrValue4())){%>
<table border="0" cellspacing="0" width="95%" cellpadding="0">
<tr><td height="30" valign="middle">
<font style="font-size:13px">显示<%=info.getStrValue4()%>的会员列表</font>
</td></tr>
</table>
<%}%>
<table border="0" cellspacing="1" width="95%" class="small" bgcolor="#000000" cellpadding="2">
<form name="form1" id="form1">
<tr class="TableHeader">
<td nowrap align="center" width="40">选择</td>
<td nowrap align="center">会员帐号</td>
<td nowrap align="center" width="14%">真实姓名</td>
<!--<td nowrap align="center" width="10%">性质</td>-->
<td nowrap align="center" width="14%">角色</td>
<!--<td nowrap align="center" width="10%">剩余资金</td>-->
<td nowrap align="center" width="14%">开始期</td>
<td nowrap align="center" width="14%">结束期</td>
<td nowrap align="center" width="16%">操作</td>
</tr>
<%
for(int i=0;i<lists.size();i++){
igec.site.base.bean.StandSysObj so = (igec.site.base.bean.StandSysObj)lists.get(i);
%>
<tr class="TableData">
<td> <input type="checkbox" name="RSID" value="<%=so.getStrValue1()%>">
</td>
<td align="center"><%if(!"0".equals(so.getStrValue8())){%><a href="?iid=<%=strMenuId%>&pid=<%=so.getStrValue1()%>"><%}%><%=so.getStrValue2()%></a></td>
<td align="center" nowrap><%=igec.site.base.business.DataUtilBusiness.getFieldValue("NICKNAME","TAB_IGECMEBADV","WHERE MEBID='"+so.getStrValue1()+"'")%></td>
<!--<td align="center"><%if("0".equals(so.getStrValue3())) out.print("个人会员"); else out.print("企业会员");%></td>-->
<td align="center"><%=igec.site.base.business.DataUtilBusiness.getFieldValue("NAME","TAB_IGECMEBROLE","WHERE ID='"+so.getStrValue4()+"'")%></td>
<!--<td align="center"><%=so.getStrValue5()%>元</td>-->
<td align="center"><%=igec.util.Tool.getStrTime(so.getStrValue6(),1)%></td>
<td align="center"><%=(igec.util.Tool.IsEmpty(so.getStrValue7()))?"--":igec.util.Tool.getStrTime(so.getStrValue7(),1)%></td>
<td align="center" nowrap><a href="javascript:" onclick="javascript:openWindow('?action=show&id=<%=so.getStrValue1()%>&iid=<%=strMenuId%>','250','300');">查看</a>
<a href="javascript:" onclick="javascript:openWindow('?action=edit&id=<%=so.getStrValue1()%>&iid=<%=strMenuId%>','250','300');">编辑</a>
<!-- <a href="javascript:" onclick="javascript:openWindow('service.jsp?id=<%=so.getStrValue1()%>&iid=<%=strMenuId%>','250','300');">服务</a>-->
</td>
</tr>
<%
}
%>
<tr class="TableControl">
<td colspan="10">
<input type="checkbox" name="allbox" id="allbox_for" onClick="checkAll(this,'RSID',form1);">
<label for="allbox_for">全选</label>
<input type="button" value="删除" class="SmallButton" onClick="deleteUser();" title="删除所选会员">
</td>
</tr>
</form>
</table>
<table border="0" cellspacing="0" width="95%" cellpadding="0">
<tr><td height="40" <%if(lists.size()>0){%>align="right"<%}else{%>align="center"<%}%> valign="middle"><span class="big3"><%=info.getStrValue5()%></span></td></tr>
</table>
<form action="" method="get" name="searchForm" id="searchForm" target="_self">
<%
String strQuery[][] = igec.util.UrlTool.getStrFromQuery(request);
if(strQuery!=null){
for(int i=0;i<strQuery.length;i++){
if(!"searchTj".equals(strQuery[i][0])){
%>
<input type="hidden" name="<%=strQuery[i][0]%>" id="<%=strQuery[i][0]%>" value="<%=strQuery[i][1]%>">
<%
}
}
}
%>
<input type="hidden" name="searchTj" id="searchTj" value="">
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -