【JSP开源代码栏目提醒】:网学会员为需要JSP开源代码的朋友们搜集整理了top_main.jsp相关资料,希望对各位网友有所帮助!
<%@ page contentType="text/html; charset=gb2312" %>
<%@ page import="java.util.List"%>
<%@ page import="java.
sql.*"%>
<%@ page import="com.victor.domain.NewsTypeActionForm"%>
<%java.util.Date date=new java.util.Date();%>
<html>
<head>
<title>manager_right</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312"><style type="text/css">
<!--
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
td{
font-size:9pt;
}
.style1 {color: #FFFFFF}
-->
</style></head>
<body>
<table width="800" height="99" border="0" cellpadding="0" cellspacing="0" align="center">
<tr>
<td height="74" colspan="2"background="jsp/images/htbanner.jpg"> </td>
</tr>
<tr>
<td width="373" height="25" background="jsp/images/navigate.jpg" bgcolor="#052754"><table width="365" height="25" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="365" height="25" align="right" background="jsp/images/navigateht.jpg" class="style17"><span class="style1">今天是<%=date.getYear()+1900%>年<%=date.getMonth()+1%>月<%=date.getDate()%>日</span></td>
</tr>
</table></td>
<td width="425" height="25" background="jsp/images/navigate.jpg" bgcolor="#052754"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<%List listTop=(List)request.getAttribute("listTop");%>
<%for(int i=0;i<listTop.size();i++){
NewsTypeActionForm top=(NewsTypeActionForm)listTop.get(i);
%>
<td align="center" width="68" height="25" background="jsp/images/diamondsht.jpg"><a href="selectMainAction.do?newstype=<%=top.getTypeName()%>" target="mainFrame"><font color="#6B3000"><%=top.getTypeName()%></font></a>
<%}%>
</tr>
</table> </td>
</tr>
</table>
</body>
</html>