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

📄 retrievesubarearesult.jsp

📁 JSP物业管理系统 一份比较完整的物业管理系统源码。 对于初学者可以有一定的借鉴。
💻 JSP
📖 第 1 页 / 共 2 页
字号:
<!-- 系统名称:光大花园物业管理系统 -->
<!-- 程序名称:RetrieveSubAreaResult.jsp -->
<!-- 程序类型:jsp文件 -->
<!-- 功能简述:查询分区资料结果页面 -->
<!-- 作    者:韩立锋 -->
<!-- 公    司:长春中联	-->
<!-- 完成时间:2001/08/24 -->
<!-- 修改人  :毕锋 -->
<!-- 修改内容:页面 -->
<!-- 修改时间:2001/11/19 -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>资料管理-小区资料</title>
<link rel="stylesheet" href="/pmsApp/css/wuye.css" type="text/css">
<script language="JavaScript" src="/pmsApp/common/wuye.js"></script>
<%
String flag = (String) request.getAttribute("flag");
String message = (String) request.getAttribute ("statusMessage");
//获得小区资料基本信息

String number = (String)request.getAttribute("number");
Vector subareanumb = (Vector) request.getAttribute("subareanumb");
Vector subareaname = (Vector) request.getAttribute("subareaname");					//文件编号
Vector subareadescribe= (Vector) request.getAttribute("subareadescribe");	
Vector path = (Vector) request.getAttribute("path");	
Vector publicservice = (Vector) request.getAttribute("publicservice");	
Vector hirerate = (Vector) request.getAttribute("hirerate");	
Vector salerate = (Vector) request.getAttribute("salerate");	
Vector firefighting = (Vector) request.getAttribute("firefighting");	
Vector security = (Vector) request.getAttribute("security");	
Vector remark = (Vector) request.getAttribute("remark");

%>
<script lanuage="JavaScript">
<!--
function trover(trid){
	trid.className="trover";
}
function trout(trid){
	trid.className="trout";
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.0
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && document.getElementById) x=document.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function Del(form2) {
	var bool = true;
    var del2="☆";
	var del ="※";
    <%if(!(flag.equals("1084"))){%> document.form2.inputString.value="numb"+del2+"<%=number%>"+del+"subareanumb"+del2+"<%=subareanumb.elementAt(0)%>"+del;
	<% } %>
    if (bool) {
		if (confirm("您确认要删除该区资料么?")==true) {
			document.form2.submit();
		}
}	
}
function Mod(form1) {
	document.form1.submit();
}

function JustSoPicWindow(imageName,imageWidth,imageHeight,alt,bgcolor,hugger) {

// by E Michael Brandt of ValleyWebDesigns.com - Please leave this comment intact.

	alt=alt+"  ** 单击图片关闭本窗 **"
	if (bgcolor=="") {
		bgcolor="#FFFFFF";
	}
	var adj=10
	var w = screen.width;
	var h = screen.height;
	var byFactor=1;

    if(w<740){
      var lift=0.90;
    }
    if(w>=740 & w<835){
      var lift=0.91;
    }
    if(w>=835){
      var lift=0.93;
    }

	if (imageWidth>w){	
		byFactor = w / imageWidth;			
		imageWidth = w;
		imageHeight = imageHeight * byFactor;
	}
	if (imageHeight>h-adj){
		byFactor = h / imageHeight;
		imageWidth = (imageWidth * byFactor);
		imageHeight = h; 
	}
	   
	var scrWidth = w-adj;
	var scrHeight = (h*lift)-adj;

	if (imageHeight>scrHeight){
		imageHeight=imageHeight*lift;
		imageWidth=imageWidth*lift;
	}

	var posLeft=0
	var posTop=0
	
	if (hugger=="hug image") {
		posTop = (scrHeight-imageHeight)/2;
		posLeft = ((w-imageWidth)/2);
		scrHeight = imageHeight-adj;
		scrWidth = imageWidth-adj;
 	}
	
	imageHeight=imageHeight-adj;
	imageWidth=imageWidth-adj;

	newWindow = window.open("","newWindow","width="+scrWidth+",height="+scrHeight+",left="+posLeft+",top="+posTop);
	newWindow.document.open();
	newWindow.document.write('<html><title>'+alt+'</title><body leftmargin="0" topmargin="0" marginheight="0" marginwidth="0" bgcolor='+bgcolor+' onBlur="self.close()" onClick="self.close()">');  
	newWindow.document.write('<table width='+imageWidth+' border="0" cellspacing="0" cellpadding="0" align="center" height='+scrHeight+' ><tr><td>');
	newWindow.document.write('<img src='+imageName+' width='+imageWidth+' height='+imageHeight+' title=\"单击图片关闭本窗\" >'); 
	newWindow.document.write('</td></tr></table></body></html>');
	newWindow.document.close();
	newWindow.focus();
}
//-->


