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

<%@ 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></title>
    <meta name="description" content=欢迎前选购淘货网<%=catName %>，<%=siteName %>为您精心准备了各类<%=catName %>及各种相关商品,欲了解更多信息及打折促销信息，敬请点击访问！/>
    <meta name="keywords" content=<%=catName %>，<%=catName %>商品/>
    <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>
</head>
<body>
    <uc:Head ID="ucHead" runat="server" />
    <div class="crumb">
        <a href="/" class="hp">首页</a>&gt;
        <h1><asp:Literal ID="ltlCrumb" runat="server"></asp:Literal></h1> 
           <script type="text/javascript">/*960*90，创建于2011-5-1*/ var cpro_id = 'u464203';</script><script src="http://cpro.baidu.com/cpro/ui/c.js" type="text/javascript"></script>

    </div>
    
    <div class="wrap" id="PanShow" runat="server">
        <uc:Left runat="server" ID="ucLeft" />
        <div class="col_2_b">
            <div class="brandbox bor1 mb10">
                <ul class="clearfix">
                    <asp:Repeater ID="rptItems" runat="server">
                        <ItemTemplate><li id="<%# ((DataRowView)Container.DataItem)["cid"]%>"><a href="<%#UrlWrite.SetCat(Convert.ToInt32(((DataRowView)Container.DataItem)["cid"]))%>"><%# ((DataRowView)Container.DataItem)["name"]%></a></li>
                        </ItemTemplate>
                    </asp:Repeater>
                    <br style="clear:left;" />
                </ul>
            </div>
            <div class="handlebox clearfix">
                <dl class="taxis">
                    <dt><b>排序方式：</b></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="condition">
	            <ul>
		            <li class="tilist"><b>价格区间：</b></li>
		            <li class='by-price'>
		            <a href="/TaoBao-<%=Request["cid"] %>-<%=Request["sort"] %>-1-100/">1～100元</a>
		            <a href="/TaoBao-<%=Request["cid"] %>-<%=Request["sort"] %>-100-200/">100～200元</a>
		            <a href="/TaoBao-<%=Request["cid"] %>-<%=Request["sort"] %>-200-500/">200～500元</a>
		            <a href="/TaoBao-<%=Request["cid"] %>-<%=Request["sort"] %>-500-1000/">500～1000元</a>
		            <a href="/TaoBao-<%=Request["cid"] %>-<%=Request["sort"] %>-1000-2000/">1000～2000元</a>
		            <a href="/TaoBao-<%=Request["cid"] %>-<%=Request["sort"] %>-2000-5000/">2000～5000元</a>
		            <a href="/TaoBao-<%=Request["cid"] %>-<%=Request["sort"] %>-5000-10000/">5000元以上</a>
		            </li>
	            </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,'<%# Tools.dfCheckInput(((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">很抱歉，网站访问量过大，请按F5刷新页面</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>

