prinfSfzyCity.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="java.util.ArrayList"%>
  5. <%@ page import ="com.domain.CsxxForm"%>
  6. <%@ page import="com.tool.Chinese"%>
  7. <html>
  8. <head>
  9. <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
  10. <title>具体城市</title>
  11. <style type="text/css">
  12. <!--
  13. body {
  14. background-color: #000000;
  15. margin-left: 0px;
  16. margin-top: 0px;
  17. }
  18. td{
  19. font-size:9pt;
  20. }
  21. .style2 {font-size: 16}
  22. -->
  23. </style>
  24. </head>
  25. <%String province=Chinese.str(request.getParameter("province"));
  26. List list=(List)session.getAttribute("aa");%>
  27. <body>
  28. <table width="579" border="0" cellpadding="0" cellspacing="0">
  29.   <tr>
  30.     <td align="left" valign="top" bgcolor="#FFFFFF"> <table width="579"   border="0" cellpadding="0" cellspacing="0">
  31.         <tr>
  32.           <td align="left" valign="top" bgcolor="#FFFFFF"><table width="579" border="0" cellpadding="0" cellspacing="0">
  33.               <tr>
  34.           
  35.                 <td width="100%" height="23" bgcolor="#FFFFFF"> <div align="center" class="style2"><%=province%></div></td>
  36.               </tr>
  37.  
  38.  
  39.  
  40.  
  41.               <tr align="center" valign="top" bgcolor="#FFFFFF">
  42.                 <td height="454" colspan="3">
  43.                   <table width="100%"  border="0" cellspacing="0" cellpadding="0">
  44.                     <tr>
  45.                       <td>&nbsp;</td>
  46.                     </tr>
  47.                   </table>
  48.                   <table width="458" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#FFFFFF" bordercolordark="#FFFFFF" bordercolorlight="#333333">
  49.                     <tr align="center" bgcolor="#FFFFFF">
  50.                      
  51.                       <td width="63">城市名称</td>
  52.                       <td width="54">邮编</td>
  53.                       <td width="66">电话区号</td>
  54.    <td width="63">城市名称</td>
  55.                       <td width="54">邮编</td>
  56.                       <td width="66">电话区号</td>
  57.                     </tr>
  58.                     <%for(int i=0;i<list.size();i++){
  59. CsxxForm form =(CsxxForm)list.get(i);
  60. if(i % 2 ==0 ){
  61. %>
  62.                     <tr bgcolor="#FFFFFF">
  63.                       
  64.                       <td><%=form.getCsxx_csmc()%></td>
  65.                       <td><%=form.getCsxx_yb()%></td>
  66.                       <td><%=form.getCsxx_dhph()%></td>
  67. <%}else{%>
  68.   <td><%=form.getCsxx_csmc()%></td>
  69.                       <td><%=form.getCsxx_yb()%></td>
  70.                       <td><%=form.getCsxx_dhph()%></td>
  71.                     </tr>
  72.                     <%}
  73. }%>
  74. <%if(list.size()%2 ==1){%>
  75.   <td>&nbsp;</td>
  76.                       <td>&nbsp;</td>
  77.                       <td>&nbsp;</td>
  78.                     </tr>
  79. <%}%>
  80.                   </table>
  81.              <p>
  82.  
  83.                 
  84.               </table></td>
  85.         </tr>
  86.       </table></td>
  87.   </tr>
  88. </table>
  89. </body>
  90. </html>