⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 reclist.jsp

📁 华东粮油电子交易市场网站源码华东粮油电子交易市场网站源码华东粮油电子交易市场网站源码
💻 JSP
字号:
<%@ page contentType="text/html; charset=GBK" %>
<%@ include file="/inc/pv/user.jsp"%>
<%@ include file="/inc/public/msg.jsp"%>
<%	
	String strOfficeStyle = site.bean.SitePara.strVirtualName + "/member/" + igec.util.CookieUtil.getCookieValue(request,site.bean.SitePara.strCookieUserTheme,"stand");

%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=GBK" />
<title> 会员办公室--<%=site.bean.SitePara.strWebTitle%> </title>
<link rel="stylesheet" rev="stylesheet" href="<%=strOfficeStyle%>/css/content.css" type="text/css" />
<link rel="stylesheet" rev="stylesheet" href="<%=strOfficeStyle%>/css/tree.css" type="text/css" />
<link rel="stylesheet" rev="stylesheet" href="<%=strOfficeStyle%>/css/mainframe.css" type="text/css" />
<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="<%=strSkinBase%>/js/forbid.js"></script>
<script language="javascript">
<!--
function setRecUserList(){
	func_name_str="";
  func_id_str="";
	var loObjs = document.all.tags("input");
	if(typeof(loObjs.length)=="undefined"){
		func_id_str += loObjs.value;
		func_name_str += loObjs.label;
	}else{
		for(var i=0;i<loObjs.length;i++){
			if(loObjs[i].type=="checkbox" && typeof(loObjs[i].group)!="undefined"){
				if(loObjs[i].checked){
					if(func_id_str==""){
						func_id_str += loObjs[i].value;
						func_name_str += loObjs[i].label;
					}else{
						func_id_str += "," + loObjs[i].value;
						func_name_str += "," + loObjs[i].label;
					}
				}
			}
		}
	}
	var lsResult = func_id_str + ":" + func_name_str;
	if(window.opener!=null){
		if(typeof(window.opener.<%=request.getParameter("recFun")%>)!="undefined"){
			window.opener.<%=request.getParameter("recFun")%>(lsResult);
		}
		window.close();
	}else{
		alert("系统不支持此操作!");
	}
}
function init(){
	<%
		if(!igec.util.Tool.IsEmpty(request.getParameter("getFun"))){
	%>
	if(window.opener!=null){
		if(typeof(window.opener.<%=request.getParameter("getFun")%>)!="undefined"){
			var lsSelect = window.opener.<%=request.getParameter("getFun")%>();
			if(lsSelect!=null){
				lsSelect = "," + lsSelect + ",";
				var loObjs = document.all.tags("input");
				if(typeof(loObjs.length)=="undefined"){
					if(lsSelect.indexOf(","+loObjs.value+",")>=0){
						loObjs.checked = true;
					}
				}else{		
					for(var i=0;i<loObjs.length;i++){
						if(loObjs[i].type=="checkbox" && typeof(loObjs[i].group)!="undefined"){
							if(lsSelect.indexOf(","+loObjs[i].value+",")>=0){
								loObjs[i].checked = true;
							}
						}
					}
				}
			}
		}
	}else{
		alert("系统不支持此操作!");
	}
	<%
	}
	%>
}
function setSearch(strResult){
	document.getElementById("searchTj").value = strResult;
	searchForm.submit();
}
//-->
</script>
</head>

<body topmargin="5" onload="resizeWin('objBody');init();">
<table border="0" name="objBody" id="objBody" width="600" cellpadding="2" cellspacing="1" align="center" class="PopTable">
 <tr>
    <td class="PopTableHeader">&nbsp;选择待接收信息的会员 <input type="checkbox" name="selectall" id="selectall" onclick="javascript:checkPageBox(this,'recUser');"> <label for="selectall">全选</a></td>
    </td>
  </tr>
  <tr height="30">
    <td nowrap class="PopTableData">
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
    <%
    	String strCardList[][] = igec.site.base.business.DataUtilBusiness.getValues("SELECT a.CARDID,b.NICKNAME FROM TAB_MEBCARD a,TAB_IGECMEBADV b WHERE a.CARDID<>'' AND a.MEBID='" + user.getStrUserId() + "' AND a.CARDID=b.MEBID ORDER BY a.XH");
    %>
    	<!--<tr><td class="PopTableLittleHeader" colspan="4">&nbsp;某某分类</td></tr>-->
    	<%
    		if(strCardList!=null){
    			for(int i=0;i<strCardList.length;){
    				out.println("<tr>");
    				for(int n=0;n<5;n++){
    					if(i<strCardList.length)
    						out.println("<td class=\"PopTableData\"><input type=\"Checkbox\" name=\"recUser\" id=\"recUser" + strCardList[i][0] + "\" group=\"recUser\" value=\"" + strCardList[i][0] + "\" label=\"" + strCardList[i][1] + "\"> <label for=\"recUser" + strCardList[i][0] + "\">" + strCardList[i][1] + "</label></td>");
    					else
    						out.println("<td class=\"PopTableData\">&nbsp;</td>");
    					i++;
    				}
    				out.println("</tr>");
    			}
    		}
    	%>    	
    </table>
    </td>
  </tr>
  <tr align="center">
    <td nowrap class="PopTableControl">
      <input type="button" value="确 定" class="BigButton" style="cursor:hand" title="" onclick="javascript:setRecUserList();">
      <input type="button" value="关 闭" class="BigButton" style="cursor:hand" onClick="javascript:window.close();">
    </td>
  </tr>
</table>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -