主界面左边源程序代码fleft.jsp
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
</head>
<body leftmargin="0" topmargin="0">
<table width="160" border="0" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<tr>
<td width="160" height="30" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<tr>
<td width="160" height="30" bgcolor="#5296DE"><div align="center">旅游线路管理</div></td>
</tr>
</table></td>
</tr>
<tr>
<td height="25" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<tr>
<td width="160" height="25" bgcolor="#ADCFEF"><div align="center"><a href="line_manage/show_line.jsp" target="mainFrame">线路信息更改</a></div></td>
</tr>
</table></td>
</tr>
<tr>
<td height="25" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<tr>
<td width="160" height="25" bgcolor="#ADCFEF"><div align="center"><a href="line_manage/a_line.htm" target="mainFrame">增加旅游线路</a></div></td>
</tr>
</table></td>
</tr>
<tr>
<td height="25" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<tr>
<td width="160" height="25" bgcolor="#ADCFEF"><div align="center"><a href="pic/img_panel.jsp" target="mainFrame">线路图片更新</a></div></td>
</tr>
</table></td>
</tr>
<tr>
<td height="30" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<tr>
<td width="160" height="30" bgcolor="#5296DE"><div align="center">公告栏管理</div></td>
</tr>
</table></td>
</tr>
<tr>
<td height="25" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<tr>
<td width="160" height="25" bgcolor="#ADCFEF"><div align="center"><a href="bulletin_manage/a_bulletin.htm" target="mainFrame">增加公告</a></div></td>
</tr>
</table></td>
</tr>
<tr>
<td height="25" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<tr>
<td width="160" height="25" bgcolor="#ADCFEF"><div align="center"><a href="bulletin_manage/bulletin.jsp" target="mainFrame">公告信息更改</a></div></td>
</tr>
</table></td>
</tr>
<tr>
<td height="25" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<tr>
<td width="160" height="25" bgcolor="#5296DE"><div align="center">留言板管理</div></td>
</tr>
</table></td>
</tr>
<tr>
<td height="25" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<tr>
<td width="160" height="25" bgcolor="#ADCFEF"><div align="center"><a href="board_manage/response.jsp" target="mainFrame">回复用户留言</a></div></td>
</tr>
</table></td>
</tr>
<tr>
<td height="265" bgcolor="#ADCFEF"> </td>
</tr>
</table>
</body>
</html>
热点源程序代码hot_line.jsp
<%@ page contentType="text/html; charset=GBK" %>
<%@ page language="java" import="tour_lines.line"%>
<%@ page language="java" import="java.util.*"%>
<%@ page language="java" import="java.io.*"%>
<jsp:useBean id="j" scope="application" class="jdbc.jdbc"/>
<jsp:useBean id="t" scope="application" class="tour_lines.hot_line"/>
<table width="100%" border="0">
<%
t.con=j.getConnection();
Collection tcol=t.hot();
Iterator it=tcol.iterator();
while(it.hasNext())
{
line li=(line)it.next();
%>
<tr>
<td><a href="line_intro.jsp?title=<%=li.getTour_line_name()%>" target="_blank">
<%out.print(li.getTour_line_name());%></a>
</td>
</tr>
<%
it.remove();
}
j.releaseConnection(t.con);
%>
</table>