list_info.jsp
资源名称:shop.rar [点击查看]
上传用户:yatiankong
上传日期:2014-05-16
资源大小:5604k
文件大小:9k
源码类别:
Applet
开发平台:
Java
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
- <%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*,java.lang.*" errorPage="" %>
- <%@ page import="MyFly.Book.Indent" %>
- <%@ page session="true" %>
- <%
- String username = (String)session.getAttribute("name");//?
- if ( username == null || username.equals("") ){
- //response.sendRedirect("login.jsp?msg=nologin");
- out.println("<Script language=JavaScript>alert('您还没登录,没有权利查看');javascript:history.back();</Script>");
- }
- %>
- <jsp:useBean id="my_indent" scope="page" class="MyFly.Book.Purchase"/>
- <%
- String mesg = "";
- String Uid = (String) session.getAttribute("userid");//?
- long uid = 0;
- try {
- uid = Long.parseLong(Uid);
- } catch (Exception e) {
- uid =0;
- mesg = "出现不可预知错误!";
- }
- if (!my_indent.getIndent(uid))//S??????
- mesg = "你在本站还没有购买过图书。" ;
- //System.out.print(my_indent.getIndent(uid));
- %>
- <script language="javascript">
- function openScript(url,name, width, height){
- var Win = window.open(url,name,'width=' + width + ',height=' + height + ',resizable=1,scrollbars=yes,menubar=no,status=yes' );
- }
- </script>
- <HTML><HEAD><TITLE>-查看订单-</TITLE>
- <META http-equiv=Content-Type content="text/html; charset=gb2312"><LINK
- href"../image/buyok_=shop.css" type=text/css rel=stylesheet><LINK
- href="../image/buyok_shop.css" type=text/css rel=stylesheet>
- <META content="MSHTML 6.00.2900.3086" name=GENERATOR></HEAD>
- <BODY>
- <CENTER>
- <TABLE class=grayline cellSpacing=0 cellPadding=0 width=760 align=center
- bgColor=#ffffff border=0>
- <TBODY>
- <TR>
- <TD width=760>
- <TABLE class=4l borderColor=#ebebeb cellSpacing=0 cellPadding=0
- width="100%" align=center border=0>
- <TBODY>
- <TR>
- <TD>
- <TABLE cellSpacing=0 cellPadding=0 width="100%" align=center
- border=0>
- <TBODY>
- <TR>
- <TD colSpan=2 height=13></TD>
- </TR>
- <TR>
- <TD width=260>
- <DIV align=center><IMG height=45
- src="../image/logo.gif" width=200></DIV></TD>
- <TD align=right width=500>
- <TABLE cellSpacing=0 cellPadding=0 width=500 align=right
- border=0>
- <TBODY>
- <TR>
- <TD align=right width=22><IMG height=67
- src="../image/top_1.gif" width=7></TD>
- <TD align=right width=82><A onfocus=this.blur()
- href="../default.jsp"><IMG
- height=67 src="../image/home.gif" width=82
- border=0></A></TD>
- <TD align=right width=74><A onfocus=this.blur()
- href="../newbook.jsp?pageNum=1"><IMG
- height=67 src="../image/newbook.gif"
- width=74 border=0></A></TD>
- <TD align=right width=79><A onfocus=this.blur()
- href="../tuibook.jsp?pageNum=1"><IMG
- height=67 src="../image/jptj.gif" width=79
- border=0></A></TD>
- <TD align=right width=75><A onfocus=this.blur()
- href="../upload_show.jsp"><IMG
- height=67 src="../image/tejia.gif"
- width=75 border=0></A></TD>
- <TD align=right width=78><a onFocus=this.blur()
- href="../messagebox/indexme.jsp"><img
- height=67 src="../image/guest.gif"
- width=78 border=0></a></TD>
- <TD align=right width=90><A onfocus=this.blur()
- href="../contactus.jsp"><IMG
- height=67 src="../image/link_wo.gif"
- width=90
- border=0></A></TD>
- </TR>
- </TBODY>
- </TABLE></TD>
- </TR>
- </TBODY>
- </TABLE></TD>
- </TR>
- </TBODY>
- </TABLE></TD>
- </TR>
- </TBODY>
- </TABLE>
- <TABLE class=grayline cellSpacing=0 cellPadding=0 width=760 align=center
- bgColor=#ffffff border=0>
- <TBODY>
- <TR>
- <TD vAlign=top align=middle width=185>
- <TABLE cellSpacing=0 cellPadding=0 width=171 align=center border=0>
- <TBODY>
- <TR>
- <TD vAlign=top align=middle width=176><A
- href="http://www.erbook.com.cn/user_center.asp"><IMG alt=回到用户中心首页
- src="../image/usermenu1.gif" align=center border=0></A></TD></TR>
- <TR>
- <TD vAlign=top align=middle width=176
- background=../image/usermenu2.gif height=346><BR>
- <TABLE cellSpacing=0 cellPadding=0 width="80%" border=0>
- <TBODY>
- <TR>
- <TD height=30>
- <DIV align=center><IMG src="../image/xie.gif"
- align=center border=0> <A title=修改个人资料
- href="usermodity.jsp">个 人 资 料</A></DIV></TD>
- </TR>
- <TR>
- <TD height=30>
- <DIV align=center><IMG src="../image/xie.gif"
- align=center border=0> <A title=修改登陆密码
- href="userpass.jsp">密 码 设 置</A></DIV></TD>
- </TR>
- <TR>
- <TD vAlign=center height=30>
- <DIV align=center><IMG alt=我的收藏 src="../image/xie.gif"
- align=center border=0> <A title=查看我的收藏
- href="#" onclick="openScript('collectionuser.jsp','collectionuser',650,300);">我 的 收 藏</A></DIV></TD>
- </TR>
- <TR>
- <TD height=30>
- <DIV align=center><IMG src="../image/xie.gif"
- align=center border=0> <A title=查看个人订单
- href="list_info.jsp">订 单 查 看</A></DIV></TD>
- </TR>
- <TR>
- <TD height=30>
- <DIV align=center><IMG src="../image/xie.gif"
- align=center border=0> <A title=接收站内消息
- href="recemessage.jsp">接 收 消 息</A></DIV></TD>
- </TR>
- <TR>
- <TD height=30>
- <DIV align=center><IMG src="../image/xie.gif"
- align=center border=0> <A title=发送站内消息
- href="sendmessage.jsp">发 送 消 息</A></DIV></TD>
- </TR>
- <TR>
- <TD height=30>
- <DIV align=center><IMG src="../image/xie.gif"
- align=center border=0> <A title=安全退出
- href="loginout.jsp">安 全 退 出</A></DIV></TD>
- </TR>
- </TBODY>
- </TABLE></TD></TR>
- <TR>
- <TD vAlign=top align=middle width=176 height=19><IMG
- src="../image/usermenu3.gif"
- align=center></TD></TR></TBODY></TABLE>
- <BR></TD>
- <TD width=1 bgColor=#cccccc></TD>
- <TD vAlign=top width=570 bgColor=#ffffff>
- <TABLE cellSpacing=2 cellPadding=2 width="100%" align=center border=0>
- <TBODY>
- <TR>
- <TD align=right width=30 height=30><IMG height=11
- src="../image/jt_2.gif" width=11></TD>
- <TD width=526 height=30>当前位置:<A
- href="../default.jsp">首页</A> > <A
- href="#">用户中心</A> >
- 查看订单</TD></TR>
- <TR>
- <TD align=middle background=../image/bgline.gif colSpan=2
- height=1></TD></TR></TBODY></TABLE><BR>
- <TABLE borderColor=#c0c0c0 cellSpacing=0 borderColorDark=#ffffff
- cellPadding=4 width="90%" align=center border=1>
- <TBODY>
- <TR>
- <TD width="13%">订单号</TD>
- <TD width="16%">提交时间</TD>
- <TD width="13%">总金额</TD>
- <TD width="23%">订单付款(是/否)</TD>
- <TD width="21%">发货(是/否)</TD>
- <TD width="14%">详情</TD>
- </TR>
- <TR><%
- if (!mesg.equals("")) { %>
- <TD align="center" colSpan=6 height=50><%=mesg%></TD></TR>
- <% } else { %>
- <%
- for (int i = 0; i<my_indent.getMy_indent().size();i++){
- Indent Ident = (Indent) my_indent.getMy_indent().elementAt(i);
- %>
- <tr>
- <td><font color=red><%=Ident.getIndentNo() %></font></td>
- <td align="center"><%= Ident.getSubmitTime() %></td>
- <td align="center"><%= Ident.getTotalPrice() %></td>
- <td align="center">
- <% if (Ident.getIsPayoff() )
- out.print("已付清");
- else
- out.print("未付");
- %></td>
- <td align="center">
- <% if (Ident.getIsSales())
- out.print("已发货");
- else
- out.print("未发货");
- %></td>
- <td align="center"><a href="#" onclick="openScript('show_indent.jsp?id=<%= Ident.getId() %>&orderno=<%=Ident.getIndentNo() %>','indentlist',550,200);" >查看</a></td>
- </tr>
- <%}}%>
- </TBODY></TABLE></TD></TR></TBODY></TABLE>
- <%@ include file="foot.jsp" %>
- </CENTER></BODY></HTML>