khtsSelectPicture.jsp
上传用户:quasar007
上传日期:2022-08-11
资源大小:4067k
文件大小:3k
- <%@ page contentType="text/html; charset=gb2312" errorPage=""%>
- <%@ page import="java.sql.*"%>
- <%@ page import="java.util.List"%>
- <%@ page import="com.domain.CountForm"%>
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
- <title>按满意程度显示</title>
- <style type="text/css">
- <!--
- body {
- background-color: #000000;
- margin-left: 0px;
- margin-top: 0px;
- }
- td{
- font-size:9pt;
- }
- -->
- </style>
- </head>
- <body>
- <table width="579" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
- <tr>
- <td> </td>
- </tr>
- </table>
- <table width="579" border="0" cellpadding="0" cellspacing="0"> <tr>
- <td align="left" valign="top" bgcolor="#FFFFFF">
- <table width="579" height="487" border="0" cellpadding="0" cellspacing="0"> <tr>
- <td align="left" valign="top" bgcolor="#FFFFFF">
- <table width="579" border="0" cellpadding="0" cellspacing="0">
- <tr>
- <td width="2%" height="28"> </td>
- <td width="9%" background="images/circle.jpg"> </td>
- <td width="89%" bgcolor="#FFFFFF"><span style="font-size:11pt">按投诉满意程度显示</span></td>
- </tr>
- <tr style="line-height:2px">
- <td width="2%" height="5"> </td>
- <td height="5" colspan="2" bgcolor="#D4D0C8"> </td>
- </tr>
- <tr align="center" valign="top" bgcolor="#FFFFFF">
- <td height="454" colspan="3">
- <div align="center">
- <table width=100% align="center" cellpadding=0 cellspacing=0 >
- <tr>
- <td width=90 height=100% valign=top>
- <tr>
- <%List list=(List)request.getAttribute("listMyd");
- float count=Integer.parseInt((String)request.getAttribute("count"));
- for(int i=0;i<list.size();i++){
- CountForm form=(CountForm)list.get(i);
- float number=form.getNumber().intValue();
- float percent=number/count*100;
- %>
- <td width="150px" valign="bottom">
-
- <table align="center" cellpadding=0 cellspacing=0 >
- <tr>
- <td width="15%"></td>
- <td height="<%=percent%>" bgcolor="#CCCFFF" width="20%"></td>
- <td width="15%"></td>
- </tr>
- <tr height="50px">
- <td colspan="3" align="center">
- <%if(form.getMyd().equals("否")){%>
- 没有受理<br > 占<%=percent%>% <%}else{%>
- <%=form.getMyd()%><br >
- 占<%=percent%>% <%}%></td>
- </tr>
- </td>
- </tr>
- </table>
- </td>
- <%}%>
- </tr>
- </td>
- </tr>
- </table>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </body>
- </html>