<%@ page language="C#" autoeventwireup="true" inherits="mall_sj_order, ZKCMS" enableviewstatemac="false" enableEventValidation="false" viewStateEncryptionMode="Never" %>

<%@ Register TagName="topbar" TagPrefix="UC" Src="~/mall/topbar.ascx" %>
<%@ Register TagName="head" TagPrefix="UC" Src="~/mall/head.ascx" %>
<%@ Register TagName="foot" TagPrefix="UC" Src="~/mall/foot.ascx" %>
<!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="X-UA-Compatible" content="IE=EmulateIE7" />
    <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
    <title>查看管理订单_<%=ZK.config("title","mall") %></title>
    <meta name="keywords" content=" <%=ZK.config("keywords","mall") %>" />
    <meta name="description" content=" <%=ZK.config("description","mall") %>" />
    <script type="text/javascript" src="/s/skin/base.js"></script>
    <link type="text/css" rel="stylesheet" href="/mall/skin/style.css" />
    <script type="text/javascript" src="/mall/skin/public.js"></script>
    <style type="text/css"> .cart_list{}.cart_list th{height:30px;line-height:30px;text-align:center;background:#ffe7e7 url(/mall/skin/dian2.gif) repeat-x 0 bottom;color:#333;font-size:14px;font-weight:normal;}.cart_list td{background:url(/mall/skin/dian2.gif) repeat-x 0 bottom;height:24px;line-height:24px;text-align:center;color:#333;font-size:14px;padding:5px 0;}.cart_list td a{color:#34669f;}.cart_list td a:hover{color:#f60;}</style>
</head>
<body>
    <%--<noscript><style type="text/css"> body,.wrap{background-color:#fff;background-image:none;}.box,.topbar{display:none;}</style><div class="noscript">您的浏览器不支持Javascript，请升级你的浏览器或者打开Javascript支持！</div></noscript>--%>
    <a name="pagetop" id="pagetop"></a>
    <div class="wrap">
        <UC:topbar ID="topbar1" runat="server" />
        <UC:head ID="head1" runat="server" />
        <div class="box">
            <div class="c1 mt10">
                <div class="b3">
                    <div class="fl"></div>
                    <div class="con">查看管理订单</div>
                    <div class="fr" style="width:100px; padding-right:8px"><a href="/user/mall.aspx" rel="nofollow">返回&raquo;</a></div>
                    <div class="clear"></div>
                </div>
                <div class="v1" style="border-color: #e05d5d">
                    <form id="form1" runat="server">
                    <%@ register assembly="Pager" namespace="Wuqi.Webdiyer" tagprefix="DataPager" %>
                    <asp:Panel ID="Panel_Nodata" runat="server" Visible="false"><div style="padding: 50px;"><div class="tip_nodata" id="tip_nodata" style="background-position: 10px 11px; padding-left: 35px;font-size: 14px;"><a href="/user/mall.aspx">还没有订单数据！</a></div></div></asp:Panel>
                    <asp:Panel ID="Panel_List" runat="server">
                        <asp:Repeater ID="Repeater1" runat="server">
                            <HeaderTemplate>
                                <div class="cart_list">
                                    <table border="0" cellpadding="0" cellspacing="0" width="100%">
                                        <tr>
                                            <th width="80">详情</th>
                                            <th width="80">订单状态</th>
                                            <th>商品名称</th>
                                            <th width="120">商品单价</th>
                                            <th width="80">购买数量</th>
                                            <th width="120">消费金额</th>
                                            <th width="110">购物时间</th>
                                        </tr>
                            </HeaderTemplate>
                            <ItemTemplate>
                                <tr>
                                    <td><a href="sj_view_order.htm?id=<%#Eval("id") %>" target="_blank">点击查看</a></td>
                                    <td><%#Eval("state") %></td>
                                    <td><div class="flow" style="height:24px"><a title="<%#Eval("malltitle") %>" href="/mall/<%#Eval("fid") %>.htm" target="_blank"><%#Eval("malltitle") %></a></div></td>
                                    <td>￥<%#FUN.FormatPrice(Eval("oneprice").ToString())%></td>
                                    <td><%#Eval("buycount")%></td>
                                    <td>￥<%#FUN.FormatPrice(Eval("allprice").ToString())%></td>
                                    <td><%#WMtime.FormatDateTime(Eval("time").ToString(),"yyyy-MM-dd")%></td>
                                </tr>
                            </ItemTemplate>
                            <FooterTemplate></table></div></FooterTemplate>
                        </asp:Repeater>
                    </asp:Panel>
                    <asp:Panel ID="Panel_Turn" runat="server" Visible="false">
                        <div id="DataPager">
                            <table border="0" cellspacing="0" cellpadding="0" style="margin: 0 auto">
                                <tr>
                                    <td>
                                        <DataPager:AspNetPager ID="Pager1" runat="server" OnPageChanged="Pager1_PageChanged"
                                            UrlPagingTarget="_self" PageSize="20" UrlPaging="true" FirstPageText="最前页" PrevPageText="上一页"
                                            NextPageText="下一页" LastPageText="最后页" PagingButtonSpacing="0" CssClass="turn"
                                            CurrentPageButtonClass="turn_on" SubmitButtonClass="pager_but" PageIndexBoxClass="pager_inp"
                                            SubmitButtonText="转到" ShowPageIndexBox="Auto" ShowBoxThreshold="0" ShowDisabledButtons="false"
                                            NumericButtonCount="6" FirstLastButtonsClass="turn_flpn" PrevNextButtonsClass="turn_flpn">
                                        </DataPager:AspNetPager>
                                    </td>
                                </tr>
                            </table>
                            <div class="clear" style="height: 8px"></div>
                        </div>
                    </asp:Panel>
                    </form>
                </div>
            </div>
        </div>
        <UC:foot ID="foot1" runat="server" />
    </div>
</body>
</html>
