index11.jsp

来自「这是一个上传下载的原代码」· JSP 代码 · 共 514 行 · 第 1/2 页

JSP
514
字号
<%@page language="java" import="java.util.*,com.project.util.DateTimeUtil,com.model.entity.*" pageEncoding="UTF-8"%>
<%@page import="com.project.util.DateTimeUtil" %>
<%
	
	List list1 = new ArrayList();
	List list2 = new ArrayList();
	List list3 = new ArrayList();
	List list4 = new ArrayList();
	List list5 = new ArrayList();
	List list6 = new ArrayList();
	List list7 = new ArrayList();
	List list8 = new ArrayList();
	List list9 = new ArrayList();
	
	if(session.getAttribute("userInfo") != null){
		
		Map map = new HashMap();
		map = (Map)request.getAttribute("indexNews");
		list1 = (List)map.get("政策动态");
		list2 = (List)map.get("运行动态");
		list3 = (List)map.get("综合分析");
		list4 = (List)map.get("行业分析");
		list5 = (List)map.get("网摘信息");
		list6 = (List)map.get("工作动态");
		list7 = (List)map.get("经济运行月报");
		list8 = (List)map.get("经济运行简报");
		list9 = (List)map.get("地方动态");
	}else{				
		response.sendRedirect(request.getContextPath() + "/login.jsp");
	}
%>
<html>
<script language="JavaScript" src="<%=request.getContextPath() %>/jsp/js/Calendar.js"></script>
<head>
<title>经济运行调度信息网</title>
<style type="text/css">
td img {display: block;}body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	background-image: url(images/bei.gif);
}
.bai25 {
	font-family: "宋体";
	font-size: 12px;
	line-height: 25px;
	font-weight: bold;
	color: #FFFFFF;
}
</style>
<!--Fireworks 8 Dreamweaver 8 target.  Created Wed Sep 05 13:51:49 GMT+0800 2007-->
<link href="<%=request.getContextPath() %>/jsp/css/css.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
a:link {
	color: #666666;
	text-decoration: none;
}
a:visited {
	color: #666699;
	text-decoration: none;
}
a:hover {
	color: #003399;
	text-decoration: none;
}
a:active {
	color: #FF0000;
	text-decoration: none;
}
-->
</style></head>
<body>
<table width="780" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
	<jsp:include flush="true" page="include/top.jsp" />
  </tr>
  <tr align="center">
    <td colspan="2" valign="top"><table width="780" border="0" cellspacing="0" cellpadding="0" align="center">
      <tr>
        <td width="188" height="938" valign="top"><table width="188" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td><table width="188" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td height="27" background="<%=request.getContextPath() %>/jsp/images/lanbiao.jpg" class="hei25"><div align="center">公告板</div></td>
              </tr>
              <tr>
                <td height="134" valign="top" background="<%=request.getContextPath() %>/jsp/images/lanbiao1.jpg"><table width="160" border="0" align="center" cellpadding="0" cellspacing="0">
                  <tr>
                    <td class="song30"><div align="center">最新公告内容:</div></td>
                  </tr>
                  <tr>
                    <td height="2" bgcolor="#58ABD5"></td>
                  </tr>
                  <tr valign="top">
                                        <td height="250" valign="top" class="nei25"> <marquee style="color:#414141;font-size:12px;line-height:25px; width:160px;" direction="up";height="300" scrollamount="1" scrolldelay="10" onmouseover="this.scrollDelay=500" onmouseout="this.scrollDelay=1" width="210"> 监测分析工交行业经济运行态势,组织解决工交行业经济运行的有关重大问题,研究提出工交行业经济运行方面的政策建议;组织重要物资的紧急调度和交通运输协调工作;提出动用国家物资储备的建议;管理国家药品储备;承担国务院减轻企业负担部际联席会议的日常工作。</marquee>
                  </tr>
                  <tr>
                    <td height="2" bgcolor="#58ABD5"></td>
                  </tr>
                  <tr valign="top">
                    <td height="250" class="nei25"><p>   国家发展改革委经济运行局办公地点和电话已变更!(6月19日) <br />
