You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

93 lines
3.4 KiB

<%@ page language="java" import="java.util.*" contentType="text/html;charset=gb2312"%>
<jsp:useBean id="sn" scope="page" class="com.bean.SystemBean" />
<jsp:useBean id="tb" scope="page" class="com.bean.HzpBean" />
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
String dir=sn.getDir();
%>
<HTML><HEAD><TITLE><3E><>̨<EFBFBD><CCA8><EFBFBD><EFBFBD><EFBFBD><EFBFBD></TITLE>
<LINK href="<%=basePath %><%=dir %>/images/Admin_Style.css" type=text/css rel=stylesheet>
<LINK href="<%=basePath %><%=dir %>/images/style.css" type=text/css rel=stylesheet>
<SCRIPT language=JavaScript src="<%=basePath %><%=dir %>/images/Common.js"></SCRIPT>
<STYLE type=text/css>
BODY {
MARGIN-LEFT: 0px; BACKGROUND-COLOR: #ffffff
}
.STYLE1 {color: #ECE9D8}
</STYLE>
</HEAD>
<script type="text/javascript">
function del()
{
pageform.submit();
}
</script>
<%
String message = (String)request.getAttribute("message");
if(message == null){
message = "";
}
if (!message.trim().equals("")){
out.println("<script language='javascript'>");
out.println("alert('"+message+"');");
out.println("</script>");
}
request.removeAttribute("message");
%>
<%
String member=(String)session.getAttribute("member");
if(member==null){
response.sendRedirect(path+"/error.jsp");
}
else{
String ddid=request.getParameter("ddid");
List pagelist3=tb.gegComMethod("select sale.dz,prep.* from sale,prep where prep.ddid='"+ddid+"' and prep.title=sale.title order by prep.id desc",11);
%>
<BODY >
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD align="left" vAlign=top >
<table width='100%' cellspacing='1' cellpadding='3' bgcolor='#CCCCCC' class="tablewidth">
<tr class="head">
<td width="10%" align="center"><3E><><EFBFBD><EFBFBD></td>
<td align="center"><3E><>Ʒ<EFBFBD><C6B7><EFBFBD><EFBFBD></td>
<td align="center"><3E>۸<EFBFBD></td>
<td align="center"><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></td>
<td align="center"><3E>ͻ<EFBFBD>ʱ<EFBFBD><CAB1></td>
<td align="center"><3E>ͻ<EFBFBD><CDBB>ص<EFBFBD></td>
<td align="center"><3E><>ϵ<EFBFBD><CFB5></td>
<td align="center"><3E><>ϵ<EFBFBD><CFB5>ʽ</td>
</tr>
<%float f=0;
if(!pagelist3.isEmpty()){
for(int i=0;i<pagelist3.size();i++){
List pagelist2 =(ArrayList)pagelist3.get(i);
f+=Float.parseFloat(pagelist2.get(0).toString())*Integer.parseInt(pagelist2.get(3).toString());
%>
<tr class="trA" onMouseOver="this.className='trB'" onMouseOut="this.className='trA'">
<td width='10%' align="center" style="border-bottom:1px dotted #ccc;"><%=i+1 %></td>
<td align="center" bgcolor="#FFFFFF" style="border-bottom:1px dotted #ccc;"><%=pagelist2.get(2).toString() %></td>
<td align="center" bgcolor="#FFFFFF" style="border-bottom:1px dotted #ccc;"><%=pagelist2.get(0).toString() %></td>
<td align="center" bgcolor="#FFFFFF" style="border-bottom:1px dotted #ccc;"><%=pagelist2.get(3).toString() %></td>
<td align="center" bgcolor="#FFFFFF" style="border-bottom:1px dotted #ccc;"><%=pagelist2.get(4).toString() %></td>
<td align="center" bgcolor="#FFFFFF" style="border-bottom:1px dotted #ccc;"><%=pagelist2.get(5).toString() %></td>
<td align="center" bgcolor="#FFFFFF" style="border-bottom:1px dotted #ccc;"><%=pagelist2.get(6).toString() %></td>
<td align="center" bgcolor="#FFFFFF" style="border-bottom:1px dotted #ccc;"><%=pagelist2.get(7).toString() %></td>
</tr>
<%
}}
%>
</table>
</TD>
</TR>
</TBODY>
</TABLE>
<p align=center><3E><><EFBFBD><EFBFBD><EFBFBD>ܽ<EFBFBD><DCBD><%=f %> Ԫ
</BODY>
<%} %>
</HTML>