CptRpCapitalTypeSum.jsp
2.51 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<%@ page import="weaver.general.Util" %>
<%@ page import="java.util.*" %>
<jsp:useBean id="CptRpSumManage" class="weaver.cpt.report.CptRpSumManage" scope="page" />
<jsp:useBean id="CapitalTypeComInfo" class="weaver.cpt.maintenance.CapitalTypeComInfo" scope="page"/>
<%@ page language="java" contentType="text/html; charset=UTF-8" %> <%@ include file="/systeminfo/init_wev8.jsp" %>
<HTML><HEAD>
<LINK href="/css/Weaver_wev8.css" type=text/css rel=STYLESHEET>
</head>
<%
String imagefilename = "/images/hdReport_wev8.gif";
String titlename = SystemEnv.getHtmlLabelName(352,user.getLanguage())+":"+SystemEnv.getHtmlLabelName(63,user.getLanguage());
String needfav ="1";
String needhelp ="";
%>
<BODY>
<%@ include file="/systeminfo/TopTitle_wev8.jsp" %>
<%
CptRpSumManage.setOptional("capitaltypeid") ;
CptRpSumManage.getRpResult() ;
%>
<TABLE class=Form width="100%">
<TBODY>
<TR class=Section>
<TH><%=SystemEnv.getHtmlLabelName(324,user.getLanguage())%></TH>
</TR>
<TR class=separator>
<TD class=Sep1></TD></TR></TBODY></TABLE>
<TABLE class=ListShort width="100%">
<COLGROUP>
<COL align=left width="20%">
<COL align=left width="50%">
<COL align=right width="15%">
<COL align=right width="15%">
<TBODY>
<TR class=Header>
<TH><%=SystemEnv.getHtmlLabelName(63,user.getLanguage())%></TH>
<TH><%=SystemEnv.getHtmlLabelName(535,user.getLanguage())%></TH>
<TH><%=SystemEnv.getHtmlLabelName(363,user.getLanguage())%></TH>
<TH>%</TH>
</TR>
<%
int i=0;
while(CptRpSumManage.next()) {
String resultid = CptRpSumManage.getResultID();
String resultcount = CptRpSumManage.getResultCount();
String resultpercent = CptRpSumManage.getResultPercent() ;
String imagepercent = CptRpSumManage.getImagePercent() ;
if(i==0){
i=1;
%>
<TR class=DataLight>
<%
}else{
i=0;
%>
<TR class=DataDark>
<%
}
%>
<TD><%=Util.toScreen(CapitalTypeComInfo.getCapitalTypename(resultid),user.getLanguage())%></TD>
<TD>
<TABLE height="100%" cellSpacing=0 width="100%">
<TBODY>
<TR>
<a href="/cpt/search/SearchOperation.jsp?capitaltypeid=<%=resultid%>&operation=search">
<TD class=redgraph <%if(Util.getFloatValue(imagepercent.substring(0,imagepercent.length()-1),0)>=1){%>width="<%=imagepercent%>"<%} else {%>width="1" <%}%> style="CURSOR:HAND"> </TD></a>
<TD> </TD>
</TR>
</TBODY>
</TABLE>
</TD>
<TD><%=resultcount%></TD>
<TD><%=resultpercent%></TD>
</TR>
<% } %>
</TBODY>
</TABLE>
</BODY></HTML>