Compare commits
27 Commits
xhy_branch
...
master
Author | SHA1 | Date |
---|---|---|
|
93c96c037f | 8 months ago |
|
6fdbd06169 | 8 months ago |
|
eff049e940 | 8 months ago |
|
479e6af4d4 | 8 months ago |
|
710eb2fc35 | 8 months ago |
|
c17773f6fa | 8 months ago |
|
260825a5e3 | 8 months ago |
|
1d857c9459 | 8 months ago |
|
08149f6f0c | 8 months ago |
|
c920a92590 | 8 months ago |
|
12a2686933 | 8 months ago |
|
816728098b | 8 months ago |
|
89ad1dabc5 | 8 months ago |
|
7127603a5e | 8 months ago |
|
bce74d82c3 | 8 months ago |
|
7c9b0c1e2e | 8 months ago |
|
3959f3baf6 | 8 months ago |
|
58866100ec | 8 months ago |
|
924e1b297c | 8 months ago |
|
9bb361e2b1 | 8 months ago |
|
c662820f59 | 8 months ago |
|
4160c01672 | 8 months ago |
|
1070a27648 | 8 months ago |
|
8e4dc9a416 | 8 months ago |
|
4ffbdd3585 | 8 months ago |
|
c7de4c1d5c | 8 months ago |
|
b1e9c6e2c8 | 8 months ago |
@ -0,0 +1,90 @@
|
|||||||
|
package com.itbaizhan.orm;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* TLiuyan generated by MyEclipse Persistence Tools
|
||||||
|
*/
|
||||||
|
|
||||||
|
public class TLiuyan implements java.io.Serializable
|
||||||
|
{
|
||||||
|
private Integer id;//留言ID
|
||||||
|
private String neirong;//留言内容
|
||||||
|
private String liuyanshi;//留言时间
|
||||||
|
private String user_id;//用户ID
|
||||||
|
|
||||||
|
private String huifu;//回复内容
|
||||||
|
private String huifushi;//回复时间
|
||||||
|
|
||||||
|
private Tuser user;
|
||||||
|
|
||||||
|
public String getHuifu()//得到回复内容
|
||||||
|
{
|
||||||
|
return huifu;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setHuifu(String huifu)//设置回复内容
|
||||||
|
{
|
||||||
|
this.huifu = huifu;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getHuifushi()//得到回复时间
|
||||||
|
{
|
||||||
|
return huifushi;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setHuifushi(String huifushi)//设置回复时间
|
||||||
|
{
|
||||||
|
this.huifushi = huifushi;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Integer getId()//得到回复ID
|
||||||
|
{
|
||||||
|
return id;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setId(Integer id)//设置回复ID
|
||||||
|
{
|
||||||
|
this.id = id;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getLiuyanshi()//得到回复时间
|
||||||
|
{
|
||||||
|
return liuyanshi;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setLiuyanshi(String liuyanshi)//设置回复时间
|
||||||
|
{
|
||||||
|
this.liuyanshi = liuyanshi;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getNeirong()//得到回复内容
|
||||||
|
{
|
||||||
|
return neirong;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setNeirong(String neirong)//设置回复内容
|
||||||
|
{
|
||||||
|
this.neirong = neirong;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Tuser getUser()//得到留言用户
|
||||||
|
{
|
||||||
|
return user;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setUser(Tuser user)//设置留言用户
|
||||||
|
{
|
||||||
|
this.user = user;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getUser_id()//得到留言用户ID
|
||||||
|
{
|
||||||
|
return user_id;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setUser_id(String user_id)//设置留言用户ID
|
||||||
|
{
|
||||||
|
this.user_id = user_id;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,107 @@
|
|||||||
|
package com.itbaizhan.orm;
|
||||||
|
|
||||||
|
public class Tgoods //菜品信息类
|
||||||
|
{
|
||||||
|
private String id;//菜品的ID
|
||||||
|
private String catelog_id;//菜品类别的ID
|
||||||
|
private String bianhao;//菜品的编号
|
||||||
|
private String mingcheng;//菜品的名称
|
||||||
|
|
||||||
|
private String jieshao;//菜品的介绍
|
||||||
|
private String fujian;//菜品的图片
|
||||||
|
private int shichangjia;//菜品的市场价
|
||||||
|
private int tejia;//菜品的特价
|
||||||
|
|
||||||
|
private String del;//菜品是否删除标志
|
||||||
|
|
||||||
|
public String getBianhao()//得到菜品编号
|
||||||
|
{
|
||||||
|
return bianhao;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setBianhao(String bianhao)//设置菜品编号
|
||||||
|
{
|
||||||
|
this.bianhao = bianhao;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getCatelog_id()//得到菜品类别ID
|
||||||
|
{
|
||||||
|
return catelog_id;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setCatelog_id(String catelog_id)//设置菜品类别ID
|
||||||
|
{
|
||||||
|
this.catelog_id = catelog_id;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getDel()//得到菜品是否删除信息
|
||||||
|
{
|
||||||
|
return del;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setDel(String del)//设置菜品是否删除信息
|
||||||
|
{
|
||||||
|
this.del = del;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getFujian()//得到菜品图片信息
|
||||||
|
{
|
||||||
|
return fujian;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setFujian(String fujian)//设置菜品图片信息
|
||||||
|
{
|
||||||
|
this.fujian = fujian;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getId()//得到菜品ID信息
|
||||||
|
{
|
||||||
|
return id;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setId(String id)//设置菜品ID信息
|
||||||
|
{
|
||||||
|
this.id = id;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getJieshao()//得到菜品介绍信息
|
||||||
|
{
|
||||||
|
return jieshao;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setJieshao(String jieshao)//设置菜品介绍信息
|
||||||
|
{
|
||||||
|
this.jieshao = jieshao;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getMingcheng()//得到菜品名称信息
|
||||||
|
{
|
||||||
|
return mingcheng;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setMingcheng(String mingcheng)//设置菜品名称信息
|
||||||
|
{
|
||||||
|
this.mingcheng = mingcheng;
|
||||||
|
}
|
||||||
|
|
||||||
|
public int getShichangjia()//得到菜品市场价信息
|
||||||
|
{
|
||||||
|
return shichangjia;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setShichangjia(int shichangjia)//设置菜品市场价信息
|
||||||
|
{
|
||||||
|
this.shichangjia = shichangjia;
|
||||||
|
}
|
||||||
|
|
||||||
|
public int getTejia()//得到菜品特价信息
|
||||||
|
{
|
||||||
|
return tejia;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setTejia(int tejia)//设置菜品市特价信息
|
||||||
|
{
|
||||||
|
this.tejia = tejia;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,123 @@
|
|||||||
|
package com.itbaizhan.orm;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* TOrder generated by MyEclipse Persistence Tools
|
||||||
|
*/
|
||||||
|
|
||||||
|
public class Torder implements java.io.Serializable
|
||||||
|
{
|
||||||
|
|
||||||
|
private String id;//订单ID
|
||||||
|
private String bianhao;//订单编号
|
||||||
|
private String shijian;//下单时间
|
||||||
|
private String zhuangtai;//订单状态
|
||||||
|
|
||||||
|
private String huifu;//回复内容
|
||||||
|
|
||||||
|
private String songhuodizhi;//送货地址
|
||||||
|
private String fukuanfangshi;//付款方式
|
||||||
|
private int jine=0;//总金额
|
||||||
|
private String user_id;//用户ID
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/** 默认构造函数 */
|
||||||
|
public Torder()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getBianhao()//得到订单编号
|
||||||
|
{
|
||||||
|
return bianhao;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setBianhao(String bianhao)//设置订单编号
|
||||||
|
{
|
||||||
|
this.bianhao = bianhao;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getFukuanfangshi()//得到付款方式
|
||||||
|
{
|
||||||
|
return fukuanfangshi;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setFukuanfangshi(String fukuanfangshi)//设置付款方式
|
||||||
|
{
|
||||||
|
this.fukuanfangshi = fukuanfangshi;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public String getId()//得到订单ID
|
||||||
|
{
|
||||||
|
return id;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setId(String id)//设置订单ID
|
||||||
|
{
|
||||||
|
this.id = id;
|
||||||
|
}
|
||||||
|
|
||||||
|
public int getJine()//得到总金额
|
||||||
|
{
|
||||||
|
return jine;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getHuifu()//得到回复内容
|
||||||
|
{
|
||||||
|
return huifu;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setHuifu(String huifu)//设置回复内容
|
||||||
|
{
|
||||||
|
this.huifu = huifu;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setJine(int jine)//设置总金额
|
||||||
|
{
|
||||||
|
this.jine = jine;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public String getShijian()//得到下单时间
|
||||||
|
{
|
||||||
|
return shijian;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setShijian(String shijian)//设置下单时间
|
||||||
|
{
|
||||||
|
this.shijian = shijian;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getSonghuodizhi()//得到送货地址
|
||||||
|
{
|
||||||
|
return songhuodizhi;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setSonghuodizhi(String songhuodizhi)//设置送货地址
|
||||||
|
{
|
||||||
|
this.songhuodizhi = songhuodizhi;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public String getUser_id()//得到用户ID
|
||||||
|
{
|
||||||
|
return user_id;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setUser_id(String user_id)//设置用户ID
|
||||||
|
{
|
||||||
|
this.user_id = user_id;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getZhuangtai()//得到订单状态
|
||||||
|
{
|
||||||
|
return zhuangtai;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setZhuangtai(String zhuangtai)//设置订单状态
|
||||||
|
{
|
||||||
|
this.zhuangtai = zhuangtai;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,57 @@
|
|||||||
|
package com.itbaizhan.orm;
|
||||||
|
|
||||||
|
public class TorderItem
|
||||||
|
{
|
||||||
|
private String id;//订单明细ID
|
||||||
|
private String order_id;//订单ID
|
||||||
|
private String goods_id;//商品ID
|
||||||
|
private int goods_quantity;//商品数量
|
||||||
|
|
||||||
|
|
||||||
|
private Tgoods goods;//表里没有。自己加的
|
||||||
|
|
||||||
|
public int getGoods_quantity()//得到商品数量
|
||||||
|
{
|
||||||
|
return goods_quantity;
|
||||||
|
}
|
||||||
|
public void setGoods_quantity(int goods_quantity)//设置商品数量
|
||||||
|
{
|
||||||
|
this.goods_quantity = goods_quantity;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getGoods_id()//得到商品ID
|
||||||
|
{
|
||||||
|
return goods_id;
|
||||||
|
}
|
||||||
|
public void setGoods_id(String goods_id)//设置商品ID
|
||||||
|
{
|
||||||
|
this.goods_id = goods_id;
|
||||||
|
}
|
||||||
|
public String getId()//得到订单明细ID
|
||||||
|
{
|
||||||
|
return id;
|
||||||
|
}
|
||||||
|
public void setId(String id)//设置订单明细ID
|
||||||
|
{
|
||||||
|
this.id = id;
|
||||||
|
}
|
||||||
|
public String getOrder_id()//得到订单ID
|
||||||
|
{
|
||||||
|
return order_id;
|
||||||
|
}
|
||||||
|
public void setOrder_id(String order_id)//设置订单ID
|
||||||
|
{
|
||||||
|
this.order_id = order_id;
|
||||||
|
}
|
||||||
|
public Tgoods getGoods()//得到商品信息
|
||||||
|
{
|
||||||
|
return goods;
|
||||||
|
}
|
||||||
|
public void setGoods(Tgoods goods)//设置商品信息
|
||||||
|
{
|
||||||
|
this.goods = goods;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,54 @@
|
|||||||
|
package com.itbaizhan.orm;
|
||||||
|
|
||||||
|
public class Tuser
|
||||||
|
{
|
||||||
|
private String id;//用户ID
|
||||||
|
private String loginname;//用户登录账号
|
||||||
|
private String loginpw;//用户登录密码
|
||||||
|
private String name;//用户登录名
|
||||||
|
|
||||||
|
private String del;//是否删除标志
|
||||||
|
|
||||||
|
public String getId()//得到用户ID
|
||||||
|
{
|
||||||
|
return id;
|
||||||
|
}
|
||||||
|
public void setId(String id)//设置用户ID
|
||||||
|
{
|
||||||
|
this.id = id;
|
||||||
|
}
|
||||||
|
public String getLoginname()//得到用户登录账号
|
||||||
|
{
|
||||||
|
return loginname;
|
||||||
|
}
|
||||||
|
public void setLoginname(String loginname)//设置用户登录账号
|
||||||
|
{
|
||||||
|
this.loginname = loginname;
|
||||||
|
}
|
||||||
|
public String getLoginpw()//得到用户登录密码
|
||||||
|
{
|
||||||
|
return loginpw;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getDel()//得到用户是否删除信息
|
||||||
|
{
|
||||||
|
return del;
|
||||||
|
}
|
||||||
|
public void setDel(String del)//设置用户是否删除信息
|
||||||
|
{
|
||||||
|
this.del = del;
|
||||||
|
}
|
||||||
|
public void setLoginpw(String loginpw)//得到用户登录密码
|
||||||
|
{
|
||||||
|
this.loginpw = loginpw;
|
||||||
|
}
|
||||||
|
public String getName()//得到用户姓名
|
||||||
|
{
|
||||||
|
return name;
|
||||||
|
}
|
||||||
|
public void setName(String name)//设置用户姓名
|
||||||
|
{
|
||||||
|
this.name = name;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,62 @@
|
|||||||
|
package com.itbaizhan.orm;
|
||||||
|
|
||||||
|
public class Txinyong
|
||||||
|
{
|
||||||
|
private String id;//管理员给用户评价ID
|
||||||
|
private String shuxing;//管理员给用户评价属性
|
||||||
|
private String neirong;//管理员给用户评价内容
|
||||||
|
private String shijian;//管理员给用户评价时间
|
||||||
|
|
||||||
|
private String user_id;//用户ID
|
||||||
|
|
||||||
|
public String getId()//得到评价ID
|
||||||
|
{
|
||||||
|
return id;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setId(String id)//设置评价ID
|
||||||
|
{
|
||||||
|
this.id = id;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getShuxing()//得到评价属性
|
||||||
|
{
|
||||||
|
return shuxing;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setShuxing(String shuxing)//设置评价属性
|
||||||
|
{
|
||||||
|
this.shuxing = shuxing;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getNeirong()//得到评价内容
|
||||||
|
{
|
||||||
|
return neirong;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setNeirong(String neirong)//设置评价内容
|
||||||
|
{
|
||||||
|
this.neirong = neirong;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getShijian()//得到评价时间
|
||||||
|
{
|
||||||
|
return shijian;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setShijian(String shijian)//设置评价时间
|
||||||
|
{
|
||||||
|
this.shijian = shijian;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getUser_id()//得到用户ID
|
||||||
|
{
|
||||||
|
return user_id;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setUser_id(String user_id)//设置用户ID
|
||||||
|
{
|
||||||
|
this.user_id = user_id;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,61 @@
|
|||||||
|
<%@ page language="java" pageEncoding="UTF-8"%>
|
||||||
|
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
|
||||||
|
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
|
||||||
|
<%@ page isELIgnored="false" %>
|
||||||
|
|
||||||
|
<%
|
||||||
|
String path = request.getContextPath();
|
||||||
|
%>
|
||||||
|
|
||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="pragma" content="no-cache" />
|
||||||
|
<meta http-equiv="cache-control" content="no-cache" />
|
||||||
|
<meta http-equiv="expires" content="0" />
|
||||||
|
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3" />
|
||||||
|
<meta http-equiv="description" content="This is my page" />
|
||||||
|
|
||||||
|
<link rel="stylesheet" type="text/css" href="<%=path %>/css/base.css" />
|
||||||
|
|
||||||
|
<script language="javascript">
|
||||||
|
function c()//判断是否有菜品类别信息输入
|
||||||
|
{
|
||||||
|
if(document.formAdd.name.value=="")
|
||||||
|
{
|
||||||
|
alert("请输入类别名称");
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
document.formAdd.submit();//输入菜品类别信息,提交
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body leftmargin="2" topmargin="9" background='<%=path %>/img/allbg.gif'>
|
||||||
|
<form action="<%=path %>/catelog?type=catelogAdd" name="formAdd" method="post">
|
||||||
|
<table width="98%" border="0" cellpadding="2" cellspacing="1" bgcolor="#D1DDAA" align="center" style="margin-top:8px">
|
||||||
|
<tr bgcolor="#E7E7E7">
|
||||||
|
<td height="14" colspan="4" background="<%=path %>/img/tbg.gif"> </td>
|
||||||
|
</tr>
|
||||||
|
<tr align='center' bgcolor="#FFFFFF" height="22">
|
||||||
|
<td width="25%" bgcolor="#FFFFFF" align="right">
|
||||||
|
类别名称:
|
||||||
|
</td>
|
||||||
|
<td width="75%" bgcolor="#FFFFFF" align="left">
|
||||||
|
<input type="text" name="name" size="40"/>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr align='center' bgcolor="#FFFFFF" height="22">
|
||||||
|
<td width="25%" bgcolor="#FFFFFF" align="right">
|
||||||
|
|
||||||
|
</td>
|
||||||
|
<td width="75%" bgcolor="#FFFFFF" align="left">
|
||||||
|
<input type="button" value="提交" onclick="c()"/>
|
||||||
|
<input type="reset" value="重置"/>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</form>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -0,0 +1,93 @@
|
|||||||
|
<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
|
||||||
|
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
|
||||||
|
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
|
||||||
|
<%@ page isELIgnored="false" %>
|
||||||
|
<%
|
||||||
|
String path = request.getContextPath();
|
||||||
|
%>
|
||||||
|
|
||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="pragma" content="no-cache"/>
|
||||||
|
<meta http-equiv="cache-control" content="no-cache"/>
|
||||||
|
<meta http-equiv="expires" content="0"/>
|
||||||
|
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3"/>
|
||||||
|
<meta http-equiv="description" content="This is my page"/>
|
||||||
|
|
||||||
|
<link href="<%=path %>/css/qiantai.css" rel="stylesheet" type="text/css" media="screen" />
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
|
||||||
|
</script>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<div id="wrapper">
|
||||||
|
<div id="logo">
|
||||||
|
<h1><a href="#">基于JSP的高校快餐店订餐系统
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a></h1>
|
||||||
|
<p><em><a href="#"> </a></em></p>
|
||||||
|
</div>
|
||||||
|
<hr/>
|
||||||
|
<!-- 头部 -->
|
||||||
|
<div id="header">
|
||||||
|
<jsp:include flush="true" page="/site/inc/daohang.jsp"></jsp:include>
|
||||||
|
</div>
|
||||||
|
<!-- 头部 -->
|
||||||
|
|
||||||
|
|
||||||
|
<div id="page">
|
||||||
|
<div id="page-bgtop">
|
||||||
|
<!-- 右侧 -->
|
||||||
|
<div id="content">
|
||||||
|
<div class="post">
|
||||||
|
<h2 class="title"><a href="#">菜品信息</a></h2>
|
||||||
|
<div class="entry"> <!-- 设置菜品图片样式 -->
|
||||||
|
<TABLE class=main border=0 cellSpacing=2 cellPadding=2>
|
||||||
|
<TR>
|
||||||
|
<c:forEach items="${requestScope.goodsList}" var="goods" varStatus="sta">
|
||||||
|
<c:if test="${sta.index%4==0}"><!-- 每行放4张图片 -->
|
||||||
|
</tr><tr>
|
||||||
|
</c:if>
|
||||||
|
<TD>
|
||||||
|
<TABLE onmouseover="this.style.backgroundColor='#FF6600'" onmouseout="this.style.backgroundColor=''" border=0 cellSpacing=1 cellPadding=2 width=98 bgColor=#e1e1e1 align=center height=100>
|
||||||
|
<TR>
|
||||||
|
<TD bgColor=#ffffff align=left>
|
||||||
|
<P align="center">
|
||||||
|
<A href="<%=path %>/goods?type=goodsDetailQian&id=${goods.id }"><IMG border=0 align=absMiddle src="<%=path %>/${goods.fujian }" width=150 height=140></A>
|
||||||
|
</>
|
||||||
|
<center><A href="<%=path %>/goods?type=goodsDetailQian&id=${goods.id }"><FONT color=#ff0000></FONT>${goods.mingcheng }</A></center>
|
||||||
|
</P>
|
||||||
|
</TD>
|
||||||
|
</TR>
|
||||||
|
</TABLE>
|
||||||
|
</TD>
|
||||||
|
</c:forEach>
|
||||||
|
</TR>
|
||||||
|
</TABLE>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!-- 右侧 -->
|
||||||
|
|
||||||
|
<!-- 左侧 -->
|
||||||
|
<div id="sidebar">
|
||||||
|
<jsp:include flush="true" page="/site/inc/left.jsp"></jsp:include>
|
||||||
|
</div>
|
||||||
|
<!-- 左侧 -->
|
||||||
|
<div style="clear: both;"> </div> <!-- clear:both该属性的值指出了不允许有浮动元素 -->
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="footer-bgcontent">
|
||||||
|
<div id="footer">
|
||||||
|
<p><a href="<%=path %>/login.jsp">系统后台</a></p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -0,0 +1,93 @@
|
|||||||
|
<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
|
||||||
|
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
|
||||||
|
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
|
||||||
|
<%@ page isELIgnored="false" %>
|
||||||
|
<%
|
||||||
|
String path = request.getContextPath();
|
||||||
|
%>
|
||||||
|
|
||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="pragma" content="no-cache"/>
|
||||||
|
<meta http-equiv="cache-control" content="no-cache"/>
|
||||||
|
<meta http-equiv="expires" content="0"/>
|
||||||
|
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3"/>
|
||||||
|
<meta http-equiv="description" content="This is my page"/>
|
||||||
|
|
||||||
|
<link href="<%=path %>/css/qiantai.css" rel="stylesheet" type="text/css" media="screen" />
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
|
||||||
|
</script>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<div id="wrapper">
|
||||||
|
<div id="logo">
|
||||||
|
<h1><a href="#">基于JSP的高校快餐店订餐系统
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a></h1>
|
||||||
|
<p><em><a href="#"> </a></em></p>
|
||||||
|
</div>
|
||||||
|
<hr/>
|
||||||
|
<!-- 头部 -->
|
||||||
|
<div id="header">
|
||||||
|
<jsp:include flush="true" page="/site/inc/daohang.jsp"></jsp:include>
|
||||||
|
</div>
|
||||||
|
<!-- 头部 -->
|
||||||
|
|
||||||
|
|
||||||
|
<div id="page">
|
||||||
|
<div id="page-bgtop">
|
||||||
|
<!-- 右侧 -->
|
||||||
|
<div id="content">
|
||||||
|
<div class="post">
|
||||||
|
<h2 class="title"><a href="#">菜品信息</a></h2>
|
||||||
|
<div class="entry"> <!-- 设置菜品图片样式 -->
|
||||||
|
<TABLE class=main border=0 cellSpacing=2 cellPadding=2>
|
||||||
|
<TR>
|
||||||
|
<c:forEach items="${requestScope.goodsList}" var="goods" varStatus="sta">
|
||||||
|
<c:if test="${sta.index%4==0}"> <!-- 每行放4张图片 -->
|
||||||
|
</tr><tr>
|
||||||
|
</c:if>
|
||||||
|
<TD>
|
||||||
|
<TABLE onmouseover="this.style.backgroundColor='#FF6600'" onmouseout="this.style.backgroundColor=''" border=0 cellSpacing=1 cellPadding=2 width=98 bgColor=#e1e1e1 align=center height=100>
|
||||||
|
<TR>
|
||||||
|
<TD bgColor=#ffffff align=left>
|
||||||
|
<P align="center">
|
||||||
|
<A href="<%=path %>/goods?type=goodsDetailQian&id=${goods.id }"><IMG border=0 align=absMiddle src="<%=path %>/${goods.fujian }" width=150 height=140></A>
|
||||||
|
</>
|
||||||
|
<center><A href="<%=path %>/goods?type=goodsDetailQian&id=${goods.id }"><FONT color=#ff0000></FONT>${goods.mingcheng }</A></center>
|
||||||
|
</P>
|
||||||
|
</TD>
|
||||||
|
</TR>
|
||||||
|
</TABLE>
|
||||||
|
</TD>
|
||||||
|
</c:forEach>
|
||||||
|
</TR>
|
||||||
|
</TABLE>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!-- 右侧 -->
|
||||||
|
|
||||||
|
<!-- 左侧 -->
|
||||||
|
<div id="sidebar">
|
||||||
|
<jsp:include flush="true" page="/site/inc/left.jsp"></jsp:include>
|
||||||
|
</div>
|
||||||
|
<!-- 左侧 -->
|
||||||
|
<div style="clear: both;"> </div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="footer-bgcontent">
|
||||||
|
<div id="footer">
|
||||||
|
<p><a href="<%=path %>/login.jsp">系统后台</a></p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -0,0 +1,92 @@
|
|||||||
|
<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
|
||||||
|
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
|
||||||
|
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
|
||||||
|
<%@ page isELIgnored="false" %>
|
||||||
|
<%
|
||||||
|
String path = request.getContextPath();
|
||||||
|
%>
|
||||||
|
|
||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="pragma" content="no-cache"/>
|
||||||
|
<meta http-equiv="cache-control" content="no-cache"/>
|
||||||
|
<meta http-equiv="expires" content="0"/>
|
||||||
|
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3"/>
|
||||||
|
<meta http-equiv="description" content="This is my page"/>
|
||||||
|
|
||||||
|
<link href="<%=path %>/css/qiantai.css" rel="stylesheet" type="text/css" media="screen" />
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
|
||||||
|
</script>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<div id="wrapper">
|
||||||
|
<div id="logo">
|
||||||
|
<h1><a href="#">基于JSP的高校快餐店订餐系统
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a></h1>
|
||||||
|
<p><em><a href="#"> </a></em></p>
|
||||||
|
</div>
|
||||||
|
<hr/>
|
||||||
|
<!-- 头部 -->
|
||||||
|
<div id="header">
|
||||||
|
<jsp:include flush="true" page="/site/inc/daohang.jsp"></jsp:include>
|
||||||
|
</div>
|
||||||
|
<!-- 头部 -->
|
||||||
|
|
||||||
|
|
||||||
|
<div id="page">
|
||||||
|
<div id="page-bgtop">
|
||||||
|
<!-- 右侧 -->
|
||||||
|
<div id="content">
|
||||||
|
<div class="post">
|
||||||
|
<h2 class="title"><a href="#">菜品信息</a></h2>
|
||||||
|
<div class="entry">
|
||||||
|
<TABLE class=main border=0 cellSpacing=2 cellPadding=2>
|
||||||
|
<TR>
|
||||||
|
<c:forEach items="${requestScope.goodsList}" var="goods" varStatus="sta">
|
||||||
|
<c:if test="${sta.index%4==0}">
|
||||||
|
</tr><tr>
|
||||||
|
</c:if>
|
||||||
|
<TD>
|
||||||
|
<TABLE onmouseover="this.style.backgroundColor='#FF6600'" onmouseout="this.style.backgroundColor=''" border=0 cellSpacing=1 cellPadding=2 width=98 bgColor=#e1e1e1 align=center height=100>
|
||||||
|
<TR>
|
||||||
|
<TD bgColor=#ffffff align=left>
|
||||||
|
<P align="center">
|
||||||
|
<A href="<%=path %>/goods?type=goodsDetailQian&id=${goods.id }"><IMG border=0 align=absMiddle src="<%=path %>/${goods.fujian }" width=150 height=140></A>
|
||||||
|
</>
|
||||||
|
<center><A href="<%=path %>/goods?type=goodsDetailQian&id=${goods.id }"><FONT color=#ff0000></FONT>${goods.mingcheng }</A></center>
|
||||||
|
</P>
|
||||||
|
</TD>
|
||||||
|
</TR>
|
||||||
|
</TABLE>
|
||||||
|
</TD>
|
||||||
|
</c:forEach>
|
||||||
|
</TR>
|
||||||
|
</TABLE>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!-- 右侧 -->
|
||||||
|
<!-- 左侧 -->
|
||||||
|
<div id="sidebar">
|
||||||
|
<jsp:include flush="true" page="/site/inc/left.jsp"></jsp:include>
|
||||||
|
</div>
|
||||||
|
<!-- 左侧 -->
|
||||||
|
<div style="clear: both;"> </div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="footer-bgcontent">
|
||||||
|
<div id="footer">
|
||||||
|
<p><a href="<%=path %>/login.jsp">系统后台</a></p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -0,0 +1,90 @@
|
|||||||
|
<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
|
||||||
|
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
|
||||||
|
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
|
||||||
|
<%@ page isELIgnored="false" %>
|
||||||
|
<%
|
||||||
|
String path = request.getContextPath();
|
||||||
|
%>
|
||||||
|
|
||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="pragma" content="no-cache"/>
|
||||||
|
<meta http-equiv="cache-control" content="no-cache"/>
|
||||||
|
<meta http-equiv="expires" content="0"/>
|
||||||
|
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3"/>
|
||||||
|
<meta http-equiv="description" content="This is my page"/>
|
||||||
|
|
||||||
|
<link href="<%=path %>/css/qiantai.css" rel="stylesheet" type="text/css" media="screen" />
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
|
||||||
|
</script>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<div id="wrapper">
|
||||||
|
<div id="logo">
|
||||||
|
<h1><a href="#">基于JSP的高校快餐店订餐系统
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a></h1>
|
||||||
|
<p><em><a href="#"> </a></em></p>
|
||||||
|
</div>
|
||||||
|
<hr/>
|
||||||
|
<!-- 头部 -->
|
||||||
|
<div id="header">
|
||||||
|
<jsp:include flush="true" page="/site/inc/daohang.jsp"></jsp:include>
|
||||||
|
</div>
|
||||||
|
<!-- 头部 -->
|
||||||
|
|
||||||
|
|
||||||
|
<div id="page">
|
||||||
|
<div id="page-bgtop">
|
||||||
|
<!-- 右侧 -->
|
||||||
|
<div id="content">
|
||||||
|
<div class="post">
|
||||||
|
<!-- <h2 class="title"><a href="#">菜品信息</a></h2> -->
|
||||||
|
<div class="entry">
|
||||||
|
<form name="ff" method="post" action="<%=path %>/goods?type=goodsRes">
|
||||||
|
<table align="left" border="0" cellpadding="9" cellspacing="9">
|
||||||
|
<tr align='center'>
|
||||||
|
<td style="width: 60px;" align="left">
|
||||||
|
菜品名称:
|
||||||
|
</td>
|
||||||
|
<td align="left">
|
||||||
|
<input name="mingcheng" type="text" style="width: 200px;" />
|
||||||
|
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr align='center'>
|
||||||
|
<td style="width: 60px;" align="left"></td>
|
||||||
|
<td align="left">
|
||||||
|
<input type="submit" value="查询"/>
|
||||||
|
<input type="reset" value="重置"/>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!-- 右侧 -->
|
||||||
|
<!-- 左侧 -->
|
||||||
|
<div id="sidebar">
|
||||||
|
<jsp:include flush="true" page="/site/inc/left.jsp"></jsp:include>
|
||||||
|
</div>
|
||||||
|
<!-- 左侧 -->
|
||||||
|
<div style="clear: both;"> </div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="footer-bgcontent">
|
||||||
|
<div id="footer">
|
||||||
|
<p><a href="<%=path %>/login.jsp">系统后台</a></p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -0,0 +1,62 @@
|
|||||||
|
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
|
||||||
|
<%@ page isELIgnored="false" %>
|
||||||
|
<%@ taglib uri="http://java.fckeditor.net" prefix="FCK"%>
|
||||||
|
|
||||||
|
<%
|
||||||
|
String path = request.getContextPath();
|
||||||
|
%>
|
||||||
|
|
||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<base target="_self"/>
|
||||||
|
<meta http-equiv="pragma" content="no-cache" />
|
||||||
|
<meta http-equiv="cache-control" content="no-cache" />
|
||||||
|
<meta http-equiv="expires" content="0" />
|
||||||
|
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3" />
|
||||||
|
<meta http-equiv="description" content="This is my page" />
|
||||||
|
|
||||||
|
<link rel="stylesheet" type="text/css" href="<%=path %>/css/base.css" />
|
||||||
|
|
||||||
|
<script language="javascript">
|
||||||
|
function c()//无内容提示请输入回复内容
|
||||||
|
{
|
||||||
|
if(document.formAdd.huifu.value=="")
|
||||||
|
{
|
||||||
|
alert("请输入回复内容");
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
document.formAdd.submit();//有内容将内容提交
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body leftmargin="2" topmargin="9" background='<%=path %>/img/allbg.gif'>
|
||||||
|
<form action="<%=path %>/liuyan?type=liuyanHuifu" name="formAdd" method="post">
|
||||||
|
<table width="98%" align="center" border="0" cellpadding="4" cellspacing="1" bgcolor="#CBD8AC" style="margin-bottom:8px">
|
||||||
|
<tr bgcolor="#EEF4EA">
|
||||||
|
<td colspan="3" background="<%=path %>/img/wbg.gif" class='title'><span>信息交流</span></td>
|
||||||
|
</tr>
|
||||||
|
<tr align='center' bgcolor="#FFFFFF" onMouseMove="javascript:this.bgColor='red';" onMouseOut="javascript:this.bgColor='#FFFFFF';" height="22">
|
||||||
|
<td width="25%" bgcolor="#FFFFFF" align="right">
|
||||||
|
回复内容:
|
||||||
|
</td>
|
||||||
|
<td width="75%" bgcolor="#FFFFFF" align="left">
|
||||||
|
<input type="text" name="huifu" size="80"/>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr align='center' bgcolor="#FFFFFF" onMouseMove="javascript:this.bgColor='red';" onMouseOut="javascript:this.bgColor='#FFFFFF';" height="22">
|
||||||
|
<td width="25%" bgcolor="#FFFFFF" align="right">
|
||||||
|
|
||||||
|
</td>
|
||||||
|
<td width="75%" bgcolor="#FFFFFF" align="left">
|
||||||
|
<input type="hidden" name="id" value="<%=request.getParameter("id") %>"/> <!-- 获得id属性 -->
|
||||||
|
<input type="button" value="提交" onclick="c()"/> <!-- 触发之前定义的是否有内容的判断 -->
|
||||||
|
<input type="reset" value="重置"/>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</form>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -0,0 +1,23 @@
|
|||||||
|
<%@ page language="java" pageEncoding="UTF-8"%>
|
||||||
|
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
|
||||||
|
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
|
||||||
|
<%@ page isELIgnored="false" %>
|
||||||
|
<%
|
||||||
|
String path = request.getContextPath();
|
||||||
|
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
|
||||||
|
%>
|
||||||
|
|
||||||
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="pragma" content="no-cache">
|
||||||
|
<meta http-equiv="cache-control" content="no-cache">
|
||||||
|
<meta http-equiv="expires" content="0">
|
||||||
|
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
|
||||||
|
<meta http-equiv="description" content="This is my page">
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<div style="color: green;" align="left">${requestScope.msg}</div> <!-- 返回的request作用域里面的msg属性的值 -->
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -0,0 +1,180 @@
|
|||||||
|
<%@ page language="java" pageEncoding="UTF-8"%>
|
||||||
|
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
|
||||||
|
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
|
||||||
|
<%@ page isELIgnored="false" %>
|
||||||
|
<%
|
||||||
|
String path = request.getContextPath();
|
||||||
|
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
|
||||||
|
%>
|
||||||
|
|
||||||
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
|
||||||
|
<title>My JSP 'orderDetail.jsp' starting page</title>
|
||||||
|
|
||||||
|
<meta http-equiv="pragma" content="no-cache">
|
||||||
|
<meta http-equiv="cache-control" content="no-cache">
|
||||||
|
<meta http-equiv="expires" content="0">
|
||||||
|
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
|
||||||
|
<meta http-equiv="description" content="This is my page">
|
||||||
|
<style type="text/css">
|
||||||
|
a:link { color: #000000; text-decoration: none } //链接平常的状态,超链接无下划线
|
||||||
|
a:visited { color: #000000; text-decoration: none } //链接被访问之后,超链接无下划线
|
||||||
|
a:active { color: #000000; text-decoration: none } //鼠标放到连接上的时候,超链接无下划线
|
||||||
|
a:hover { color: #ff0000; text-decoration: none; position: relative; right: 0px; top: 1px } //连接被按下的时候,超链接无下划线,相对定位(随窗口大小变化而变化)
|
||||||
|
|
||||||
|
.C_Font{ font-weight:bold;}
|
||||||
|
.Red{ color:#FF0000; font-weight:bold;}
|
||||||
|
.Sell_Title{ text-align:center;background:url(<%=path %>/images/icon_sell.gif) top no-repeat left;
|
||||||
|
font-weight:bold; font-size:14px; color:#FFFFFF; height:30px;}
|
||||||
|
.UserName{ padding:4px 0;}
|
||||||
|
.UserName input{ width:100px; border:1px solid #666;}
|
||||||
|
.UserRegster{ padding:5px 8px 5px 0;}
|
||||||
|
.UserRegster a,.UserRegster a:link,.UserRegster a:visited{ color:#f50;}
|
||||||
|
.UserRegster input{ background:url(<%=path %>/images/button.gif) no-repeat; width:73px; height:23px; border:0px; cursor:hand;}
|
||||||
|
.LoginTitle{text-align:center;background:url(<%=path %>/images/icon_login.gif) top no-repeat left;font-weight:bold; font-size:14px; color:#FFFFFF; height:30px;}
|
||||||
|
.Logo{ text-align:center; vertical-align:top; margin:8px 0;}
|
||||||
|
.Item01Menu{ text-align:right; vertical-align:top;}
|
||||||
|
.Item01Menu a{ padding:2px 10px; background:url(<%=path %>/images/dot_main01.gif) no-repeat left;}
|
||||||
|
.C_Item_Title{ background:url(<%=path %>/images/icon05.gif) no-repeat center;font-weight:bold; text-align:center; color:#fff; height:34px;}
|
||||||
|
.C_Item_Title a,.C_Item_Title a:link,.C_Item_Title a:visited{font-weight:bold; text-align:center; color:#fff;}
|
||||||
|
|
||||||
|
.C_login_Title{ background:url(<%=path %>/images/heng.gif) no-repeat center;font-weight:bold;font-size:12px; text-align:center; color:#fff; height:34px; padding-top:10px;}
|
||||||
|
.C_Sell_Title{ background:url(<%=path %>/images/icon03.gif) no-repeat center;font-weight:bold; text-align:center; color:#fff; height:34px; padding-top:10px;}
|
||||||
|
.C_DC_Title{ background:url(<%=path %>/images/DC.gif) no-repeat center;font-weight:bold; text-align:center; color:#fff; height:34px; padding-top:10px;}
|
||||||
|
.C_Sort_Title{ background:url(<%=path %>/images/heng.gif) no-repeat center;font-weight:bold;font-size:12px; text-align:center; color:#fff; height:34px; padding-top:10px;}
|
||||||
|
.C_Sort_Title a,.C_Sort_Title a:link,.C_Sort_Title a:visited{ color:#fff;}
|
||||||
|
.C_Search_Title{ background:url(<%=path %>/images/Recomm_05.gif) no-repeat center;font-weight:bold; text-align:center; color:#fff; height:34px; padding-top:10px;}
|
||||||
|
.C_Help_Title{ padding:4px 0;}
|
||||||
|
.C_Help_Title a{ background:url(<%=path %>/images/icon_sell.gif) no-repeat center;font-weight:bold; color:#fff; height:24px; padding-left:15px; width:175px; padding-top:5px;}
|
||||||
|
.C_Help_Title a,.C_Help_Title a:link,.C_Help_Title a:visited{ color:#fff;}
|
||||||
|
|
||||||
|
.C_Goods_Title{ border:1px solid #ccc; background:url(<%=path %>/images/Bule_46.gif) repeat-x; margin-bottom:5px; height:32px;}
|
||||||
|
.C_Goods_Border{ border-top:4px solid #4380CC; padding-top:10px;}
|
||||||
|
.C_Item_bg{ background:url(<%=path %>/images/Bule_56.gif) repeat-y; padding:3px 8px;}
|
||||||
|
.C_pages{ padding:5px 10px; text-align:center;}
|
||||||
|
|
||||||
|
.C_Input{ background:url(<%=path %>/images/button2.gif) no-repeat; width:73px; height:23px; border:0px; cursor:hand; color:#333;}
|
||||||
|
.input{ color:#f50;height:18px; }
|
||||||
|
.C_Input02{background:url(<%=path %>/images/button.gif) no-repeat; width:73px; height:23px; border:0px; cursor:hand; color:#333;}
|
||||||
|
.C_Input03{background:url(<%=path %>/images/btn_2.png) no-repeat; width:69px; height:28px; border:0px; cursor:hand; color:#fff;}
|
||||||
|
.Register{background:url(<%=path %>/images/btn_1.png) no-repeat; width:105px; height:28px; border:0px; cursor:hand; text-align:center; padding-top:6px;}
|
||||||
|
//no-repeat不平铺
|
||||||
|
.Order_Table{ margin:15px 0;}
|
||||||
|
.Order_Table td{ font-size:14px;}
|
||||||
|
.Order_Font{ color:#FF0000; font-weight:bold;}
|
||||||
|
.Order_Title{ font-size:14px; font-weight:bold; padding:4px 5px;}
|
||||||
|
.Order_Total{ font-weight:bold; padding:5px 10px 0 10px; color:#FF0000; text-align:center; font-size:14px;}
|
||||||
|
.Car_Leftbg{ background:url(<%=path %>/images/Car_05.gif) repeat-y left; width:8px;}
|
||||||
|
.Car_Rightbg{ background:url(<%=path %>/images/Car_13.gif) repeat-y right; width:8px;}
|
||||||
|
.C_Carbg_Default{ background:url(<%=path %>/images/Car_21.gif) no-repeat center;font-size:12px; text-align:center; width:150px;}
|
||||||
|
.C_Carbg_Current{ background:url(<%=path %>/images/Car_18.gif) no-repeat center;font-size:12px; text-align:center; color:#fff; width:150px;}
|
||||||
|
.Onlinpay{
|
||||||
|
}
|
||||||
|
.Onlinpay input{ background:url(<%=path %>/images/Car_icon_07.gif) no-repeat center; width:115px; height:30px; border:0px; cursor:hand; padding-bottom:8px; padding-right:8px;}
|
||||||
|
|
||||||
|
.textBox{
|
||||||
|
border-bottom:1px;
|
||||||
|
border-left:1px;
|
||||||
|
border-right:1px;
|
||||||
|
border-top:1px;
|
||||||
|
border-color:#666666;
|
||||||
|
border-style:solid;
|
||||||
|
}
|
||||||
|
|
||||||
|
.itemTitle {
|
||||||
|
font-family: "黑体", "Arial Black";
|
||||||
|
font-size: 16px;
|
||||||
|
line-height: 40px;
|
||||||
|
font-weight: 200;
|
||||||
|
color: #000000;
|
||||||
|
text-decoration: none;
|
||||||
|
letter-spacing: 5px;
|
||||||
|
} //字母间距5px
|
||||||
|
|
||||||
|
.blueText {
|
||||||
|
font-family: "宋体", System;
|
||||||
|
font-size: 12px;
|
||||||
|
line-height: 20px;
|
||||||
|
color: #0033CC;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.redText {
|
||||||
|
font-family: "宋体", System;
|
||||||
|
font-size: 12px;
|
||||||
|
line-height: 20px;
|
||||||
|
color: #FF0000;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.text {
|
||||||
|
font-family: "宋体", System;
|
||||||
|
font-size: 12px;
|
||||||
|
line-height: 20px;
|
||||||
|
color: #000000;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.body {
|
||||||
|
margin-left: 0px;
|
||||||
|
margin-top: 2px;
|
||||||
|
margin-right: 0px;
|
||||||
|
margin-bottom: 2px;
|
||||||
|
background-image: url(<%=path %>/images/backGroup.gif);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.header_menu{background:url(<%=path %>/images/header_menu_02.gif) repeat-x;}
|
||||||
|
|
||||||
|
|
||||||
|
.whiteTitle{
|
||||||
|
font-family: "宋体", System;
|
||||||
|
font-size: 13px;
|
||||||
|
line-height: 20px;
|
||||||
|
font-weight: bold;
|
||||||
|
color: #FFFFFF;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.whiteText {
|
||||||
|
font-family: "宋体", System;
|
||||||
|
font-size: 12px;
|
||||||
|
line-height: 20px;
|
||||||
|
color: #FFFFFF;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.blackTitle {
|
||||||
|
font-family: "宋体", System;
|
||||||
|
font-size: 12px;
|
||||||
|
font-weight: bold;
|
||||||
|
line-height: 20px;
|
||||||
|
color: #000000;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body class="body" leftmargin="0" rightmargin="0">
|
||||||
|
<table cellspacing="1" cellpadding="0" width="100%" border="0" bgcolor="#F7F3F7">
|
||||||
|
<tr height="26">
|
||||||
|
<td class="blackTitle" align="center">商品名称</td>
|
||||||
|
<td class="blackTitle" align="center">购买数量</td>
|
||||||
|
<td class="blackTitle" align="center">购买价格</td>
|
||||||
|
</tr>
|
||||||
|
<c:forEach items="${requestScope.orderItemList}" var="orderItem">
|
||||||
|
<tr class="text" align="center" bgcolor="#FFFFFF">
|
||||||
|
<td>${orderItem.goods.mingcheng}</td>
|
||||||
|
<td>${orderItem.goods_quantity}</td>
|
||||||
|
<td>${orderItem.goods.tejia}</td>
|
||||||
|
</tr>
|
||||||
|
</c:forEach>
|
||||||
|
</table>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -0,0 +1,123 @@
|
|||||||
|
<%@ page language="java" pageEncoding="UTF-8"%>
|
||||||
|
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
|
||||||
|
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
|
||||||
|
<%@ page isELIgnored="false" %>
|
||||||
|
<%
|
||||||
|
String path = request.getContextPath();
|
||||||
|
%>
|
||||||
|
|
||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head> <!-- 订单填写界面 -->
|
||||||
|
<meta http-equiv="pragma" content="no-cache"/>
|
||||||
|
<meta http-equiv="cache-control" content="no-cache"/>
|
||||||
|
<meta http-equiv="expires" content="0"/>
|
||||||
|
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3"/>
|
||||||
|
<meta http-equiv="description" content="This is my page"/>
|
||||||
|
|
||||||
|
<link href="<%=path %>/css/qiantai.css" rel="stylesheet" type="text/css" media="screen" />
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
function back1() //返回之前的页面
|
||||||
|
{
|
||||||
|
window.history.go(-1);
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<div id="wrapper">
|
||||||
|
<div id="logo">
|
||||||
|
<h1><a href="#">基于JSP的高校快餐店订餐系统
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a></h1>
|
||||||
|
<p><em><a href="#"> </a></em></p>
|
||||||
|
</div>
|
||||||
|
<hr/>
|
||||||
|
<!-- 头部各种功能 -->
|
||||||
|
<div id="header">
|
||||||
|
<jsp:include flush="true" page="/site/inc/daohang.jsp"></jsp:include>
|
||||||
|
</div>
|
||||||
|
<!-- 头部各种功能 -->
|
||||||
|
|
||||||
|
|
||||||
|
<div id="page">
|
||||||
|
<div id="page-bgtop">
|
||||||
|
<!--右侧 -->
|
||||||
|
<div id="content">
|
||||||
|
<div class="post">
|
||||||
|
<h2 class="title"><a href="#">填写订单</a></h2>
|
||||||
|
<div class="entry">
|
||||||
|
<form action="<%=path %>/buy?type=orderSubmit" name="f" method="post">
|
||||||
|
<table width="98%" align="center" border="0" cellpadding="9" cellspacing="9">
|
||||||
|
<tr align='center'>
|
||||||
|
<td width="20%" bgcolor="#FFFFFF" align="left">
|
||||||
|
收货人帐号:
|
||||||
|
</td>
|
||||||
|
<td width="80%" bgcolor="#FFFFFF" align="left">
|
||||||
|
<input type="text" readonly="readonly" value="${sessionScope.user.loginname}"/>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr align='center'>
|
||||||
|
<td width="20%" bgcolor="#FFFFFF" align="left">
|
||||||
|
收货人姓名:
|
||||||
|
</td>
|
||||||
|
<td width="80%" bgcolor="#FFFFFF" align="left">
|
||||||
|
<input type="text" readonly="readonly" value="${sessionScope.user.name}"/>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr align='center'>
|
||||||
|
<td width="20%" bgcolor="#FFFFFF" align="left">
|
||||||
|
送货地址:
|
||||||
|
</td>
|
||||||
|
<td width="80%" bgcolor="#FFFFFF" align="left">
|
||||||
|
<input type="text" name="songhuodizhi"/>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr align='center'>
|
||||||
|
<td width="20%" bgcolor="#FFFFFF" align="left">
|
||||||
|
付款方式:
|
||||||
|
</td>
|
||||||
|
<td width="80%" bgcolor="#FFFFFF" align="left">
|
||||||
|
<select name="fukuanfangshi" style="width:155px;">
|
||||||
|
<option value="货到付款">货到付款</option>
|
||||||
|
</select> <!-- 下拉菜单 -->
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
<table>
|
||||||
|
<tr height="7"><td></td></tr>
|
||||||
|
<tr>
|
||||||
|
<td width="120"></td>
|
||||||
|
<td>
|
||||||
|
<input type="button" value="返回" style="width: 80px;height: 30px;" onclick="back1()">
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<input type="button" value="提交订单" style="width: 80px;height: 30px;" onclick="javascript:document.f.submit();">
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!-- 右侧 -->
|
||||||
|
<!-- 左侧菜品类别 -->
|
||||||
|
<div id="sidebar">
|
||||||
|
<jsp:include flush="true" page="/site/inc/left.jsp"></jsp:include>
|
||||||
|
</div>
|
||||||
|
<!-- 左侧菜品类别 -->
|
||||||
|
<div style="clear: both;"> </div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="footer-bgcontent">
|
||||||
|
<div id="footer">
|
||||||
|
<p><a href="<%=path %>/login.jsp">系统后台</a></p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -0,0 +1,94 @@
|
|||||||
|
<%@ page language="java" pageEncoding="UTF-8"%>
|
||||||
|
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
|
||||||
|
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
|
||||||
|
<%@ page isELIgnored="false" %>
|
||||||
|
<%
|
||||||
|
String path = request.getContextPath();
|
||||||
|
%>
|
||||||
|
|
||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="pragma" content="no-cache"/>
|
||||||
|
<meta http-equiv="cache-control" content="no-cache"/>
|
||||||
|
<meta http-equiv="expires" content="0"/>
|
||||||
|
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3"/>
|
||||||
|
<meta http-equiv="description" content="This is my page"/>
|
||||||
|
|
||||||
|
<link href="<%=path %>/css/qiantai.css" rel="stylesheet" type="text/css" media="screen" />
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
function back1()//返回之前的界面
|
||||||
|
{
|
||||||
|
window.history.go(-1);
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<div id="wrapper">
|
||||||
|
<div id="logo">
|
||||||
|
<h1><a href="#">基于JSP的高校快餐店订餐系统
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</a></h1>
|
||||||
|
<p><em><a href="#"> </a></em></p>
|
||||||
|
</div>
|
||||||
|
<hr/>
|
||||||
|
<!-- 头部各种功能 -->
|
||||||
|
<div id="header">
|
||||||
|
<jsp:include flush="true" page="/site/inc/daohang.jsp"></jsp:include>
|
||||||
|
</div>
|
||||||
|
<!-- 头部各种功能 -->
|
||||||
|
|
||||||
|
|
||||||
|
<div id="page">
|
||||||
|
<div id="page-bgtop">
|
||||||
|
<!-- 右侧 -->
|
||||||
|
<div id="content">
|
||||||
|
<div class="post">
|
||||||
|
<h2 class="title"><a href="#"></a></h2>
|
||||||
|
<div class="entry">
|
||||||
|
<table width="99%" border="0" cellpadding="5" cellspacing="5" bgcolor="#FFFFFF" align="center" style="margin-top:8px">
|
||||||
|
<tr>
|
||||||
|
<td align="left" style="color: red">恭喜您,订单提交成功!</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td style="font-size: 15px;">订单编号:${requestScope.order.bianhao }</td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
<tr>
|
||||||
|
<td style="font-size: 15px;">总金额:${requestScope.order.jine }</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td style="font-size: 15px;">下单日期:${requestScope.order.shijian }</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td style="font-size: 15px;">送货地址:${requestScope.order.songhuodizhi }</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td style="font-size: 15px;">付款方式:${requestScope.order.fukuanfangshi }</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!-- 右侧 -->
|
||||||
|
<!-- 左侧菜品类别 -->
|
||||||
|
<div id="sidebar">
|
||||||
|
<jsp:include flush="true" page="/site/inc/left.jsp"></jsp:include>
|
||||||
|
</div>
|
||||||
|
<!-- 左侧菜品类别 -->
|
||||||
|
<div style="clear: both;"> </div> <!--clear:both该属性的值指出了不允许有浮动元素 -->
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="footer-bgcontent">
|
||||||
|
<div id="footer">
|
||||||
|
<p><a href="<%=path %>/login.jsp">系统后台</a></p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -0,0 +1,23 @@
|
|||||||
|
<%@ page language="java" pageEncoding="UTF-8"%>
|
||||||
|
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
|
||||||
|
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
|
||||||
|
<%@ page isELIgnored="false" %>
|
||||||
|
<%
|
||||||
|
String path = request.getContextPath();
|
||||||
|
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
|
||||||
|
%>
|
||||||
|
|
||||||
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="pragma" content="no-cache">
|
||||||
|
<meta http-equiv="cache-control" content="no-cache">
|
||||||
|
<meta http-equiv="expires" content="0">
|
||||||
|
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
|
||||||
|
<meta http-equiv="description" content="This is my page">
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<center>通过验证,登录成功</center>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -0,0 +1 @@
|
|||||||
|
Subproject commit 7ef20de6fbfb1a60e420462747344546a2e84615
|
Loading…
Reference in new issue