关于目前调度系统运行有关问题的通知(5月18日) <br />
2006年全国及分地区宏观经济指标完成情况已上载!(4月18日) 关于对调度系统进行局部更新的通知(10月20日) <br />
                        更多... </p>                      </td>
                  </tr>
                </table></td>
              </tr>
              <tr>
                <td height="2"><img src="<%=request.getContextPath() %>/jsp/images/lanbiao2.jpg" width="188" height="2" /></td>
              </tr>
            </table></td>
          </tr>
          <tr>
            <td height="8"></td>
          </tr>
          <tr>
            <td valign="top">
            <jsp:include flush="true" page="include/navigation.jsp" />
            </td>
          </tr>
          <tr>
            <td height="8"></td>
          </tr>
          <tr>
            <td valign="top"><table width="188" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td height="26" background="<%=request.getContextPath() %>/jsp/images/lanbiao22.jpg" class="hei25"><div align="center">省(区、市)情况</div></td>
              </tr>
              <tr>
                <td height="134" valign="top" background="<%=request.getContextPath() %>/jsp/images/lanbiao1.jpg"><table width="188" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td><table width="188" border="0" cellspacing="0" cellpadding="0">
                          <tr>
                            <td width="50" rowspan="2" align="center" valign="middle"><img src="<%=request.getContextPath() %>/jsp/images/d.jpg" width="6" height="10" /></td>
                            <td colspan="2" class="css">济运行月报</td>
                          </tr>
                          <tr>
                            <td width="293" height="2" background="<%=request.getContextPath() %>/jsp/images/x.jpg"></td>
                            <td width="52"></td>
                          </tr>
                          <%
                      		for(int i=0;i < list7.size();i++){
                      			NewsInfo newsInfo = (NewsInfo)list7.get(i);
                     	 %>
                     	 <tr>
                        	<td align="center" valign="middle" class="nei20"><img src="<%=request.getContextPath() %>/jsp/images/hd.jpg" width="5" height="5" /></td>
                        	<td colspan="2" class="nei20"><a href="info.html"><%=newsInfo.getTitle() %>(<%=DateTimeUtil.getChangeDate(newsInfo.getCreateDate()) %>)<font color="red">new!</font></a></td>
                      	 </tr>
                      	 <%
							}                      
                      	 %>
                      </table></td>
                    </tr>
                    <tr>
                      <td height="15"></td>
                    </tr>
                    <tr>
                      <td valign="top"><table width="188" border="0" cellspacing="0" cellpadding="0">
                        <tr>
                          <td width="50" rowspan="2" align="center" valign="middle"><img src="<%=request.getContextPath() %>/jsp/images/d.jpg" width="6" height="10" /></td>
                          <td colspan="2" class="css">济运行简报</td>
                        </tr>
                        <tr>
                          <td width="293" height="2" background="<%=request.getContextPath() %>/jsp/images/x.jpg"></td>
                          <td width="52"></td>
                        </tr>
                        <%
                      	for(int i=0;i < list8.size();i++){
                      		NewsInfo newsInfo = (NewsInfo)list8.get(i);
                      	%>
                       <tr>
                         <td align="center" valign="middle" class="nei20"><img src="<%=request.getContextPath() %>/jsp/images/hd.jpg" width="5" height="5" /></td>
                         <td colspan="2" class="nei20"><a href="info.html"><%=newsInfo.getTitle() %>(<%=DateTimeUtil.getChangeDate(newsInfo.getCreateDate()) %>)<font color="red">new!</font></a></td>
                       </tr>
                      	<%
							}                      
                      	%>
                      </table></td>
                    </tr>
                </table></td>
              </tr>
              <tr>
                <td height="2"><img src="<%=request.getContextPath() %>/jsp/images/lanbiao2.jpg" width="188" height="2" /></td>
              </tr>
            </table></td>
          </tr>
          <tr>
            <td height="5" valign="top"></td>
          </tr>
        </table></td>
        <td width="4"></td>
        <td width="395" valign="top"><table width="395" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td height="464">
            <table width="395" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td height="27" background="<%=request.getContextPath() %>/jsp/images/center.jpg" class="bai25"><div align="center">综合信息</div></td>
              </tr>
              <tr>
                <td height="464" valign="top" background="<%=request.getContextPath() %>/jsp/images/center1.jpg"><table width="395" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td height="15" valign="top"></td>
                  </tr>
                  <tr>
                    <td><table width="395" border="0" cellspacing="0" cellpadding="0">
                      <tr>
                        <td width="50" rowspan="2" align="center" valign="middle"><img src="<%=request.getContextPath() %>/jsp/images/d.jpg" width="6" height="10" /></td>
                        <td colspan="2" class="css">政策动态</td>
                      </tr>
                      <tr>
                        <td width="293" height="2" background="<%=request.getContextPath() %>/jsp/images/x.jpg"></td>
                        <td width="52"></td>
                      </tr>
                      <%
                      	for(int i=0;i < list1.size();i++){
                      		NewsInfo newsInfo = (NewsInfo)list1.get(i);
                      %>
                      <tr>
                        <td align="center" valign="middle" class="nei20"><img src="<%=request.getContextPath() %>/jsp/images/hd.jpg" width="5" height="5" /></td>
                        <td colspan="2" class="nei20"><a href="info.html"><%=newsInfo.getTitle() %>(<%=DateTimeUtil.getChangeDate(newsInfo.getCreateDate()) %>)<font color="red">new!</font></a></td>
                      </tr>
                      <%
						}                      
                      %>
                    </table></td>
                  </tr>
                  <tr>
                    <td height="15"></td>
                  </tr>
                  <tr>
                    <td><table width="395" border="0" cellspacing="0" cellpadding="0">
                      <tr>
                        <td width="50" rowspan="2" align="center" valign="middle"><img src="<%=request.getContextPath() %>/jsp/images/d.jpg" width="6" height="10" /></td>
                        <td colspan="2" class="css">运行动态</td>
                      </tr>
                      <tr>
                        <td width="293" height="2" background="<%=request.getContextPath() %>/jsp/images/x.jpg"></td>
                        <td width="52"></td>
                      </tr>
                     <%
                      	for(int i=0;i < list2.size();i++){
                      		NewsInfo newsInfo = (NewsInfo)list2.get(i);
                      %>
                      <tr>
                        <td align="center" valign="middle" class="nei20"><img src="<%=request.getContextPath() %>/jsp/images/hd.jpg" width="5" height="5" /></td>
                        <td colspan="2" class="nei20"><a href="info.html"><%=newsInfo.getTitle() %>(<%=DateTimeUtil.getChangeDate(newsInfo.getCreateDate()) %>)<font color="red">new!</font></a></td>
                      </tr>
                      <%
						}                      
                      %>
                    </table></td>
                  </tr>
                  <tr>
                    <td height="15"></td>
                  </tr>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?