<%@ control language="C#" autoeventwireup="true" inherits="Shop_UserControls_ShopDetailSearch, HoWaveVGO" %>
<script type="text/javascript">
 function SearchShop(){

   var _shopName=document.getElementById("SearchShopName").value;
   var _salerName=document.getElementById("SearchSalerName").value;
   var _place=document.getElementById("SearchShopPlace").value;
   var _mainItem=document.getElementById("SearchMainItem").value;
   if(_shopName=="" && _salerName=="" && _place=="" && _mainItem=="")
   {
     alert("搜索内容不能为空！");
     return;
   }
   else
   {
      _shopName=escape(_shopName);
      _salerName=escape(_salerName);
      _place=escape(_place);
      _mainItem=escape(_mainItem);
      window.location.href="/Shop/Search/Search_Shop.aspx?classid=<%=m_classid %>&shopname=" + _shopName + "&shopsaler=" + _salerName + "&mainitem=" + _mainItem + "&place=" + _place;
   }  
 
 }
</script>
<ul style=" list-style-type:none; padding:5px;">
    <li style="padding-top:3px">
        <label for="SideSearchShopName">
            <span style="color: #222222">店铺名：</span></label>
            
         <input type="text" ID="SearchShopName" style="width:100px"  />
    </li>
    <li style="padding-top:3px">
        <label for="SideSearchSellerName">
            <span style="color: #222222">店长名：</span></label>
        <input type="text" ID="SearchSalerName"  style="width:100px"  />
    </li>
    <li style="padding-top:3px">
        <label for="SideSearchShopMajor">
            <span style="color: #222222">主<span style="visibility:hidden" >浪</span>营：</span></label>
       <input type="text" ID="SearchMainItem"  style="width:100px"  />
    </li>
    <li style="padding-top:3px">
        <label for="SideSearchShopMajor">
            <span style="color: #222222">所在地：</span></label>
        <input type="text" ID="SearchShopPlace"  style="width:100px"  />
    </li>
    <li style="padding-left:50px;">
       <input type="button" value="搜索店铺" onclick="SearchShop()" />
      
    </li>
</ul>