📄 clientshowoneorderlist.jsp
字号:
<%@ page contentType="text/html; charset=gb2312"%>
<%@page import="java.util.Hashtable"%>
<%@page import="java.util.ArrayList" %>
<%
if(request.getParameter("logged")!=null){
%>
<script language="javascript">
alert("你还未登陆");
</script>
<%
}else if(request.getParameter("done")!=null){
%>
<script language="javascript">
alert("操作成功");
</script>
<%
}
%>
<style type="text/css">
<!--
A {
COLOR: #3333CC; TEXT-DECORATION: none ;border-bottom:1px dotted
}
.mobile_top5_1{
margin:5px 4;
padding:0;
width:190px;
height:127px;
background:url(<%=request.getContextPath()%>/image/moblie_bg1.gif);
}
.mobile_top5_1 h4{
margin:15px 3px 2 3px;
font-size:12px;
width:20px;
height:100px;
float:left;
text-align: center;
font-weight:normal;
}
.mobile_top5_1 table{
margin:5px 5px 2px 0;
float:right;
}
.aindex{color: blue;font-size: 13px}
.currentindex{color: red;font-size: 13px}
.index{color: black;font-size: 12px}
.style1 {color: #ECE9D8;font-size: 12px}
.style3 {font-size: 12px}
.style4 {color: #3333CC}
-->
</style>
<center>
<table width="734" height="400" border="1" align="center" cellpadding="0" cellspacing="1">
<form action="print.jsp" name="form1" method="post" >
<%
request.setCharacterEncoding("gb2312");
ArrayList userOrderList=(ArrayList)(session.getAttribute("userOrderList".toUpperCase()));
if(userOrderList!=null){
String orderID="",addDay="",totalPrice="",card="",num="",picture="",price="",commodityNum="";
//Hashtable table=(Hashtable)userOrderList.get(0);
//orderID=table.get("orderID".toUpperCase()).toString();
//addDay=table.get("addDay".toUpperCase()).toString();
//totalPrice=table.get("totalPrice".toUpperCase()).toString();
System.out.println("sfsdfsdf");
for(int i=0;i<userOrderList.size();i++){
Hashtable table=(Hashtable)userOrderList.get(i);
//System.out.println("?????");
card=table.get("card".toUpperCase()).toString();
//System.out.println("33333");
num=table.get("num".toUpperCase()).toString();
//System.out.println("44444444");
price=table.get("price".toUpperCase()).toString();price=price.substring(0,price.indexOf("."));
//System.out.println("?5555555??");
picture=request.getContextPath()+"/image/phone/"+card+"/"+num+"/"+table.get("picture".toUpperCase()).toString();
//System.out.println("6666");
commodityNum=table.get("commodityNum".toUpperCase()).toString();
//System.out.println("!!!!");
%>
<TABLE cellSpacing=1 cellPadding=0 width=67% bgColor=#6a6967
border=0>
<TBODY>
<TR vAlign=bottom>
<TD bgColor=#c8cccf colSpan=3 height=20 align="center"><font color="#663300"><%=card%>:<%=num%></font></TD></TR>
<TR align=middle>
<TD width=183 bgColor=#ffffff height=112>
<div align="center"><img src="<%=picture%>" width=169 height=139></div></TD>
<TD width=477 bgColor=#f9f6ed>
<TABLE width=463 height="115">
<TBODY>
<TR>
<TD width="335" height="109">
<table>
<tr>
<td height="26"><img src="<%=request.getContextPath()%>/image/biaoge_jiantou.jpg" width="45"> 手机品牌:<%=card%></td>
</tr>
<tr>
<td height="32"><img src="<%=request.getContextPath()%>/image/biaoge_jiantou.jpg" width="45"> 手机型号:<%=num%></td>
</tr>
<tr>
<td height="31"><img src="<%=request.getContextPath()%>/image/biaoge_jiantou.jpg" width="45"> 手机价格:<%=price%>(元)</td>
</tr>
<tr>
<td height="32"><img src="<%=request.getContextPath()%>/image/biaoge_jiantou.jpg" width="45"> 购买数量:<%=commodityNum%>(件) </td>
</tr>
</table> </TD></TR></TBODY></TABLE></TD>
</TR></TBODY></TABLE>
<%
}
}
%>
</form>
<a href="javascript:window.close()">关闭</a>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -