⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 orderdetail.jsp

📁 j2ee框架下的mvc模式的一个网上销售系统
💻 JSP
字号:
<%@ page contentType="text/html; charset=gb2312"%>
<%@ page
	import="com.qrsx.buyflowers.beans.*,java.util.*,java.sql.*,java.io.*"%>
<%--<jsp:useBean id="userBean" class="com.qrsx.buyflowers.beans.UserBean" scope="session"/>
<jsp:useBean id="userClass" class="com.qrsx.buyflowers.beans.UsersClass" scope="session">
</jsp:useBean>

--%>
<%
request.setCharacterEncoding("gb2312");
String name=(String)session.getAttribute("name");

String ordersId=request.getParameter("ordersId");
%>

<!-- saved from url=(0047)http://www.qdhua.com/gouwu.asp?action=show&lx=1 -->
<HTML>
	<HEAD>
		<TITLE>cart</TITLE>
		<META http-equiv=Content-Type content="text/html; charset=gb2312">
		<LINK href="cartImage.files/css.css" type=text/css rel=stylesheet>
		<STYLE>
TD {
	FONT-SIZE: 9pt; COLOR: #353535; LINE-HEIGHT: 120%
}
BODY {
	FONT-SIZE: 9pt; LINE-HEIGHT: 120%
}
A:link {
	COLOR: #000000; TEXT-DECORATION: none
}
A:visited {
	COLOR: #000000; TEXT-DECORATION: none
}
A:active {
	COLOR: #000000; TEXT-DECORATION: none
}
A:hover {
	RIGHT: 0px; COLOR: #336699; POSITION: relative; TOP: 1px; TEXT-DECORATION: none
}
.white1 {
	FONT-WEIGHT: bold; FONT-SIZE: 9pt; COLOR: #ffffff
}
.blue1 {
	FONT-WEIGHT: bold; COLOR: #00addf
}
.blue2 {
	FONT-WEIGHT: bold; FONT-SIZE: 12pt; COLOR: #00addf
}
</STYLE>

		<SCRIPT language=JavaScript type=text/JavaScript>
<!--



function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
//-->
</SCRIPT>

		<STYLE type=text/css>
A:link {
	FONT-SIZE: 9pt; TEXT-DECORATION: none
}
UNKNOWN {
	FONT-SIZE: 9pt; COLOR: #f51424
}
UNKNOWN {
	COLOR: #000000
}
UNKNOWN {
	FONT-SIZE: 9pt; COLOR: #000000
}
UNKNOWN {
	FONT-FAMILY: Arial, Helvetica, sans-serif
}
</STYLE>

		<SCRIPT language=JavaScript type=text/JavaScript>
