skhfkMydShow.jsp
上传用户:quasar007
上传日期:2022-08-11
资源大小:4067k
文件大小:3k
源码类别:

企业管理

开发平台:

Java

  1. <%@ page contentType="text/html; charset=gb2312"  errorPage=""%>
  2. <%@ page import="java.sql.*"%>
  3. <%@ page import="java.util.List"%>
  4. <%@ page import="com.domain.CountForm"%>
  5. <html>
  6. <head>
  7. <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
  8. <title>按满意程度显示</title>
  9. <style type="text/css">
  10. <!--
  11. body {
  12. background-color: #000000;
  13. margin-left: 0px;
  14. margin-top: 0px;
  15. }
  16. td{
  17. font-size:9pt;
  18. }
  19. -->
  20. </style>
  21. </head>
  22. <body> 
  23. <table width="579"  border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF"> 
  24.   <tr> 
  25.     <td>&nbsp;</td> 
  26.   </tr> 
  27. </table> 
  28. <table width="579" border="0" cellpadding="0" cellspacing="0"> <tr> 
  29.    <td align="left" valign="top" bgcolor="#FFFFFF"> 
  30.     <table width="579" height="487"  border="0" cellpadding="0" cellspacing="0"> <tr> 
  31.      <td align="left" valign="top" bgcolor="#FFFFFF"> 
  32.      <table width="579" border="0" cellpadding="0" cellspacing="0"> 
  33.         <tr> 
  34.          <td width="2%" height="28">&nbsp;</td> 
  35.          <td width="9%" background="images/circle.jpg">&nbsp;</td> 
  36.          <td width="89%" bgcolor="#FFFFFF"><span style="font-size:11pt">按反馈满意程度显示</span></td> 
  37.        </tr> 
  38.         <tr style="line-height:2px"> 
  39.          <td width="2%" height="5">&nbsp;</td> 
  40.          <td height="5" colspan="2" bgcolor="#D4D0C8">&nbsp;</td> 
  41.        </tr> 
  42.         <tr align="center" valign="top" bgcolor="#FFFFFF"> 
  43.          <td height="454" colspan="3"> 
  44.           <div align="center"> 
  45.            <table width=100% align="center" cellpadding=0 cellspacing=0 > 
  46.          <tr> 
  47.                <td width=90 height=100% valign=top>  
  48.              <tr> 
  49.               <%List list=(List)request.getAttribute("listMyd");
  50. float count=Integer.parseInt((String)request.getAttribute("count"));
  51. for(int i=0;i<list.size();i++){
  52. CountForm form=(CountForm)list.get(i);
  53. float number=form.getNumber().intValue();
  54. float percent=number/count*100;
  55. %> 
  56.          <td width="150px" valign="bottom"> 
  57.           &nbsp; 
  58.          <table align="center" cellpadding=0 cellspacing=0 > 
  59.                <tr> 
  60.              <td width="15%"></td> 
  61.              <td height="<%=percent%>" bgcolor="#CCCFFF" width="20%"></td> 
  62.              <td width="15%"></td> 
  63.            </tr> 
  64.                <tr height="50px"> 
  65.              <td colspan="3" align="center"> <%=form.getMyd()%><br > 
  66.                    占<%=percent%>%</td> 
  67.            </tr> 
  68.                </td> 
  69.                 </tr> 
  70.                  </table> 
  71.          </td> 
  72.           <%}%> 
  73.          </tr> 
  74.           </td> 
  75.            </tr> 
  76.             </table> 
  77.       </table> 
  78.     </td> 
  79.      </tr> 
  80.       </table> 
  81.   </td> 
  82.    </tr> 
  83.     </table> 
  84. </body>
  85. </html>