<%@ page language="C#" masterpagefile="MyShopMasterPage.master" autoeventwireup="true" inherits="Shop_Member_Shop_TeamSum, WebApp_deploy" title="Untitled Page" %>
<%@ Register tagPrefix="hl" TagName="TextFormat" Src="../UserControls/ProductTextFormat.ascx" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <div class="pageTitle"><asp:Literal runat="server" ID="LabProductName" /></div>
    <br />
    <div style=" width:100%; text-align:center; color:Red; font-weight:bold">
        <asp:Label ID="Lbtishi" runat="server" Text="" Visible="false"></asp:Label></div>
    <table class="SearchTableStyle">
        <tr runat="server" id="TeamName1Tr">
            <td style="width:10%; text-align:center;border:solid 1px #D20;border-top:0 solid #C0C0C0" >&nbsp;<asp:Literal runat="server" ID="TeamName1" /><br />
            当前：<asp:Literal ID="CurrentTeamNum1" runat="server"></asp:Literal>/<asp:Literal ID="TotalTeamNum1"
                runat="server"></asp:Literal>
            </td>
            <td>
                <asp:Repeater ID="Repeater1" runat="server">
                    <HeaderTemplate>
                        <table class="ShopOrderStyle">
                        <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>
                            <th align="center" class="OrderTitle">联系方式</td>
                            <th align="center" class="OrderTitle">操作</td>
                        </tr>
                    </HeaderTemplate>
                    <ItemTemplate>
                        <tr>
                            <td style="text-align:center;"><%#Eval("BuyerName")%></td>
                            <td style="text-align:center;"><%#Eval("Quantity")%></td>
                            
                            <td style="text-align:center;"><%#Eval("MoneyTotal")%></td>
                            
                            <td style="text-align:center; color:Red"><%#DepositStatus(Eval("ProductID").ToString(), Eval("MoneyGoods").ToString(), Eval("OrderFormID").ToString())%></td>
                             <td style="text-align:center;color:Red"><%#DepositMoney(Eval("ProductID").ToString(), Eval("MoneyGoods").ToString())%></td>
                            <td style="text-align:center;">
                                 <hl:TextFormat ID="TextFormat3" runat="server" Text="OICQ" Value='<%#GetUserInfo("OICQ",Eval("UserID").ToString())%>' />
                <hl:TextFormat ID="TextFormat5" runat="server" Text="Skype" Value='<%#GetUserInfo("ShopSkype",Eval("UserID").ToString())%>' />
                 <hl:TextFormat ID="TextFormat6" runat="server" Text="Msn" Value='<%#GetUserInfo("ShopMsn",Eval("UserID").ToString())%>' />
                 <hl:TextFormat ID="TextFormat7" runat="server" Text="Yahoo" Value='<%#GetUserInfo("ShopYahoo",Eval("UserID").ToString())%>' />
                <hl:TextFormat ID="TextFormat4" runat="server" Text="Taobaowangwang" Value='<%#GetUserInfo("Taobaowangwang",Eval("UserID").ToString())%>' />
                            </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 runat="server" id="TeamName2Tr" visible="false">
            <td style="text-align:center;border:solid 1px #D20;border-top:0 solid #C0C0C0">&nbsp;<asp:Literal runat="server" ID="TeamName2" /><br />
             当前：<asp:Literal ID="CurrentTeamNum2" runat="server"></asp:Literal>/<asp:Literal ID="TotalTeamNum2"
                runat="server"></asp:Literal>
            </td>
            <td>
                <asp:Repeater ID="Repeater2" runat="server">
                    <HeaderTemplate>
                        <table class="ShopOrderStyle">
                        <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>
                            <th align="center" class="OrderTitle">联系方式</td>
                            <th align="center" class="OrderTitle">操作</td>
                        </tr>
                    </HeaderTemplate>
                    <ItemTemplate>
                        <tr>
                            <td style="text-align:center;"><%#Eval("BuyerName")%></td>
                            <td style="text-align:center;"><%#Eval("Quantity")%></td>
                            
                            <td style="text-align:center;"><%#Eval("MoneyTotal")%></td>
                            
                            <td style="text-align:center;color:Red"><%#DepositStatus(Eval("ProductID").ToString(), Eval("MoneyGoods").ToString(), Eval("OrderFormID").ToString())%></td>
                            <td style="text-align:center;color:Red"><%#DepositMoney(Eval("ProductID").ToString(), Eval("MoneyGoods").ToString())%></td>
                            <td style="text-align:center;">
                 <hl:TextFormat ID="TextFormat3" runat="server" Text="OICQ" Value='<%#GetUserInfo("OICQ",Eval("UserID").ToString())%>' />
                <hl:TextFormat ID="TextFormat5" runat="server" Text="Skype" Value='<%#GetUserInfo("ShopSkype",Eval("UserID").ToString())%>' />
                 <hl:TextFormat ID="TextFormat6" runat="server" Text="Msn" Value='<%#GetUserInfo("ShopMsn",Eval("UserID").ToString())%>' />
                 <hl:TextFormat ID="TextFormat7" runat="server" Text="Yahoo" Value='<%#GetUserInfo("ShopYahoo",Eval("UserID").ToString())%>' />
                <hl:TextFormat ID="TextFormat4" runat="server" Text="Taobaowangwang" Value='<%#GetUserInfo("Taobaowangwang",Eval("UserID").ToString())%>' />
                            </td>
                            <td style="text-align:center;"><script type="text/javascript">if()</script><a href="Shop_BuyOrder.aspx?OrderFormNum=<%#Eval("OrderFormNum") %>" >查看</a></td>
                        </tr>
                    </ItemTemplate>
                    <FooterTemplate>
                        </table>
                    </FooterTemplate>
                </asp:Repeater>
            </td>
        </tr>
        <tr runat="server" id="TeamName3Tr" visible="false">
            <td style="text-align:center;border:solid 1px #D20;border-top:0 solid #C0C0C0">&nbsp;<asp:Literal runat="server" ID="TeamName3" /><br />
             当前：<asp:Literal ID="CurrentTeamNum3" runat="server"></asp:Literal>/<asp:Literal ID="TotalTeamNum3"
                runat="server"></asp:Literal>
            </td>
            <td>
                <asp:Repeater ID="Repeater3" runat="server">
                    <HeaderTemplate>
                        <table class="ShopOrderStyle">
                        <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>
                            <th align="center" class="OrderTitle">联系方式</td>
                            <th align="center" class="OrderTitle">操作</td>
                        </tr>
                    </HeaderTemplate>
                    <ItemTemplate>
                        <tr>
                            <td style="text-align:center;"><%#Eval("BuyerName")%></td>
                            <td style="text-align:center;"><%#Eval("Quantity")%></td>
                            
                            <td style="text-align:center;"><%#Eval("MoneyTotal")%></td>
                            
                            <td style="text-align:center;color:Red"><%#DepositStatus(Eval("ProductID").ToString(), Eval("MoneyGoods").ToString(), Eval("OrderFormID").ToString())%></td>
                            <td style="text-align:center;color:Red"><%#DepositMoney(Eval("ProductID").ToString(), Eval("MoneyGoods").ToString())%></td>
                            <td style="text-align:center;">
                                <hl:TextFormat ID="TextFormat3" runat="server" Text="OICQ" Value='<%#GetUserInfo("OICQ",Eval("UserID").ToString())%>' />
                <hl:TextFormat ID="TextFormat5" runat="server" Text="Skype" Value='<%#GetUserInfo("ShopSkype",Eval("UserID").ToString())%>' />
                 <hl:TextFormat ID="TextFormat6" runat="server" Text="Msn" Value='<%#GetUserInfo("ShopMsn",Eval("UserID").ToString())%>' />
                 <hl:TextFormat ID="TextFormat7" runat="server" Text="Yahoo" Value='<%#GetUserInfo("ShopYahoo",Eval("UserID").ToString())%>' />
                <hl:TextFormat ID="TextFormat4" runat="server" Text="Taobaowangwang" Value='<%#GetUserInfo("Taobaowangwang",Eval("UserID").ToString())%>' />
                            </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 runat="server" id="TeamName4Tr" visible="false">
            <td style="text-align:center;border:solid 1px #D20;border-top:0 solid #C0C0C0">&nbsp;<asp:Literal runat="server" ID="TeamName4" /><br />
             当前：<asp:Literal ID="CurrentTeamNum4" runat="server"></asp:Literal>/<asp:Literal ID="TotalTeamNum4"
                runat="server"></asp:Literal>
            </td>
            <td>
                <asp:Repeater ID="Repeater4" runat="server">
                    <HeaderTemplate>
                        <table class="ShopOrderStyle">
                        <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>
                            
                            <th align="center" class="OrderTitle">联系方式</td>
                            <th align="center" class="OrderTitle">操作</td>
                        </tr>
                    </HeaderTemplate>
                    <ItemTemplate>
                        <tr>
                            <td style="text-align:center;"><%#Eval("BuyerName")%></td>
                            <td style="text-align:center;"><%#Eval("Quantity")%></td>
                            
                            <td style="text-align:center;"><%#Eval("MoneyTotal")%></td>
                            
                            <td style="text-align:center;color:Red"><%#DepositStatus(Eval("ProductID").ToString(), Eval("MoneyGoods").ToString(), Eval("OrderFormID").ToString())%></td>
                            <td style="text-align:center;color:Red"><%#DepositMoney(Eval("ProductID").ToString(), Eval("MoneyGoods").ToString())%></td>
                            <td style="text-align:center;">
                                 <hl:TextFormat ID="TextFormat3" runat="server" Text="OICQ" Value='<%#GetUserInfo("OICQ",Eval("UserID").ToString())%>' />
                <hl:TextFormat ID="TextFormat5" runat="server" Text="Skype" Value='<%#GetUserInfo("ShopSkype",Eval("UserID").ToString())%>' />
                 <hl:TextFormat ID="TextFormat6" runat="server" Text="Msn" Value='<%#GetUserInfo("ShopMsn",Eval("UserID").ToString())%>' />
                 <hl:TextFormat ID="TextFormat7" runat="server" Text="Yahoo" Value='<%#GetUserInfo("ShopYahoo",Eval("UserID").ToString())%>' />
                <hl:TextFormat ID="TextFormat4" runat="server" Text="Taobaowangwang" Value='<%#GetUserInfo("Taobaowangwang",Eval("UserID").ToString())%>' />
                            </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 runat="server" id="TeamName5Tr" visible="false">
            <td style="text-align:center;border:solid 1px #D20;border-top:0 solid #C0C0C0">&nbsp;<asp:Literal runat="server" ID="TeamName5" />
                当前：<asp:Literal ID="CurrentTeamNum5" runat="server"></asp:Literal>/<asp:Literal ID="TotalTeamNum5"
                runat="server"></asp:Literal>
            </td>
            <td>
                <asp:Repeater ID="Repeater5" runat="server">
                    <HeaderTemplate>
                        <table class="ShopOrderStyle">
                        <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>
                            
                            <th align="center" class="OrderTitle">联系方式</td>
                            <th align="center" class="OrderTitle">操作</td>
                        </tr>
                    </HeaderTemplate>
                    <ItemTemplate>
                        <tr>
                            <td style="text-align:center;"><%#Eval("BuyerName")%></td>
                            <td style="text-align:center;"><%#Eval("Quantity")%></td>
                            
                            <td style="text-align:center;"><%#Eval("MoneyTotal")%></td>
                            
                            <td style="text-align:center;color:Red"><%#DepositStatus(Eval("ProductID").ToString(), Eval("MoneyGoods").ToString(), Eval("OrderFormID").ToString())%></td>
                            <td style="text-align:center;color:Red"><%#DepositMoney(Eval("ProductID").ToString(), Eval("MoneyGoods").ToString())%></td>
                            <td style="text-align:center;">
                                 <hl:TextFormat ID="TextFormat3" runat="server" Text="OICQ" Value='<%#GetUserInfo("OICQ",Eval("UserID").ToString())%>' />
                <hl:TextFormat ID="TextFormat5" runat="server" Text="Skype" Value='<%#GetUserInfo("ShopSkype",Eval("UserID").ToString())%>' />
                 <hl:TextFormat ID="TextFormat6" runat="server" Text="Msn" Value='<%#GetUserInfo("ShopMsn",Eval("UserID").ToString())%>' />
                 <hl:TextFormat ID="TextFormat7" runat="server" Text="Yahoo" Value='<%#GetUserInfo("ShopYahoo",Eval("UserID").ToString())%>' />
                <hl:TextFormat ID="TextFormat4" runat="server" Text="Taobaowangwang" Value='<%#GetUserInfo("Taobaowangwang",Eval("UserID").ToString())%>' />
                            </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>
    
    <div style=" width:100%; text-align:center; color:Red; font-weight:bold">

      <span>说明：左边价格等级当前比：分子表示该等级已有人参与团购的数量，分母表示该等级的需要到达该团购数以上整个团购才生效</span> 

    </div>
</asp:Content>

