You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

200 lines
5.5 KiB

<%@ page language="java" import="java.util.*" contentType="text/html;charset=gb2312" %>
<%@ include file="iframe/head.jsp" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<HTML xmlns="http://www.w3.org/1999/xhtml">
<HEAD>
<LINK href="images/default.css" type=text/css rel=stylesheet>
<LINK href="images/css.css" type=text/css rel=stylesheet>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<SCRIPT language=JavaScript>
<!--//屏蔽出错代码
function killErr(){
return true;
}
window.onerror=killErr;
//-->
</SCRIPT>
<SCRIPT language=JavaScript>
<!--//处理大分类一行两个小分类
function autoTable(div){
fs=document.getElementById(div).getElementsByTagName("TABLE");
for(var i=0;i<fs.length;i++){
fs[i].style.width='49.5%';
if(i%2==1){
if (document.all) {
fs[i].style.styleFloat="right";
}else{
fs[i].style.cssFloat="right;";
}
}else{
if (document.all) {
fs[i].style.styleFloat="left";
}else{
fs[i].style.cssFloat="left;";
}
}
}
}
//-->
</SCRIPT>
<SCRIPT language=JavaScript src="images/inc.js"></SCRIPT>
<SCRIPT language=JavaScript src="images/default.js"></SCRIPT>
<SCRIPT language=JavaScript src="images/swfobject.js"></SCRIPT>
<META content="MSHTML 6.00.2900.3268" name=GENERATOR>
</HEAD>
<%
String message = (String)request.getAttribute("message");
if(message == null){
message = "";
}
if (!message.trim().equals("")){
out.println("<script language='javascript'>");
out.println("alert('"+message+"');");
out.println("</script>");
}
request.removeAttribute("message");
%>
<BODY text=#000000 bgColor=#ffffff leftMargin=0 topMargin=0>
<SCRIPT language=JavaScript>
<!--//目的是为了做风格方便
document.write('<div class="wrap">');
//-->
</SCRIPT>
<TABLE class=MainTable cellSpacing=0 cellPadding=0 width="100%" align=center border=0>
<TBODY>
<TR>
<TD class=Side vAlign=top align=left width="75%" height=200>
<!--*******************************新闻资讯开始*******************************-->
<TABLE class=dragTable cellSpacing=0 cellPadding=0 width="100%" align=center border=0>
<TBODY>
<TR>
<TD align="center"><img src="<%=basePath%>images/s.jpg" width=705 height=238 border=0></TD>
</TR>
</TBODY>
</TABLE>
<!--*******************************新闻资讯结束*******************************-->
</TD>
<TD class=Side vAlign=top align=right width="25%">
<!--*******************************滚动公告开始*******************************-->
<TABLE width="100%" height="240" border=0 cellPadding=0 cellSpacing=0 class=dragTable>
<TBODY>
<TR>
<TD class=head>
<SPAN class=TAG>
<P>网站公告</P>
</SPAN>
</TD>
</TR>
<TR>
<TD class=middle align=left>
<MARQUEE onmouseover=if(document.all!=null){this.stop()} onmouseout=if(document.all!=null){this.start()} scrollAmount=1 scrollDelay=1 direction=up height=180>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<%if(!affList.isEmpty()){
for(int aff=0;aff<affList.size();aff++){
List affList2=(List)affList.get(aff);
%>
<TR>
<TD width="100%">
<%=affList2.get(1).toString() %>---<%=affList2.get(2).toString() %><BR>
</TD>
</TR>
<%
}
}
%>
</TBODY>
</TABLE>
</MARQUEE>
</TD>
</TR>
</TBODY>
<!--*******************************滚动公告结束*******************************-->
</TABLE>
</TD>
</TR>
</TBODY>
</TABLE>
<!--*******************************最新开始*******************************-->
<TABLE class=MainTable style="MARGIN-TOP: 0px" cellSpacing=0 cellPadding=0 width="100%" align=center border=0>
<TBODY>
<TR>
<TD class=Main vAlign=top height=100>
<TABLE class=dragTable cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD class=head>
<SPAN class=TAG>菜品信息</SPAN>
</TD>
</TR>
<TR>
<TD class=middle>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<%
List resList=tb.get10PTrave();
if(!resList.isEmpty()){
for(int res=0;res<resList.size();res++)
{
List resList2=(List)resList.get(res);
%>
<TD width="14%">
<DIV >
<P class=img>
<a href="<%=basePath %>hinfo.jsp?id=<%=resList2.get(0).toString()%>"><IMG height=150 src="<%=basePath+resList2.get(2).toString()%>" width=180 onload=makesmallpic(this,180,150); border=0></A>
</P>
<P class=title style="TEXT-ALIGN: center">
<a href="<%=basePath %>hinfo.jsp?id=<%=resList2.get(0).toString()%>"><%=resList2.get(1).toString()%></a>
</P>
</DIV>
</TD>
<%
}
}
%>
</TR>
</TBODY>
</TABLE>
</TD>
</TR>
</TBODY>
</TABLE>
</TD>
</TR>
</TBODY>
</TABLE>
<!--*******************************信息栏目下通栏广告开始AF01*******************************-->
<TABLE class=dragTable cellSpacing=0 cellPadding=0 width="100%" align=center border=0>
<TBODY>
<TR>
<TD>
<img src="images/abcd.gif" width="950" height="120" border="0"></TD>
</TR>
</TBODY>
</TABLE>
<SCRIPT language=JavaScript>
<!--//目的是为了做风格方便
document.write('</div>');
//-->
</SCRIPT>
<SCRIPT language=JavaScript>
<!--
clickEdit.init();
//-->
</SCRIPT>
</BODY>
</HTML>
<%@ include file="iframe/foot.jsp"%>