</script>

</head>
<body bgColor="#d4d0c8" leftMargin="0" topMargin="0" vLink="#003399" marginwidth="0" marginheight="0" onLoad="MM_preloadImages('/pmsApp/images/button_modify_over.gif','/pmsApp/images/button_del_over.gif','/pmsApp/images/button_query_over.gif')" >
<%if(flag.equals("1084")){%>
<table width="100%" border="0" cellspacing="0" cellpadding="2">
  <tr> 
    <td height="28" background="/pmsApp/images/toolbar2.gif" valign="top"><img src="/pmsApp/images/blank.gif" width="10" height="1"><img src="/pmsApp/images/button_new_gray.gif" width="55" height="20"><img src="/pmsApp/images/button_modify_gray.gif" width="55" height="20"><img src="/pmsApp/images/button_del_gray.gif" width="55" height="20"><img src="/pmsApp/images/button_split.gif" width="8" height="20"><img name="Image13" border="0" src="/pmsApp/images/button_query_gray.gif" width="55" height="20" alt="条件检索"><img src="/pmsApp/images/button_split.gif" width="8" height="20"></td>
  </tr>
</table>
<p>&nbsp;</p>
  <p>&nbsp;</p>
  <p>&nbsp;</p>
  <p>&nbsp;</p>
  <table width="80%" border="1"  align="center" bgcolor="#FFFFFF" bordercolorlight="#808080" bordercolordark="#FFFFFF" cellspacing="0" cellpadding="0">
    <tr> 
      <td align="center" nowrap bgcolor="#FFFFFF" height="40">
		<center>
          <%=message%>
		</center>
	  </td>
    </tr>
    <tr> 
      <td valign="top" colspan="3" height="2"> 
        <table width="100%" border="1"  align="center" bgcolor="#d4d0c8" bordercolorlight="#808080" bordercolordark="#FFFFFF" cellspacing="0" cellpadding="2">
          <tr> 
            <td align="center" height="2">
            	<a href="/pmsApp/baseinfo/RetrieveByCInput.jsp"><img src="/pmsApp/images/button_back.gif" width="55" height="20" name="Image1" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image1','','/pmsApp/images/button_back_over.gif',1)" border="0"></a>
            </td>
          </tr>
        </table>
      </td>
    </tr>
  </table>
<%}else{%>
<%
//获得小区资料附表信息
Vector vecNum = (Vector) request.getAttribute("vecNum");					//文件编号
Vector file = (Vector) request.getAttribute("file");						//文件路径
Vector vecPicname = (Vector) request.getAttribute("picname");				//文件名称
Vector vecPicdescribe = (Vector) request.getAttribute("picdescribe");		//文件说明

for (int k=0;k<subareadescribe.size();k++) { 
	String tmp = (String)subareadescribe.elementAt(k);
	int index = 0;
	index=tmp.indexOf("\n");
	while (index!=-1){
		tmp = tmp.substring(0,index-1)+"<br>"+tmp.substring(index+1,tmp.length());
		index=tmp.indexOf("\n");
	}
	subareadescribe.set(k,tmp);

⌨️ 快捷键说明

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