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.
128 lines
3.9 KiB
128 lines
3.9 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">
|
|
<STYLE type=text/css>
|
|
.ycbt {
|
|
BORDER-RIGHT: #fff 1px solid; BORDER-TOP: #fff 1px solid; PADDING-LEFT: 1.8em; BACKGROUND-COLOR: #EAF2EF; BORDER-LEFT: #fff 1px solid; PADDING-TOP: 7px; BORDER-BOTTOM: #fff 1px solid; HEIGHT: 20px
|
|
}
|
|
.xsbt {
|
|
BORDER-RIGHT: #fff 1px solid; BORDER-TOP: #fff 1px solid; PADDING-LEFT: 1.8em; BACKGROUND-IMAGE: url(images/head1.gif); BORDER-LEFT: #fff 1px solid; PADDING-TOP: 7px; BORDER-BOTTOM: #fff 1px solid; HEIGHT: 20px
|
|
}
|
|
.xsnr {
|
|
DISPLAY: block
|
|
}
|
|
.ycnr {
|
|
DISPLAY: none
|
|
}
|
|
</STYLE>
|
|
<SCRIPT type=text/javascript>
|
|
function tb_xs(t,m,n){
|
|
for(var i=1;i<=m;i++){
|
|
if (i != n){
|
|
document.getElementById("tb"+t+ "_bt" + i).className= "ycbt";
|
|
document.getElementById("tb"+t+ "_nr" + i).className= "ycnr";}
|
|
else{
|
|
document.getElementById("tb"+t+ "_bt" + i).className= "xsbt";
|
|
document.getElementById("tb"+t+ "_nr" + i).className= "xsnr";}}}
|
|
</SCRIPT>
|
|
<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>
|
|
<BODY text=#000000 bgColor=#ffffff leftMargin=0 topMargin=0>
|
|
<SCRIPT language=JavaScript>
|
|
<!--//目的是为了做风格方便
|
|
document.write('<div class="wrap">');
|
|
//-->
|
|
</SCRIPT>
|
|
<TABLE class=dragTable cellSpacing=0 cellPadding=0 width="100%" border=0>
|
|
<TBODY>
|
|
<TR>
|
|
<TD class=head colspan="2">
|
|
<SPAN class=TAG>菜品预订</SPAN>
|
|
|
|
</TD>
|
|
</TR>
|
|
<TR>
|
|
<TD class=middle align="left" >
|
|
<TABLE class=xsnr id=tb1_nr1 cellSpacing=0 cellPadding=0 width="100%" border=0>
|
|
<TBODY>
|
|
<%
|
|
List hotlist=tb.getAllPTrave();
|
|
if(!hotlist.isEmpty()){
|
|
for(int alln1=0;alln1<hotlist.size();alln1++){
|
|
List allnew=(List)hotlist.get(alln1);
|
|
%>
|
|
<TR>
|
|
<TD width=20% align=left>
|
|
<a href="<%=basePath %>hinfo.jsp?id=<%=allnew.get(0).toString()%>"><IMG height=80 src="<%=basePath+allnew.get(2).toString()%>" width=120 onload=makesmallpic(this,120,80); border=0></A>
|
|
</TD>
|
|
<TD align=left>
|
|
菜品名称:<%=allnew.get(1).toString()%> <br>
|
|
销售价格:<%=allnew.get(3).toString()%> 主要原料:<%=allnew.get(4).toString()%><br>
|
|
菜肴味型:<%=allnew.get(5).toString()%> <br>
|
|
菜肴菜式:<%=allnew.get(6).toString()%> <br>
|
|
发布时间:<%=allnew.get(8).toString()%>
|
|
<a href="<%=basePath %>hinfo.jsp?id=<%=allnew.get(0).toString()%>">点击查看详细...</a>
|
|
</TD>
|
|
</TR>
|
|
<%}} %>
|
|
</TBODY>
|
|
</TABLE>
|
|
</TD>
|
|
</TR>
|
|
</TBODY>
|
|
</TABLE>
|
|
|
|
|
|
<SCRIPT language=JavaScript>
|
|
<!--//目的是为了做风格方便
|
|
document.write('</div>');
|
|
//-->
|
|
</SCRIPT>
|
|
<SCRIPT language=JavaScript>
|
|
<!--
|
|
clickEdit.init();
|
|
//-->
|
|
</SCRIPT>
|
|
</BODY>
|
|
</HTML>
|
|
|
|
<%@ include file="iframe/foot.jsp"%> |