📄 cardgl.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");
java.util.ArrayList list = (java.util.ArrayList)request.getAttribute("list");
igec.site.base.bean.LongSysObj lo = (igec.site.base.bean.LongSysObj)request.getAttribute("lo");
if(lo==null || list==null){
return;
}
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=GBK" />
<title> 会员办公室--<%=site.bean.SitePara.strWebTitle%> </title>
<script language="javascript" src="<%=site.bean.SitePara.strVirtualName%>/js/clear.jsp"></script>
<script language="JavaScript" src="<%=site.bean.SitePara.strVirtualName%>/js/public.js"></script>
<script language="javascript" src="<%=site.bean.SitePara.strVirtualName%>/js/xmlhttp.js"></script>
<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" />
<link rel="stylesheet" rev="stylesheet" href="<%=strOfficeStyle%>/css/css.css" type="text/css" />
<script type="text/javascript" src="<%=site.bean.SitePara.strVirtualName%>/member/js/tree.jsp?baseurl=<%=strOfficeStyle%>"></script>
<link rel="shortcut icon" href="<%=site.bean.SitePara.strVirtualName%>/favicon.ico">
</head>
<script>
function openfb(){ window.open('<%=site.bean.SitePara.strVirtualName%>/member/stand/card/cardfb.jsp','newwindow','width=500,height=500,,toolbar=no,menubar=no,scrollbars=yes,resizable=yes,location=no,status=no');
}
function upWindow(id){
window.open('<%=site.bean.SitePara.strVirtualName%>/member/stand/card/cardxg.jsp?iid=<%=strMenuId%>&id='+id,'newwindow','width=500,height=500,toolbar=no,menubar=no,scrollbars=yes,resizable=yes,location=no,status=no');
}
</script>
<body>
<%@ include file="../top.jsp"%>
<div id="screen">
<!--content-->
<div id="contentfloat">
<div id="content">
<script>
function upcid(){
var strResult = getSelectRsFromForm("RSID",form1);
if("ERROR"==strResult){
alert("请选择待更新名片!");
return;
}
var classid=document.getElementById("classid").value;
if(classid==""){
alert("请选择待分类!");
return;
} __XmlHttpPool__.PostRemoteData("<%=site.bean.SitePara.strVirtualName%>/member/card.do?opt=opcid&nr="+Math.random(),on_aJax_GetReceiveData,"id="+strResult+"&classid="+classid);
}
function deleteGQ(){
var strResult = getSelectRsFromForm("RSID",form1);
if("ERROR"==strResult){
alert("请选择待删除名片!");
return;
}
delRs("<%=site.bean.SitePara.strVirtualName%>/member/card.do?opt=opd&id=" + strResult);
}
</script>
<form name="form1" id="form1" >
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td valign="top">
<div class="TableContenttop"><img src="images/bg_fd790d.gif" width="5" height="2" /></div>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="79%" class="TableContentTitle">管理名片夹信息</td>
<td width="21%" class="TableContentTitle "><input type="button" name="btnfb" onclick="openfb()" value="新增名片" /></td>
</tr>
<tr style="display:none">
<td colspan="2" valign="middle">
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="1" class=tx_box>
<tr>
<td height="30" class=tx_title> 友情提示:</td>
</tr>
<tr>
<td class=tx_content>您可先选择信息前的 <input type="checkbox" name="checkbox" value="checkbox" /> ,再一次进行删除功能,注意:删除操作不可恢复,请慎重操作。</span></td>
</tr>
</table></td>
</tr>
<tr>
<td height="50" colspan="2" valign="middle"><table width="90%" border="0" align="center" cellpadding="0" cellspacing="0">
</table>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="20">
<script>
<!--
function checkall(){
var arr=document.getElementsByTagName("input");
for(var i=0;i<arr.length;i++){
if(arr[i].type=="checkbox"){
if(arr[i].value!="show"){
arr[i].checked=true;
}
}
}
}
function recheckall(){
var arr=document.getElementsByTagName("input");
for(var i=0;i<arr.length;i++){
if(arr[i].type=="checkbox"){
arr[i].checked=false;
}
}
}
//-->
</script>
<input type="button" value="择选全部" onclick="javascript:checkall();">
<input type="button" value="撤销选择" onclick="javascript:recheckall();">
<input type="button" name="Submit2" onclick="javascript:deleteGQ()" value="删除选择" />
<span class="font_red"> <input type="button" name="btnmove" onclick="javascript:upcid()" value="移动到分类-->" /> <select id="classid" name="classid">
<option value="" selected>----请选择分类----</option>
<script src="<%=site.bean.SitePara.strVirtualName%>/dynamic/js/memberclass.jsp?posid=S00051&typeflag=0&mebid=<%=user.getStrUserId()%>" ></script>
</select></td>
</tr>
</table></td>
</tr>
<tr>
<td height="110" colspan="2" valign="top">
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="1" class=list_lb_loca>
<tr>
<td width="5%" class="list_lb_title"> </td>
<td width="35%" align="center" class="list_lb_title">公司名称</td>
<td width="20%" align="center" class="list_lb_title">分类</td>
<td width="20%" align="center" class="list_lb_title">更新时间</td>
<td width="20%" align="center" class="list_lb_title">管理</td>
</tr>
<%
if(list!=null&&list.size()>0)
for(int i=0;i<list.size();i++){
site.bean.MebCardObj info=(site.bean.MebCardObj)(list.get(i));
if(!info.getCardid().equals("")){
String strMember[]=igec.site.base.business.DataUtilBusiness.getValue("SELECT COMPANY,NICKNAME,JOBSEAT,SEX,MOBILE,EMAIL,FAXTEL,SITEURL FROM TAB_IGECMEBADV WHERE MEBID='"+info.getCardid()+"'");
//System.out.println("cardgl.jsp --> Sql= SELECT COMPANY,NICKNAME,JOBSEAT,SEX,MOBILE,EMAIL,FAXTEL,SITEURL FROM TAB_IGECMEBADV WHERE MEBID='"+info.getCardid()+"'");
if(strMember.length>0){
info.setCopname(strMember[0].equals("")?strMember[1]:strMember[0]);
}
}
%>
<tr>
<td height="28" class=list_lb_content>
<input type="checkbox" name="RSID" value="<%=info.getId()%>" />
</td>
<td class=list_lb_content><%=info.getCopname()%></td>
<td class=list_lb_content><%=info.getClassid().equals("")?"未分类":igec.site.base.business.DataUtilBusiness.getFieldValue("TITLE","TAB_MEBCLASS","where ID='"+info.getClassid()+"'")%></td>
<td class=list_lb_content><%=igec.util.Tool.getStrTime(info.getUpdtime(),1)%></td>
<td class=list_lb_content>
<% if(!info.getCardid().equals("")){%>
<font onclick="javascript:upWindow('<%=info.getId()%>');" onmouseover="this.style.cursor='hand';">编辑
</font>
<%} else {%>
--
<%}%>
</td>
</tr>
<% } %>
</table>
<center><%=lo.getStrValue15().equals("")?"":lo.getStrValue15()%></center> </td>
</tr>
</table></td>
</tr>
</table>
</div>
<div>
</form>
</div>
</div>
<!--end/content-->
<!--left-->
<div id="leftmenu">
<!--menu-->
<div id="tree1"></div>
<!--end/menu-->
</div>
<!--end/left-->
</div>
<script language="javascript" src="<%=strOfficeStyle%>/menu.jsp?iid=<%=request.getParameter("iid")%>"></script>
<script type="text/javascript">treeInit();</script>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="2" bgcolor="#ff7b0f"></td>
</tr>
</table>
<%@ include file="../bot.jsp"%>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -