<%@ page language="C#" autoeventwireup="true" inherits="Admin_Orders_Print_Order, Huibo.Net" enableviewstatemac="false" enableEventValidation="false" %>

<!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 id="Head1" runat="server">
    <title>查看修改商品</title>
    <link href="../style/StyleSheet.css" type="text/css" rel="stylesheet" />
</head>
<body style="background-color: #FFFFFF; text-align: center;">
    <form id="form1" runat="server">
        <div style="text-align: center; border: #666666 1px solid; width: 80%">
            <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
                <tr>
                    <td bgcolor="#FFFFFF" align="center">
                        <div>
                            <table border="0" cellpadding="0" cellspacing="0" width="100%">
                                <tr style="height: 25px;">
                                    <td colspan="3" align="right">
                                        
                                        <input type="button" value="打印" onclick="window.print()" style="width: 50px; height: 20px;" /></td>
                                </tr>
                                <tr style="height: 25px;">
                                    <td>
                                        <strong>订单号：<asp:Label ID="OrderGood" runat="server" Text="Label"></asp:Label></strong></td>
                                    <td>
                                        <strong>下单日期：<asp:Label ID="actiondate" runat="server" Text="Label"></asp:Label></strong></td>
                                    <td>
                                        <strong>订单状态：<asp:Label ID="State" runat="server" Text="Label"></asp:Label></strong></td>
                                </tr>
                            </table>
                            <asp:DataList ID="OrderDetail" runat="server" Width="100%">
                                <HeaderTemplate>
                                    <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
                                        <tr style="height: 25px;">
                                            <td style="width: 25%;" class="PrintOrder">
                                                商品名称
                                            </td>
                                            <td style="width: 10%;" class="PrintOrder">
                                                样式
                                            </td>
                                            <td style="width: 10%;" class="PrintOrder">
                                                数量
                                            </td>
                                            <td style="width: 10%;" class="PrintOrder">
                                                会员价
                                            </td>
                                            <td style="width: 10%;" class="PrintOrder">
                                                客户价格
                                            </td>
                                            <td style="width: 10%;" class="PrintOrderRight">
                                                金额小计
                                            </td>
                                        </tr>
                                </HeaderTemplate>
                                <ItemTemplate>
                                    <tr>
                                        <td class="PrintOrderList">
                                            <asp:Label ID="ProductName" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.name")%>'></asp:Label>
                                        </td>
                                        <td class="PrintOrderList">
                                            <asp:Label ID="style" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.style") %>'></asp:Label>
                                        </td>
                                        <td class="PrintOrderList">
                                            <asp:Label ID="zhongliang" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.productnum") %>'></asp:Label>
                                        </td>
                                        <td class="PrintOrderList">
                                            ￥<asp:Label ID="Price2" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.price2") %>'></asp:Label>元
                                        </td>
                                        <td class="PrintOrderList">
                                            ￥<asp:Label ID="single" runat="server" Text='<%#Convert.ToSingle(Convert.ToDouble(DataBinder.Eval(Container, "DataItem.paid"))/Convert.ToDouble(DataBinder.Eval(Container, "DataItem.productnum"))) %>'></asp:Label>元
                                        </td>
                                        <td class="PrintOrderList">
                                            ￥<asp:Label ID="paid" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.paid") %>'></asp:Label>元
                                        </td>
                                    </tr>
                                </ItemTemplate>
                                <FooterTemplate>
                                    </table>
                                </FooterTemplate>
                            </asp:DataList>
                            <table style="width: 100%;" border="0" cellpadding="0" cellspacing="0">
                                <tr style="height: 25px;">
                                    <td style="text-align: left;" class="PrintOrder">
                                        商品费用：<asp:Label ID="ProFee" runat="server" Text=""></asp:Label></td>
                                </tr>
                                <tr>
                                    <td style="text-align: left;">
                                        <asp:DataList ID="Huidong" runat="server" Width="100%">
                                            <ItemTemplate>
                                                <asp:LinkButton ID="Huidongs" PostBackUrl='<%# "../Activities.aspx?hdid" + DataBinder.Eval(Container, "DataItem.hdid")%>'
                                                    Text='<%# DataBinder.Eval(Container, "DataItem.hdname")%>' runat="server"></asp:LinkButton>
                                            </ItemTemplate>
                                        </asp:DataList>
                                        <asp:DataList ID="LiPin" runat="server" Width="100%">
                                            <ItemTemplate>
                                                <asp:LinkButton ID="Huidongs" PostBackUrl='<%# "../gifts.aspx?lpid" + DataBinder.Eval(Container, "DataItem.lpid")%>'
                                                    Text='<%# DataBinder.Eval(Container, "DataItem.lpname")%>' runat="server"></asp:LinkButton>
                                            </ItemTemplate>
                                        </asp:DataList>
                                        <asp:Label ID="youhui" runat="server" Text=""></asp:Label><br />
                                        <asp:Label ID="lipj" runat="server" Text=""></asp:Label><br />
                                        <asp:Label ID="Label1" runat="server" Text="您是"></asp:Label>
                                        <asp:Label ID="Grade" runat="server" ForeColor="Red"></asp:Label>
                                    </td>
                                </tr>
                                <tr style="height: 25px;">
                                    <td style="text-align: left;" class="PrintOrder">
                                        其他可选费用：<asp:Label ID="KxFee" runat="server" Text="Label"></asp:Label></td>
                                </tr>
                                <tr style="height: 25px;">
                                    <td class="OrderTablef" style="text-align: left;">
                                        <asp:DataList ID="UserKx" runat="server" OnItemDataBound="UserKx_ItemDataBound">
                                            <ItemTemplate>
                                                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                                    <tr bgcolor="#E8E8E8">
                                                        <td colspan="2" height="13">
                                                            <%# DataBinder.Eval(Container, "DataItem.kxtitle")%>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td colspan="2">
                                                            <%# DataBinder.Eval(Container, "DataItem.kxname")%>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td width="13%">
                                                            <%# DataBinder.Eval(Container, "DataItem.infotitle")%>
                                                        </td>
                                                        <td width="87%">
                                                            <%# DataBinder.Eval(Container, "DataItem.shoptext")%>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td width="13%">
                                                            价值：</td>
                                                        <td width="87%">
                                                            <%# DataBinder.Eval(Container, "DataItem.kxprice")%>
                                                            <asp:Label ID="pricesort" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.pricesort")%>'></asp:Label>
                                                        </td>
                                                    </tr>
                                                </table>
                                            </ItemTemplate>
                                        </asp:DataList>
                                    </td>
                                </tr>
                                <tr>
                                    <td style="text-align: left; height: 25px;">
                                        运费：￥<asp:Label
                                            ID="Fee" runat="server" Text="Label"></asp:Label>
                                        &nbsp;&nbsp;&nbsp; 
                                    </td>
                                </tr>
                                 <tr>
                                    <td style="text-align: left; height: 25px;" class="PrintOrder">
                                        订单金额总计：<asp:Label ID="AllFee" runat="server" Text="Label" ForeColor="Red"></asp:Label>&nbsp;
                                        <asp:Label ID="Label2" runat="server" ForeColor="Red" Text="(备注：礼品价不算在内) "></asp:Label>
                                    </td>
                                </tr>
                                
                            </table>
                            <table style="width: 100%;" border="0" cellpadding="0" cellspacing="0">
                                <tr style="height: 25px;">
                                    <td width="12%">
                                        下单用户：
                                    </td>
                                    <td style="text-align: left;">
                                        &nbsp;&nbsp;
                                        <asp:Label ID="UserName" runat="server" Text="Label"></asp:Label>
                                    </td>
                                </tr>
                                <tr style="height: 25px;">
                                    <td width="12%" style="height: 25px">
                                        账户余额：
                                    </td>
                                    <td style="text-align: left; height: 25px;">
                                        &nbsp;&nbsp;
                                        <asp:Label ID="Leave" runat="server" ForeColor="Red"></asp:Label>
                                    </td>
                                </tr>
                                <tr style="height: 25px;">
                                    <td width="12%">
                                        订货人姓名：&nbsp;</td>
                                    <td style="text-align: left;">
                                        &nbsp;&nbsp;
                                        <asp:Label ID="realname" runat="server" Text="Label"></asp:Label>
                                    </td>
                                </tr>
                                <tr style="height: 25px;">
                                    <td width="12%" style="height: 25px">
                                        收货人姓名：
                                    </td>
                                    <td style="text-align: left; height: 25px;">
                                        &nbsp;&nbsp;
                                        <asp:Label ID="recepit" runat="server" Text="Label"></asp:Label>
                                    </td>
                                </tr>
                                <tr style="height: 25px;">
                                    <td width="12%">
                                        收获地址：&nbsp;</td>
                                    <td style="text-align: left;">
                                        &nbsp;&nbsp;
                                        <asp:Label ID="address" runat="server" Text="Label"></asp:Label>
                                    </td>
                                </tr>
                                <tr style="height: 25px;">
                                    <td width="12%">
                                        邮政编码：&nbsp;</td>
                                    <td style="text-align: left;">
                                        &nbsp;&nbsp;
                                        <asp:Label ID="postcode" runat="server" Text="Label"></asp:Label>
                                    </td>
                                </tr>
                                <tr style="height: 25px;">
                                    <td width="12%">
                                        联系电话：&nbsp;</td>
                                    <td style="text-align: left;">
                                        &nbsp;&nbsp;
                                        <asp:Label ID="usertel" runat="server" Text="Label"></asp:Label>
                                    </td>
                                </tr>
                                <tr style="height: 25px;">
                                    <td width="12%">
                                        电子邮件：&nbsp;</td>
                                    <td style="text-align: left;">
                                        &nbsp;&nbsp;
                                        <asp:Label ID="useremail" runat="server" Text="Label"></asp:Label>
                                    </td>
                                </tr>
                                <tr style="height: 25px;">
                                    <td width="12%">
                                        送货方式：&nbsp;</td>
                                    <td style="text-align: left;">
                                        &nbsp;&nbsp;
                                        <asp:Label ID="deliverymethor" runat="server" Text=""></asp:Label>
                                        &nbsp; &nbsp;</td>
                                </tr>
                                <tr style="height: 25px;">
                                    <td width="12%">
                                        支付方式：&nbsp;</td>
                                    <td style="text-align: left;">
                                        &nbsp;&nbsp;
                                        <asp:Label ID="subject" runat="server" Text="Label"></asp:Label>
                                    </td>
                                </tr>
                                <tr style="height: 25px;">
                                    <td width="12%">
                                        用户留言：&nbsp;</td>
                                    <td style="text-align: left;">
                                        &nbsp;&nbsp;
                                        <asp:Label ID="comments" runat="server" Text="Label"></asp:Label>
                                    </td>
                                </tr>
                            </table>
                        </div>
                        <div style="height: 30px;">
                        </div>
                    </td>
                </tr>
            </table>
        </div>
    </form>
</body>
</html>
