<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Search.aspx.cs" Inherits="TaoHuoNet.Search" %>

<%@ Import Namespace="System.Data" %>
<%@ Import Namespace="TaoBaoAPI" %>
<!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 id="Head1" runat="server">
     <title>搜索:<%=key %> - <%=Config.siteName%></title>
    <meta name="description" content=<%= string.Format("\"搜索{0}，{1}\"",key,Config.siteName) %> />
    <meta name="keywords" content=<%= string.Format("\"搜索{0}，网站名称{1}\"",key,Config.siteName) %> />
    
    <link href="/style/global.css" rel="stylesheet" type="text/css" media="screen" />
    <link href="/style/list.css" rel="stylesheet" type="text/css" media="screen" />
    <script src="/js/jquery-1.3.2.min.js" type="text/javascript"></script>
    <script src="/js/base64.js" type="text/javascript"></script>
    <script src="/js/function.js" type="text/javascript"></script>
      <script type="text/javascript">
            $(document).ready(function(){    
            var selectmonthvalue="<%=Request["iid"]%>";
            $("#ddlType").val(selectmonthvalue);
        }) ;
  </script>
</head>
<body>
    <uc:Head ID="ucHead" runat="server" />
    <div class="crumb">
        <a href="/" class="hp">首页</a>&gt;<a href='/fenlei.html'>所有商品</a>&gt;
        <h1 class='key'>关键词：<%=key %></h1>
    </div>
    <div class="wrap" id="PanShow" runat="server">
        <uc:Left runat="server" ID="ucLeft" />
        <div class="col_2_b">
            <div class="handlebox clearfix">
                <dl class="taxis">
                    <dt>排列方式</dt>
                    <dd id="s1" runat="server"></dd>
					<dd id="s2" runat="server"></dd>
					<dd id="s3" runat="server"></dd>
					<dd id="s4" runat="server"></dd>
					<dd id="s5" runat="server"></dd>
					<dd id="s6" runat="server"></dd>
					<dd id="s7" runat="server"></dd>
                </dl>
            </div>
            <%--<div class="brandbox bor1 mb10">
                <ul class="clearfix">
                </ul>
            </div>--%>
            
            <div class="list_goodslist">
            <asp:Repeater ID="rptList" runat="server">
                <ItemTemplate><div class="goods_list">
            	    <div class="goods_list_img" onMouseOver="this.className='goods_list_img_hover'" onMouseOut="this.className='goods_list_img'">
                    <a href="<%#UrlWrite.SetBaoBei(((DataRowView)Container.DataItem)["num_iid"].ToString())%>" onclick="clickurl('<%# Utility.EncodingString(((DataRowView)Container.DataItem)["click_url"].ToString())%>'); return false;" target="_blank" title="<%# ((DataRowView)Container.DataItem)["Title"]%>" onfocus="this.blur()"><script language="javascript">setPic('<%# Utility.EncodingString(((DataRowView)Container.DataItem)["pic_url"].ToString()+"_b.jpg")%>',0,0,'<%# ((DataRowView)Container.DataItem)["Title"].ToString()%>');</script></a>
                    </div>
                    <div class="goods_list_title">
                    <a href="<%#UrlWrite.SetBaoBei(((DataRowView)Container.DataItem)["num_iid"].ToString())%>" target="_blank"><%# ((DataRowView)Container.DataItem)["Title"]%></a> <img src="/img/level/level_<%# ((DataRowView)Container.DataItem)["seller_credit_score"]%>.gif">
                    </div>
                    <div class="goods_list_price">
                	<div class="goods_list_pricel">
                    	<div class="goods_list_scprice"><img src="/img/list_ioc01.gif" />市场价:￥<span><%# Utility.SetDiscount(((DataRowView)Container.DataItem)["commission"].ToString(),((DataRowView)Container.DataItem)["price"].ToString())%></span> 元</div>
                    	<div class="goods_list_tbprice"><img src="/img/list_ioc02.gif" />淘宝价:￥<span><%# ((DataRowView)Container.DataItem)["price"]%></span> 元</div>
                    	<div class="goods_list_num"><img src="/img/list_ioc03.gif" />已销售:￥<span><%# ((DataRowView)Container.DataItem)["volume"]%></span> 件</div>
                    </div>
                    <div class="goods_list_pricer">
                    	<div class="goods_list_button"><a href="<%#UrlWrite.SetBaoBei(((DataRowView)Container.DataItem)["num_iid"].ToString())%>" onclick="clickurl('<%# Utility.EncodingString(((DataRowView)Container.DataItem)["click_url"].ToString())%>'); return false;" target="_blank"><img src="/img/list_ioc05.gif" align="absmiddle" alt="点击购买此商品" /></a></div>
                        <div class="goods_list_button"><a href="javascript:void(0);" onclick="clickurl('<%# Utility.EncodingString(((DataRowView)Container.DataItem)["shop_click_url"].ToString())%>'); return false;" target="_blank"><img src="/img/list_ioc06.gif" align="absmiddle" alt="点击访问卖家店铺" /></a></div>
                        <div class="goods_list_button"><a href="javascript:void(0);" onclick="javascript:addfavor('http://<%=Config.siteUrl%>/<%#UrlWrite.SetBaoBei(((DataRowView)Container.DataItem)["num_iid"].ToString())%>','<%# Tools.dfCheckInput(((DataRowView)Container.DataItem)["Title"].ToString())%>-淘打折');"><img src="/img/list_ioc07.gif" align="absmiddle" alt="收藏商品到收藏夹" /></a>
                        </div>
                    </div>
                    </div>
                </div>
                </ItemTemplate>
            </asp:Repeater>
            </div>
            <div id="pages">
                <uc:PageNo ID="ucPageNo" CssClass="pagination" runat="server" />
            </div>
        </div>
    </div>
    <div id="PanNoShow" runat="server" visible="false">
    <div class="wrap">
      <div class="search-err clearfix">
        <div class="headtitle">很抱歉，没有找到符合条件的商品</div>
        <p>建议您：</p>
        <ol>
          <li>看看搜索框中是否有输入错误；</li>
          <li> 适当的精简掉多余的文字，如“的”，“什么”等；</li>
          <li>修改关键字重新搜索，如“经典的连帽拉链针织开衫”改为“连帽拉链开衫”。</li>
        </ol>
        <div class="searchform">
          <input type="text" class="txt"  id="txtKey2" onkeypress="KeyDown()"/>
          <input type="submit" value="搜索" class="btn" name="" id="btnSearch2" onclick='SearchProd2()'/>

        </div>
      </div>
    </div>
</div>

    <uc:Foot ID="ucFoot" runat="server" />
</body>
</html>

