health_center_new.jsp
上传用户:yatiankong
上传日期:2014-05-16
资源大小:5604k
文件大小:10k
源码类别:

Applet

开发平台:

Java

  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  2. <%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*" errorPage="" %>
  3. <jsp:useBean id="health_centerBeans" class="MyFly.Bean.health_centerBeans" scope="request"/>
  4. <jsp:useBean id="health_centerBean" class="MyFly.Bean.health_centerBean" scope="request"/>
  5. <%@ include file ="top.jsp" %>
  6. <%
  7.     String index=request.getParameter("index");
  8. %>
  9. <style type="text/css">
  10. <!--
  11. p{text-indent:2em}
  12. -->
  13. </style>
  14. <%!
  15.  StringBuffer convert(StringBuffer sour){
  16. for(int i=0;i<sour.length();i++){
  17. if(sour.substring(i,i+1).equals("n")){
  18. sour.delete(i,i+1);
  19. sour.insert(i,"</p><p>");
  20. }
  21. }
  22. return sour;
  23. }
  24. %>
  25. <HTML><HEAD><TITLE>健康中心</TITLE>
  26. <STYLE type=text/css>
  27. A {
  28. TEXT-DECORATION: none
  29. }
  30. A:link {
  31. COLOR: #000000
  32. }
  33. A:visited {
  34. COLOR: #000000
  35. }
  36. A:active {
  37. COLOR: #000000
  38. }
  39. A:hover {
  40. COLOR: #ff6600; POSITION: relative; RIGHT: 0px; TOP: 1px
  41. }
  42. BODY {
  43.  FONT-SIZE: 9pt
  44. }
  45. TD {
  46. COLOR: #000000; FONT-FAMILY: 宋体; FONT-SIZE: 9pt; LINE-HEIGHT: 150%
  47. }
  48. INPUT {
  49. BACKGROUND-COLOR: #fffdfb; BORDER-BOTTOM: #b2c2d7 1px solid; BORDER-LEFT: #b2c2d7 1px solid; BORDER-RIGHT: #b2c2d7 1px solid; BORDER-TOP: #b2c2d7 1px solid; COLOR: #205064; FONT-SIZE: 9pt
  50. }
  51. BUTTON {
  52. FONT-SIZE: 9pt; HEIGHT: 20px
  53. }
  54. SELECT {
  55. FONT-SIZE: 9pt; HEIGHT: 20px
  56. }
  57. .border {
  58. BORDER-BOTTOM: #fb9f47 1px solid; BORDER-LEFT: #fb9f47 1px solid; BORDER-RIGHT: #fb9f47 1px solid; BORDER-TOP: #fb9f47 1px solid
  59. }
  60. .border2 {
  61. BACKGROUND: #dfe6ee; BORDER-BOTTOM: #b2c2d7 1px solid
  62. }
  63. .FootBg {
  64. BACKGROUND: #eaeaea
  65. }
  66. .tdbg {
  67. BACKGROUND: #eaeaea
  68. }
  69. .txt_css {
  70. }
  71. .title_lefttxt {
  72. }
  73. .tdbg_left {
  74. BACKGROUND: #f3f1f1; BORDER-BOTTOM: #fb9f47 1px solid; BORDER-LEFT: #fb9f47 1px solid; BORDER-RIGHT: #fb9f47 1px solid; BORDER-TOP: #fb9f47 1px solid
  75. }
  76. .title_left2 {
  77. }
  78. .tdbg_left2 {
  79. }
  80. .tdbg_leftall {
  81. BACKGROUND: #dfe6ee; BORDER-RIGHT: #b2c2d7 1px solid
  82. }
  83. .title_righttxt {
  84. }
  85. .tdbg_right {
  86. }
  87. .title_right2 {
  88. }
  89. .tdbg_right2 {
  90. }
  91. .tdbg_rightall {
  92. }
  93. .style6 {font-size: 14pt}
  94. .style9 {font-size: 12pt}
  95. </STYLE>
  96. <META content="text/html; charset=gb2312" http-equiv=Content-Type>
  97. <META content="MSHTML 5.00.3700.6699" name=GENERATOR>
  98. <BODY background="image/bk.jpg" leftMargin=0  topMargin=0 marginwidth="0" marginheight="0">
  99. <SCRIPT language=javascript src="file:///D|/&#30005;&#23376;&#21830;&#21153;&#32593;&#31449;&#25910;&#38598;dsdddfdggtrrtrrgrg/cankao/img/piao.js"></SCRIPT>
  100. <TABLE width=768 border=0 align=center cellPadding=0 cellSpacing=0 bgcolor="#d9eada">
  101.  
  102.   <TBODY>
  103.     <TR> 
  104.       <TD width="264" height="619" vAlign=top bgColor=#d5e7d7><BR> <TABLE cellSpacing=0 cellPadding=0 width=262 border=0>
  105.          
  106.           <TBODY>
  107.             <TR> 
  108.               <TD><IMG height=1 alt="" src="image/spacer.gif" 
  109.                   width=10 border=0></TD>
  110.               <TD><IMG height=1 alt="" src="image/spacer.gif" 
  111.                   width=20 border=0></TD>
  112.               <TD><IMG height=1 alt="" src="image/spacer.gif" 
  113.                   width=204 border=0></TD>
  114.               <TD><IMG height=1 alt="" src="image/spacer.gif" 
  115.                   width=28 border=0></TD>
  116.               <TD><IMG height=1 alt="" src="image/spacer.gif" 
  117.                   width=1 border=0></TD>
  118.             </TR>
  119.             <TR> 
  120.               <TD><IMG id=zsktleft_r1_c1 height=65 alt="" 
  121.                   src="image/zsktleft_r1_c1.jpg" width=10 border=0 
  122.                   name=zsktleft_r1_c1></TD>
  123.               <TD colSpan=3><img id=zsktleft_r1_c2 height=65 alt="" 
  124.                   src="image/jkzxtop10.jpg" width=252 border=0 
  125.                   name=zsktleft_r1_c2></TD>
  126.               <TD><IMG height=65 alt="" src="image/spacer.gif" 
  127.                   width=1 border=0></TD>
  128.             </TR>
  129.             <TR> 
  130.               <TD bgColor=#d5e7d7 rowSpan=11>&nbsp;</TD>
  131.               <TD background=image/zsktleft_r3_c2.jpg 
  132.                 rowSpan=3>&nbsp;</TD>
  133.               <TD vAlign=top bgColor=#e0f2f2 rowSpan=3> <TABLE 
  134.                   style="BORDER-RIGHT: #cccccc 1px solid; BORDER-TOP: #cccccc 1px solid; BORDER-LEFT: #cccccc 1px solid; BORDER-BOTTOM: #cccccc 1px solid" 
  135.                   cellSpacing=0 cellPadding=1 width="100%" border=0>
  136.                   <TBODY>
  137.                     <TR> 
  138.                       <TD> <TABLE cellSpacing=0 cellPadding=0 width="100%" 
  139. border=0>
  140.                           <TBODY>
  141.                         <% 
  142.     int num=1;
  143.     health_centerBeans.getQuery("10");
  144. for(int i=0; i<health_centerBeans.getItems(); i++)
  145. {
  146.                          %>
  147.                             <TR> 
  148.                               <TD width=22 height=25> <DIV align=center><IMG height=11 
  149.                               src="image/3.gif" width=10 
  150.                               align=absMiddle></DIV></TD>
  151.                               <TD width=178><a href="health_center_new.jsp?index=<%=health_centerBeans.getHealthID(i)%>" target="_blank"><%=health_centerBeans.getTitle(i)%></a></TD>
  152.                             </TR>
  153.                            
  154.                             <%
  155. }
  156. %>
  157.                           </TBODY>
  158.                         </TABLE>
  159.                       </TD>
  160.                     </TR>
  161.                   </TBODY>
  162.                 </TABLE></TD>
  163.               <TD background=image/zsktleft_r4_c4.jpg 
  164.                 rowSpan=3>&nbsp;</TD>
  165.               <TD><IMG height=320 alt="" src="image/spacer.gif" 
  166.                   width=1 border=0></TD>
  167.             </TR>
  168.             <TR> 
  169.               <TD><IMG height=19 alt="" src="image/spacer.gif" 
  170.                   width=1 border=0></TD>
  171.             </TR>
  172.             <TR> 
  173.               <TD><IMG height=14 alt="" src="image/spacer.gif" 
  174.                   width=1 border=0></TD>
  175.             </TR>
  176.             <TR> 
  177.               <TD colSpan=3><IMG id=zsktleft_r5_c2 height=17 alt="" 
  178.                   src="image/zsktleft_r5_c2.jpg" width=252 border=0 
  179.                   name=zsktleft_r5_c2></TD>
  180.               <TD><IMG height=17 alt="" src="image/spacer.gif" 
  181.                   width=1 border=0></TD>
  182.             </TR>
  183.             <TR> </TR>
  184.           </TBODY>
  185.         </TABLE></TD>
  186.       <TD width="504" rowspan="2" vAlign=top> <TABLE width=504 border=0 cellPadding=0 cellSpacing=0 bgcolor="#d5e7d7">
  187.           <!--DWLayoutTable-->
  188.           <!-- fwtable fwsrc="招商动态(2)右.png" fwbase="zsktrig.jpg" fwstyle="Dreamweaver" fwdocid = "1739784415" fwnested="0" -->
  189.           <TBODY>
  190.             <TR> 
  191.               <TD width="8" height="1"><IMG height=1 alt="" src="image/spacer.gif" 
  192.                   width=8 border=0></TD>
  193.               <TD width="483"><IMG height=1 alt="" src="image/spacer.gif" 
  194.                   width=469 border=0></TD>
  195.               <TD width="11"><IMG height=1 alt="" src="image/spacer.gif" 
  196.                   width=11 border=0></TD>
  197.               <TD width="1"><IMG height=1 alt="" src="image/spacer.gif" 
  198.                   width=1 border=0></TD>
  199.               <td width="1"></td>
  200.             </TR>
  201.             <TR> 
  202.               <TD height="81" colSpan=2><IMG id=zsktrig_r1_c1 height=81 alt="" 
  203.                   src="image/zsktrig_r1_c1.jpg" width=491 border=0 
  204.                   name=zsktrig_r1_c1></TD>
  205.               <TD vAlign=bottom bgColor=#d9eada rowSpan=3></TD>
  206.               <TD><IMG height=81 alt="" src="image/spacer.gif" 
  207.                   width=1 border=0></TD>
  208.               <td></td>
  209.             </TR>
  210.             <TR> 
  211.               <TD rowSpan=4 bgcolor="#d9eada">&nbsp;</TD>
  212.               <TD vAlign=top bgColor=#ffffff> <DIV align=center> 
  213.                   <TABLE cellSpacing=0 cellPadding=6 width="100%" align=center 
  214.                   border=0>
  215.                     <TBODY>
  216.                       <TR> 
  217.                         <TD bgColor=#e3cfae height=20>&nbsp;<img src="image/xz07.gif" width="16" height="16"> 
  218.                           <strong>当前位置: </strong><a href="index.jsp">首页</a><strong> 
  219.                           --&gt; </strong>健康中心</TD>
  220.                       </TR>
  221.                       <TR> 
  222.   <%
  223.      if(health_centerBean.getNew(Integer.parseInt(index)))
  224.  {
  225.   %>
  226.                         <TD bgColor=#e3cfae height=46> <DIV align=center><span class="style6"><%=health_centerBean.getTitle()%></span><SPAN 
  227.                         style="FONT-SIZE: 16px; COLOR: #050099"></SPAN></DIV></TD>
  228.                       </TR>
  229.                     </TBODY>
  230.                   </TABLE>
  231.                   <div align="right"><SPAN 
  232.                   class=S><BR>
  233.                     发布时间:【<%=health_centerBean.getAppendTime()%>】 </SPAN></div>
  234.                 </DIV>
  235.                 <TABLE cellSpacing=0 cellPadding=0 width=456 align=center 
  236.                   border=0>
  237.                   <TBODY>
  238.                     <TR> 
  239.                       <TD height="416" vAlign=top style="LINE-HEIGHT: 200%"> <DIV><%=convert(new StringBuffer(health_centerBean.getContent()))%> 
  240.                           <%
  241. }
  242. %>
  243.                         </DIV></TD>
  244.                     </TR>
  245.                   </TBODY>
  246.                 </TABLE>
  247.                 <p align="right"><A 
  248.                         href="javascript:window.print()">打印本页</A> || <A 
  249.                         href="javascript:window.close()">关闭窗口</A> </p></TD>
  250.               <TD height="39"><IMG height=39 alt="" src="image/spacer.gif" 
  251.                   width=1 border=0></TD>
  252.               <td></td>
  253.             </TR>
  254.             <TR> 
  255.               <TD height="68" vAlign=top bgColor=#ffffff><img src="image/tfy.jpg" width="483" height="69"></TD>
  256.               <TD rowspan="4"><IMG height=50 alt="" src="image/spacer.gif" 
  257.                   width=1 border=0> </TR>
  258.           </TBODY>
  259.         </TABLE></TD>
  260.     </TR>
  261.   </TBODY>
  262. </TABLE>
  263. <%@ include file ="foot.jsp"%>
  264. </BODY></HTML>