<%@ Page language="c#" Codebehind="SearchProduct.aspx.cs" AutoEventWireup="true" Inherits="XpShop.Supplier.SearchProduct" %>
<!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>
		<title>SearchProduct</title>
		<!--#include file="inc/head.inc"-->
		<script type="text/javascript" src="inc/PageBar.js"></script>
		<script type="text/javascript" src="inc/SearchProduct.js"></script>
		<script type="text/javascript" src="inc/popup.js"></script>
		<script type="text/javascript" src="inc/jquery.easydrag.handler.beta2.js"></script>
		<link type="text/css" rel="stylesheet" href="style/popup.css" />
		<style type="text/css">
		    .c1{ width:5%}
		    .c2{ width:25%}
		    .c3{ width:25%}
		    .c4{ width:15%}
		    .c5{ width:15%}
		    .c6{ width:15%}
		    
		    #listresult th {}
		    #listresult td { border-bottom:1px solid #eeeeee;}
		</style>
	</head>
	<body>
	    <!--loading start-->
        <div id="loadingContainer">
            <div class="panel">
                <div class="loadIcon">
                    <div>正在加载...</div>
                </div>
            </div>
            <div id="loadingbackground"></div>
        </div>    
        <!--loading end-->
        <a href="#" id="showpopup" style="cursor:pointer; border:1px solid #000;">添加商品</a>
        <a href="#" id="deleteall">清空</a>
        已选择商品数量:<span id="count">0</span>
        <div>
            <table id="listresult">
                <tr id="resulthead">
                    <th></th>
                    <th>商品名称</th>
                    <th></th>
                </tr>
            </table>
        </div>
        <div id="popupContact" style="z-index:2; width:800px;">
            <div id="popupHead">
                <div class="popupTitle">高级搜索</div>
                <div class="popupClose" id="popupContactClose" title="关闭">关闭</div>
                <div style="clear:both;"></div>
            </div>
            
            <div style="position:relative; padding:5px; text-align:center;">
                <div style="width:98%;">
                    <div>
                        <select id="sel_searchType" name="sel_searchType">
                            <option value="1">商品编号</option>
                            <option value="2">商品名称</option>
                            <option value="3">商品关键词</option>
                        </select>
                        <input type="text" id="txtKeyword" name="txtKeyword" />
                        <input type="button" id="btnSearch" name="btnSearch" value="搜索" />
                        <a href="#" id="showadvsearch">高级搜索</a>
                    </div>
                    <div id="advsearch" style="display:none;">
                        <select id="sel_category" name="sel_category" size="10" multiple="multiple">
                            <%=BindCategories() %>
                        </select>
                        <select id="sel_brand" name="sel_brand" size="10" multiple="multiple">
                            <%=BindBrand("0")%>
                        </select>
                    </div>
                    <div class="sub_container_listhead" style="padding:0px;">
                        <table cellSpacing="0" cellPadding="0" class="llist">
                            <tr id="listhead"><%--id="listhead"不能少--%>
                                <th class="c1"><input type="checkbox" id="chkAll" name="chkAll" /></th>
                                <th class="c2">商品名称</th>
                                <th class="c3">商品代码</th>
                                <th class="c4">商品类别</th>
                                <th class="c5">商品品牌</th>
                                <th class="c6">会员价格</th>         
                            </tr>
                        </table>           
                    </div>
                    <div class="sub_container_content" style="padding:0px;overflow-x:hidden;overflow-y:scroll;">
	                    <table id="datas" cellSpacing="0" cellPadding="0" class="llist">
		                    <tr id="template" style="display:none;"><%--id="template"不能少--%>
			                    <td class="c1 ccenter" id="checkbox"></td>
			                    <td class="c2" id="Name"></td>
			                    <td class="c3" id="ProductNo"></td>
			                    <td class="c4 ccenter" id="Category"></td>
			                    <td class="c5 ccenter" id="Brand"></td>
			                    <td class="c6 ccenter" id="MemberPrice"></td>
		                    </tr>
	                    </table>
                    </div>
                    <div class="sub_container_page" id="pageDataList1_Pager" style="position:relative;">
                        <!-- 翻页-->
                        <!-- 翻页结束-->
                    </div>
                    <div style=" text-align:center;"><input type="button" id="btnSubmit" value="确认" /><input type="hidden" id="PIDs" name="PIDs" value="" /></div>
	            </div>
                <div style="clear:both;"></div>
            </div>
        </div>
        <div id="backgroundPopup" class="backgroundPopup"></div>
        
	</body>
</html>