<!--
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//-->
</SCRIPT>

		<META content="MSHTML 6.00.2900.2802" name=GENERATOR>
	</HEAD>



	<BODY>
		<TABLE cellSpacing=0 cellPadding=0 width=812 align=center
			bgColor=#ffffff border=0>
			<TBODY>
				<TR>
					<TD>
						<IMG height=1 alt="" src="cartImage.files/spacer.gif" width=38
							border=0>
					</TD>
					<TD>
						<IMG height=1 alt="" src="cartImage.files/spacer.gif" width=63
							border=0>
					</TD>
					<TD>
						<IMG height=1 alt="" src="cartImage.files/spacer.gif" width=59
							border=0>
					</TD>
					<TD>
						<IMG height=1 alt="" src="cartImage.files/spacer.gif" width=56
							border=0>
					</TD>
					<TD>
						<IMG height=1 alt="" src="cartImage.files/spacer.gif" width=62
							border=0>
					</TD>
					<TD>
						<IMG height=1 alt="" src="cartImage.files/spacer.gif" width=16
							border=0>
					</TD>
					<TD>
						<IMG height=1 alt="" src="cartImage.files/spacer.gif" width=44
							border=0>
					</TD>
					<TD>
						<IMG height=1 alt="" src="cartImage.files/spacer.gif" width=77
							border=0>
					</TD>
					<TD>
						<IMG height=1 alt="" src="cartImage.files/spacer.gif" width=82
							border=0>
					</TD>
					<TD>
						<IMG height=1 alt="" src="cartImage.files/spacer.gif" width=77
							border=0>
					</TD>
					<TD>
						<IMG height=1 alt="" src="cartImage.files/spacer.gif" width=80
							border=0>
					</TD>
					<TD>
						<IMG height=1 alt="" src="cartImage.files/spacer.gif" width=72
							border=0>
					</TD>
					<TD>
						<IMG height=1 alt="" src="cartImage.files/spacer.gif" width=34
							border=0>
					</TD>
				</TR>
				<TR>
					<TD colSpan=6 rowSpan=2>
						<IMG height=79 alt="" src="cartImage.files/title_r1_c1.gif"
							width=294 border=0 name=title_r1_c1>
					</TD>
					<TD bgColor=#ffffff colSpan=7>
						<DIV align=right>
							<A name=top></A><A href="cart.jsp"><IMG height=20
									src="cartImage.files/top_cart.gif" width=76 border=0>
							</A>
							<A onfocus=this.blur() href="checkMyInfo.jsp"><IMG height=20
									src="cartImage.files/top_my.gif" width=76 border=0>
							</A>
							<A onfocus=this.blur() href="../tourist/help.jsp"><IMG
									height=20 src="cartImage.files/top_faq.gif" width=76 border=0>
							</A>
							<A onfocus=this.blur() href="../index.jsp?exit=yes"><IMG
									height=20 src="cartImage.files/top_wh.gif" width=76 border=0>
							</A>
						</DIV>
					</TD>
				</TR>
				<TR>
					<TD bgColor=#ffffff colSpan=7>
						<TABLE height=44 cellSpacing=0 cellPadding=0 width="61%"
							align=right border=0>
							<TBODY>
								<TR>
									<TD>
										<DIV align=left>
											订花热线:0532-12345678
										</DIV>
									</TD>
								</TR>
								<TR>
									<TD>
										<DIV align=left>
											订花 Q&nbsp;Q:12345678
										</DIV>
									</TD>
								</TR>
							</TBODY>
						</TABLE>
					</TD>
				</TR>
				<TR>
					<TD>
						<IMG height=27 alt="" src="cartImage.files/title_r2_c1.gif"
							width=38 border=0 name=title_r2_c1>
					</TD>
					<TD>
						<A href="../index.jsp"><IMG height=27 alt=""
								src="cartImage.files/title_r2_c2.gif" width=63 border=0
								name=title_r2_c2>
						</A>
					</TD>
					<TD colspan="11">
						<A href="../tourist/produceInfo.jsp"><IMG height=27 alt=""
								src="cartImage.files/title_r2_c10.gif" width=77 border=0
								name=title_r2_c10>
						</A><A href="../tourist/language.jsp"><IMG height=27 alt=""
								src="cartImage.files/title_r2_c11.gif" width=80 border=0
								name=title_r2_c11>
						</A><A href="../tourist/flowersLanguage.jsp"><IMG height=27 alt=""
								src="cartImage.files/title_r2_c12.gif" width=72 border=0
								name=title_r2_c12>
						</A>
						<IMG height=27 alt="" src="cartImage.files/title_r2_c13.gif"
							width=476 border=0 name=title_r2_c13>
					</TD>
				</TR>
			</TBODY>
		</TABLE>
		<DIV align=left>
			<BR>
		</DIV>
		<TABLE cellSpacing=1 cellPadding=2 width=812 align=center border=0>
			<TBODY>
				<TR>
					<TD width=397 height=40>
						<DIV class=blue2 align=center>
							<div align="left">
								以下为您的所有历史订单:
							</div>
							<DIV align=left></DIV>
						</DIV>
					</TD>
					<TD width=352>
						<DIV align=center>
							<IMG height=60 src="cartImage.files/liucheng1.gif" width=235>
						</DIV>
					</TD>
				</TR>
			</TBODY>
		</TABLE>
		<table cellspacing=1 cellpadding=1 width=812 align=center
			bgcolor=#00addf border=0>
			<form action="cart.jsp" method=get>
			<tbody>
				<form action="">
				<tr bgcolor=#00addf>
					<td height=22 colspan="2" bgcolor=#00addf>
						<div class=white1 align=center>
							订单号
						</div>
					</td>
					<td width="21%" height=22>
						<div class=white1 align=center>
							商品名
						</div>
					</td>
					<td width="25%" class=white1>
						<div align="center">
							单价
						</div>
					</td>
					<td width="32%" class=white1>
						<div align="center">
							数量
						</div>
					</td>
				</tr>
				
				<%
				OrderDetailBean odb=new OrderDetailBean();
				OrderDetail od=null;
				od=odb.getOrderDetail(ordersId);
				
	            String goodsName=new String(od.getGoodsName().getBytes("gb2312"));
	            String goodsPrice=od.getGoodsPrice();
	            int goodsCount=od.getGoodsCount();
				%>
            <tr bgcolor=#FFFFFF>
					<td colspan="2">
						<div align=center>
							<%=ordersId %>
						
					</div></td>
					<td>
						<div align=center>
							<%=goodsName%>
					</div></td>	
					
					<td>
						<div align=center>
							<%=goodsPrice%>
						</div></td>
					
					<td>
						<div align=center>
							<%=goodsCount%>
						
					</div></td>
				</tr>
				<tr bgcolor=#ffffff>
					<td colspan=6 height=25>
						&nbsp;
						&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
						<DIV align=center>
							<FORM name=form1 method=post>
								<input onFocus=this.blur()
									onClick="this.form.action='../index.jsp';this.form.submit()"
									type=image height=43 width=93 src="cartImage.files/cart01.gif"
									border=0 name=imageField>
						<INPUT type=hidden name=h_price>
				</FORM>
						</DIV>
					</TD>
				</TR>
				<TR bgColor=#ebf9fd>
					<TD colSpan=6 height=36>
						<DIV align=center></DIV>
					</TD>
				</TR>
				
			</TBODY>
		</table>
		<BR>
		<TABLE cellSpacing=0 cellPadding=0 width=812 align=center
			bgColor=#e0e0e0 border=0>
			<TBODY>
				<TR>
					<TD>
						&nbsp;
					</TD>
				</TR>
			</TBODY>
		</TABLE>
		<table width=812 height="48" border=0 align=center cellpadding=0
			cellspacing=0>
			<tbody>
				<tr>
					<td height="16" bgcolor=#f5f5f5>
						<div align="center">
							<SPAN class=cfont><FONT color=#7f7f7f><B><A
										href="../admin/CheckLogin.jsp">管理员登陆</A>
								</B>
							</FONT>
							</SPAN>
						</div>
					</td>
				</tr>
				<tr>
					<td height="31" bgcolor=#f5f5f5>
						<div align="center">
							Copyright &copy; All Rights Reserved
						</div>
					</td>
				</tr>
			</tbody>
		</table>
		<p>
			&nbsp;
		</p>
	</BODY>
</HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -