<%@ page language="C#" autoeventwireup="true" inherits="admin_shop_cpmanage, s1.chapk.com" %>

<%@ 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 rel="stylesheet" href="../css/table.css" type="text/css" media="all" />

    <script src="../../tool/select.js" type="text/javascript"></script>

</head>
<body>
    <form id="form1" runat="server">
<table>
<tr>
<td>产品分类</td>
<td>
<asp:DropDownList ID="s_lb" runat="server">
</asp:DropDownList>
    </td>
<td>产品名称：</td>    
<td><asp:TextBox ID="s_mc" runat="server"></asp:TextBox><asp:Button ID="btn_search" runat="server" Text="搜索" OnClick="Button1_Click" /></td>
</tr>
</table>   
<asp:Label id="lab_where" runat="server" Visible="false"></asp:Label>
<asp:Repeater ID="data1" runat="server">
<ItemTemplate>
        <div class="product_box">
                  <div class="products_img"><span><a href="cpedit.aspx?Id=<%#Eval("id")%>"><img src="<%#STR.FirstLogo(Eval("s_logo").ToString(),"230_184/") %>" alt="<%#Eval("s_mc") %>"/></a></span>
            <span class="products_lab lab<%#Eval("p1")%>">
            </span>
          </div>
          <div class="products_name"><input type="checkbox" name="select1" value="<%# Eval("id") %>" /><%#Eval("s_mc")%></a></div>
          <div class="products_cxm"><label class="orange"><%#Eval("taobao")%></a></label></div>
          <div class="products_price"><label class="m_price">市场价:￥<%#Eval("s_jg1", "{0:f0}")%></label><label class="zp_price">
                    <b class="green">商城价:￥</b><b><span><%#Eval("s_jg", "{0:f0}")%></span></b>
                    </label><del></del></div>
          <div class="products_count"><label class="p_count">最近成交 <%#Eval("s_buy")%> 笔</label>
          		  <label class="p_jinjia"><%#product.jinjia(Eval("s_dw").ToString(), Eval("s_jg").ToString())%></label>
		            <del></del></div>
        </div>
</ItemTemplate>
</asp:Repeater>  
        <table id="nodata1" runat="server">
            <tr>
                <td>
                    暂无上架产品</td>
            </tr>
        </table>
        <table width="100%">
            <tr>
                <td>
                    <webdiyer:AspNetPager ID="Pager1" runat="server" CustomInfoHTML="共%RecordCount%条记录 页次%CurrentPageIndex%/%PageCount% 每页%PageSize%条"
                        CustomInfoStyle="" FirstPageText="[首页]" LastPageText="[末页]" NextPageText="[下一页]"
                        OnPageChanging="Pager1_PageChanging" PrevPageText="[上一页]" ShowCustomInfoSection="Left"
                        AlwaysShow="True" PageSize="20">
                    </webdiyer:AspNetPager>
                </td>
                <td>
                    <input id="chkHeader" type="checkbox" name="chkHeader" onclick="javascript:SelectAll(this);" /><label for="chkHeader">选择全部</label>
                    <asp:DropDownList ID="plstj" runat="server">
                        <asp:ListItem Value="1">执行批量下架</asp:ListItem>
                        <asp:ListItem Value="0">执行批量删除</asp:ListItem>
                    </asp:DropDownList>
                    <asp:Button ID="btn_ok" runat="server" OnClick="btn_ok_Click" Text="确认操作" />
                </td>
            </tr>
        </table>
    </form>
</body>
</html>
