<%@ page language="C#" masterpagefile="MyShopMasterPage.master" autoeventwireup="true" inherits="Shop_Member_Shop_TeamSum, mallz" title="Untitled Page" enableEventValidation="false" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <div class="pageTitle"><asp:Literal runat="server" ID="LabProductName" /></div>
    <br />
    <table class="SearchTableStyle">
        <tr class="tdbg" runat="server" id="TeamName1Tr">
            <td class="tdbg5" style="text-align:center;">&nbsp;<asp:Literal runat="server" ID="TeamName1" /></td>
            <td class="tdbg6">
                <asp:Repeater ID="Repeater1" runat="server">
                    <HeaderTemplate>
                        <table class="tableHead">
                        <tr>
                            <th class="OrderTitle">买家名称</td>
                            <th align="center" class="OrderTitle">订购数量</td>
                            <th align="center" class="OrderTitle">订单总额</td>
                            <th align="center" class="OrderTitle">团购状态</td>
                            <th align="center" class="OrderTitle">操作</td>
                        </tr>
                    </HeaderTemplate>
                    <ItemTemplate>
                        <tr>
                            <td style="text-align:center;"><asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl='<%# "/Shop/Index.aspx?uid=" + Eval("UserID") %>' Target="_blank" Text='<%#Eval("BuyerName")%>'/></td>
                            <td style="text-align:center;"><%#Eval("Quantity")%></td>
                            <td style="text-align:center;"><%#Eval("MoneyTotal")%></td>
                            <td style="text-align:center;"><%#MallZ.Web.Shop.TextFormat.GetOrderStatus(Eval("Status").ToString(),"3")%></td>
                            <td style="text-align:center;"><a href="Shop_BuyOrder.aspx?OrderFormNum=<%#Eval("OrderFormNum") %>" >查看</a></td>
                        </tr>
                    </ItemTemplate>
                    <FooterTemplate>
                        </table>
                    </FooterTemplate>
                </asp:Repeater>
            </td>
        </tr>
        <tr class="tdbg" runat="server" id="TeamName2Tr" visible="false">
            <td class="tdbg5" style="text-align:center;">&nbsp;<asp:Literal runat="server" ID="TeamName2" /></td>
            <td class="tdbg6">
                <asp:Repeater ID="Repeater2" runat="server">
                    <HeaderTemplate>
                        <table class="tableHead">
                        <tr>
                            <th class="OrderTitle">买家名称</td>
                            <th align="center" class="OrderTitle">订购数量</td>
                            <th align="center" class="OrderTitle">订单总额</td>
                            <th align="center" class="OrderTitle">团购状态</td>
                            <th align="center" class="OrderTitle">操作</td>
                        </tr>
                    </HeaderTemplate>
                    <ItemTemplate>
                        <tr>
                            <td style="text-align:center;"><asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl='<%# "/Shop/Index.aspx?uid=" + Eval("UserID") %>' Target="_blank" Text='<%#Eval("BuyerName")%>'/></td>
                            <td style="text-align:center;"><%#Eval("Quantity")%></td>
                            <td style="text-align:center;"><%#Eval("MoneyTotal")%></td>
                            <td style="text-align:center;"><%#MallZ.Web.Shop.TextFormat.GetOrderStatus(Eval("Status").ToString(),"3")%></td>
                            <td style="text-align:center;"><a href="Shop_BuyOrder.aspx?OrderFormNum=<%#Eval("OrderFormNum") %>" >查看</a></td>
                        </tr>
                    </ItemTemplate>
                    <FooterTemplate>
                        </table>
                    </FooterTemplate>
                </asp:Repeater>
            </td>
        </tr>
        <tr class="tdbg" runat="server" id="TeamName3Tr" visible="false">
            <td class="tdbg5" style="text-align:center;">&nbsp;<asp:Literal runat="server" ID="TeamName3" /></td>
            <td class="tdbg6">
                <asp:Repeater ID="Repeater3" runat="server">
                    <HeaderTemplate>
                        <table class="tableHead">
                        <tr>
                            <th class="OrderTitle">买家名称</td>
                            <th align="center" class="OrderTitle">订购数量</td>
                            <th align="center" class="OrderTitle">订单总额</td>
                            <th align="center" class="OrderTitle">团购状态</td>
                            <th align="center" class="OrderTitle">操作</td>
                        </tr>
                    </HeaderTemplate>
                    <ItemTemplate>
                        <tr>
                            <td style="text-align:center;"><asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl='<%# "/Shop/Index.aspx?uid=" + Eval("UserID") %>' Target="_blank" Text='<%#Eval("BuyerName")%>'/></td>
                            <td style="text-align:center;"><%#Eval("Quantity")%></td>
                            <td style="text-align:center;"><%#Eval("MoneyTotal")%></td>
                            <td style="text-align:center;"><%#MallZ.Web.Shop.TextFormat.GetOrderStatus(Eval("Status").ToString(),"3")%></td>
                            <td style="text-align:center;"><a href="Shop_BuyOrder.aspx?OrderFormNum=<%#Eval("OrderFormNum") %>" >查看</a></td>
                        </tr>
                    </ItemTemplate>
                    <FooterTemplate>
                        </table>
                    </FooterTemplate>
                </asp:Repeater>
            </td>
        </tr>
        <tr class="tdbg" runat="server" id="TeamName4Tr" visible="false">
            <td class="tdbg5" style="text-align:center;">&nbsp;<asp:Literal runat="server" ID="TeamName4" /></td>
            <td class="tdbg6">
                <asp:Repeater ID="Repeater4" runat="server">
                    <HeaderTemplate>
                        <table class="tableHead">
                        <tr>
                            <th class="OrderTitle">买家名称</td>
                            <th align="center" class="OrderTitle">订购数量</td>
                            <th align="center" class="OrderTitle">订单总额</td>
                            <th align="center" class="OrderTitle">团购状态</td>
                            <th align="center" class="OrderTitle">操作</td>
                        </tr>
                    </HeaderTemplate>
                    <ItemTemplate>
                        <tr>
                            <td style="text-align:center;"><asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl='<%# "/Shop/Index.aspx?uid=" + Eval("UserID") %>' Target="_blank" Text='<%#Eval("BuyerName")%>'/></td>
                            <td style="text-align:center;"><%#Eval("Quantity")%></td>
                            <td style="text-align:center;"><%#Eval("MoneyTotal")%></td>
                            <td style="text-align:center;"><%#MallZ.Web.Shop.TextFormat.GetOrderStatus(Eval("Status").ToString(),"3")%></td>
                            <td style="text-align:center;"><a href="Shop_BuyOrder.aspx?OrderFormNum=<%#Eval("OrderFormNum") %>" >查看</a></td>
                        </tr>
                    </ItemTemplate>
                    <FooterTemplate>
                        </table>
                    </FooterTemplate>
                </asp:Repeater>
            </td>
        </tr>
        <tr class="tdbg" runat="server" id="TeamName5Tr" visible="false">
            <td class="tdbg5" style="text-align:center;">&nbsp;<asp:Literal runat="server" ID="TeamName5" /></td>
            <td class="tdbg6">
                <asp:Repeater ID="Repeater5" runat="server">
                    <HeaderTemplate>
                        <table class="tableHead">
                        <tr>
                            <th class="OrderTitle">买家名称</td>
                            <th align="center" class="OrderTitle">订购数量</td>
                            <th align="center" class="OrderTitle">订单总额</td>
                            <th align="center" class="OrderTitle">团购状态</td>
                            <th align="center" class="OrderTitle">操作</td>
                        </tr>
                    </HeaderTemplate>
                    <ItemTemplate>
                        <tr>
                            <td style="text-align:center;"><asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl='<%# "/Shop/Index.aspx?uid=" + Eval("UserID") %>' Target="_blank" Text='<%#Eval("BuyerName")%>'/></td>
                            <td style="text-align:center;"><%#Eval("Quantity")%></td>
                            <td style="text-align:center;"><%#Eval("MoneyTotal")%></td>
                            <td style="text-align:center;"><%#MallZ.Web.Shop.TextFormat.GetOrderStatus(Eval("Status").ToString(),"3")%></td>
                            <td style="text-align:center;"><a href="Shop_BuyOrder.aspx?OrderFormNum=<%#Eval("OrderFormNum") %>" >查看</a></td>
                        </tr>
                    </ItemTemplate>
                    <FooterTemplate>
                        </table>
                    </FooterTemplate>
                </asp:Repeater>
            </td>
        </tr>
    </table>
</asp:Content>

