<%@ page language="C#" autoeventwireup="true" inherits="Admin_GoodsManagement_StorageGoodsList, ShopWe" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<!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 runat="server">
    <title>已下架的商品</title>
    <link href="../css/my.css" rel="stylesheet" type="text/css" />
    <link href="../JS/TableSort/tablesort.css" rel="stylesheet" type="text/css" />

    <script type="text/javascript" src="../css/admin.js"></script>

    <link href="../css/volti.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
        <table width="100%" border="0" cellspacing="0" cellpadding="0" class="name">
            <tr>
                <td style="width: 195px">
                    <div class="name_noe">
                        <table width="100%" border="0" cellspacing="0" cellpadding="0">
                            <tr>
                                <td align="center" style="height: 22px">
                                    默认操作</td>
                            </tr>
                            <tr>
                                <td align="center">
                                    <asp:Button ID="DeleteSelectGoods" runat="server" Text="删除所选商品" OnClick="DeleteSelectGoods_Click"
                                        CssClass="butt_tle" Height="22px" Width="90px" />
                                    <asp:Button ID="GoodsSell" runat="server" Text="选中商品上架" OnClick="GoodsSell_Click"
                                        CssClass="butt_tle" Height="22px" Width="90px" /></td>
                            </tr>
                        </table>
                    </div>
                </td>
                <td style="width: 240px">
                    <div class="name_noe">
                        <table width="100%" border="0" cellspacing="0" cellpadding="0">
                            <tr>
                                <td align="center" style="height: 22px">
                                    搜索商品</td>
                            </tr>
                            <tr>
                                <td align="center">
                                    <asp:DropDownList ID="GoodsGroup" runat="server" Width="150px" Height="22px" CssClass="input_tle">
                                    </asp:DropDownList>
                                    <asp:Button ID="SearchButton" runat="server" Text="搜索商品" OnClick="SearchButton_Click"
                                        class="butt_tle" Height="22px" Width="70px" /></td>
                            </tr>
                        </table>
                    </div>
                </td>
                <td>&nbsp;
                    </td>
            </tr>
        </table>
        <div id="all">
            <asp:Repeater ID="RepeaterGoods" runat="server">
                <HeaderTemplate>
                    <div class="k_all3">
                        <table width="100%" cellpadding="0" cellspacing="0" id="bk">
                            <thead>
                                <tr>
                                    <th style="width: 30px">
                                        <input id="ChkAll" type="checkbox" onclick="Check(this,'CheckBoxSelect','RepeaterGoods')" /></th>
                                    <th style="width: 80px">
                                        图片</th>
                                    <th style="width: 230px">
                                        名称</th>
                                    <th style="width: 60px">
                                        价格</th>
										<th style="width: 60px">
                                        库存</th>
                                    <th style="width: 100px">
                                        贷号</th>
                                    <th>
                                        品牌</th>
                                    
                                </tr>
                            </thead>
                </HeaderTemplate>
                <ItemTemplate>
                    <tr>
                        <td>
                            <asp:CheckBox ID="CheckBoxSelect" runat="server" ToolTip='<%# Eval("GoodsGuid") %>' />
                        </td>
                        <td>
                            <asp:Image ID="GoodsImage" runat="server" ImageUrl='<%# GetGoodsImage(new Guid(Eval("GoodsGuid").ToString())) %>' /></td>
                        <td>
                            <p style="color: #333333">
                                <%# Eval("GoodsName") %>
                            </p>
                            <span style="color: #999999">分类：<%# GetClassName(new Guid(Eval("ClassGuid").ToString())) %></span>
                        </td>
                        <td class="ys_1">
                            <%# Eval("GoodsPrice").ToString().Substring(0,Eval("GoodsPrice").ToString().Length-2)            %>
                        </td>
						     <td>
                            <%# Eval("GoodsStock") %>
                        </td>
                        <td>
                            <%# Eval("GoodsNumber") %>
                        </td>
                        <td>
                            <%# GetBrand(new Guid(Eval("BrandGuid").ToString())) %>
                        </td>
                   
                    </tr>
                </ItemTemplate>
                <FooterTemplate>
                    </table> </div>
                </FooterTemplate>
            </asp:Repeater>
            <div id="bk_line">
                <div class="txte">
                   <img src="../Themes/Default/Images/bj.png" alt=" " /> <asp:Label ID="GoodsCount" runat="server" Text="0"></asp:Label>
                </div>
                <webdiyer:AspNetPager ID="AspNetPagerGoods" runat="server" CssClass="yahoo2" OnPageChanged="AspNetPagerGoods_PageChanged"
                    AlwaysShow="True">
                </webdiyer:AspNetPager>
            </div>
        </div>
    </form>
</body>
</html>
