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

📄 showmypic.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");
	
	String fun=igec.util.Tool.getStr(request.getParameter("fun"));//用户自定义函数,返回一个参数path 
	java.util.ArrayList list=new java.util.ArrayList();
    igec.site.base.bean.LongSysObj lo=new  igec.site.base.bean.LongSysObj();  
    lo.setStrValue1(user.getStrUserId());  
    int	flag=site.business.MebPicInfoBusiness.getManageLists(list, lo,request);
%>
<!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>
<style type="text/css">
<!--
.button1 {	BORDER-TOP-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px; BACKGROUND: url(<%=strOfficeStyle%>/images/cxt_zc_image0022.gif); BORDER-BOTTOM-WIDTH: 0px; MARGIN: 0px; WIDTH: 118px; CURSOR: pointer; HEIGHT: 31px; BORDER-RIGHT-WIDTH: 0px
}  
body{font-size: 12px} 
 
-->
</style>



<script>
 function setPic(pic){
     var path= pic;
     if(path!=''){  
	 <%if(fun!=null&&!fun.equals("")){%> 
       window.opener.<%=fun%>(path);
	 <%}else{%>
		 alert("您没有提供返回函数!");
	     return;
	 <%}%>
      window.close();   
    }
    else 
      alert('请选择图片'); 
 } 
</script>
</head>  
 <body>
 
 
  <input type='hidden' name="pic" id="pic" /> 
  <table border="1" width="100%" id="table2" cellspacing="1" style="border-collapse: collapse" bordercolor="#EAEAEA">
  <tr>
  <th>
   请选择您的图片
  </th>
  </tr>
  </table>
  <%if(list!=null&&list.size()>0){ 
      for(int i=0;i<list.size();i++){
         site.bean.MebPicInfoObj info=(site.bean.MebPicInfoObj)(list.get(i));  
         if(i!=0&&i%4==0){%>
          	   </tr>
               </table>
	    <% }
          if(i%4==0){ %>     
         <table border="1" width="100%" id="table2" cellspacing="1" style="border-collapse: collapse" bordercolor="#EAEAEA">
	      <tr>
	   <% } %>
	
		 <td align="center" height="100" width="100">
           <a onclick="javascript:setPic('<%=info.getFurl()%>');" style="cursor:hand"><img src="<%=site.bean.SitePara.strVirtualName+info.getFurl()%>"  onload="javascript:if(this.height>this.width){this.height=80;}else{this.width=80;}"></a>
		 </td>
     <% } %>
       </tr>
       </table> 
	   <br>
	   <%=igec.util.Tool.IsEmpty(lo.getStrValue15())?"&nbsp;":lo.getStrValue15()%>
    <%}else{%>
          您没有图片
	<%}%> 
  <table width="100%" border="0" cellspacing="0" cellpadding="0">
   <tr>
     <td width="13%">&nbsp;</td> 
         &nbsp;&nbsp;&nbsp; <input type="button" style="button1" name="btnClose" onclick="javascript:window.close();" value="关闭" /></td>
      </tr> 
  </table> 
 </body>
 </html>

⌨️ 快捷键说明

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