<%@ page language="C#" autoeventwireup="true" inherits="list2, LebiMall" enableviewstate="false" %>
<%@ 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>
    <title><%=model_t.Title %>-<%=ctitle %></title>
    <meta name="description" content=<%=model_t.Description %> />
    <meta name="keywords" content=<%=model_t.Keywords %> />
    <meta name="generator" content="LBMall 3.0.0" />
    <link href="images/css/css.css" rel="stylesheet" type="text/css">
    <link href="images/css/css2.css" rel="stylesheet" type="text/css">
    <script type="text/javascript" src="images/js/shopjs.js"></script>
    <script type="text/javascript" src="images/js/js_s.js"></script>
    <script>
        function search2(){
            var texts2=document.getElementById("ser2").value;
            var select_v2=document.getElementById("Select3").value;
            window.location="list.aspx?tid="+select_v2+"&titlec="+escape(texts2);
        }
        function search3(){
            var texts2=document.getElementById("ser1").value;
            var select_v2=document.getElementById("Select1").value;
            window.location="list.aspx?tid="+select_v2+"&titlec="+escape(texts2);
        }
    </script>
</head>
<body>
<form id="form" runat="server">
 <div id="top-menu02">
        <div id="top-menu">
            <div class="right">
                <script type="text/javascript">indexhead();</script>
            </div>
        </div>
    </div>
    <div id="top">
        <div id="logo">
            <a href="http://<%=Request.Url.Host %><%=model_t.WebPath %>/">
                <img src="Upload/WebAdminImages/<%=model_t.Logoimg %>" border="0" /></a></div>
    </div>
    <div id="sp-menu">
        <ul>
            <li><a href="http://<%=Request.Url.Host %><%=model_t.WebPath %>/">首页</a></li>
            <%for (int i = 0; i < ds_tab.Tables[0].Rows.Count; i++){ %>
            <li><%if (model_t.Tab == "1")
                  { %>
                <a href="<%= ds_tab.Tables[0].Rows[i]["tdirname"]%>/" target="_blank"><%= ds_tab.Tables[0].Rows[i]["tname"]%></a>
                <%}else{%>
                <a href="TopTab.aspx?type=<%= ds_tab.Tables[0].Rows[i]["tdirname"]%>" target="_blank"><%= ds_tab.Tables[0].Rows[i]["tname"]%></a>
                <%} %></li>
            <%} %>
            <li><a href="http://<%=Request.Url.Host %><%=model_t.WebPath %>/News/" target="_blank">资讯</a></li>
        </ul>
        <p>
            <span><a href="ShopCoupon.aspx">优惠券</a></span></p>
    </div>
<div id="contenter2">
    <div id="contenter">
        <div class="search">
            <div class="search-left">
                <div class="search-left-title">
                    搜索：</div>
                <div class="search-left-form">
                    <input type="text" runat="server" id="ser2" size="30" /></div>
                <div class="search-left-list">
                    <select id="Select3" runat="server">
                    </select>
                </div>
                <div class="search-left-button">
                    <img src="images/search-buttom.gif" width="60" height="20" onclick="search2()" /></div>
            </div>
            <div class="search-right">
                <div runat=server id="div_s2"></div>
            </div>
        </div>
        <div class="sp-left-k">
            <div class="sp-left-k">
                <div class="sp-left-sreach">
                    <div class="ang-list01"></div>
                    <div class="ang-list02"></div>
                    <div class="ang-topheight">搜索条件</div>
                    <div class="left-list">
                        <div class="left-list-title">价格</div>
                        <div class="left-list-contenter">
                            <a href="list.aspx?tid=<%=id %>&price1=0&price2=50">0-50元以下</a><br />
                            <a href="list.aspx?tid=<%=id %>&price1=50&price2=200">50-200元</a><br />
                            <a href="list.aspx?tid=<%=id %>&price1=200&price2=1000">200-1000元</a><br />
                            <a href="list.aspx?tid=<%=id %>&price1=1000&price2=5000">1000-5000元</a><br />
                            <a href="list.aspx?tid=<%=id %>&price1=5000&price2=max">5000元以上</a><br />
                            <a href="list.aspx?tid=<%=id %>&dtl=fd">全部</a><br />
                            <input id="pricefrom" type="text" class="text_p" value="￥From" runat="server" onfocus="this.value=''" />&nbsp;
                            <input id="priceto" type="text" class="text_p" value="￥To" runat="server" onfocus="this.value=''" />
                            <input id="Button1" type="button" style="cursor:pointer;"  value="搜 索" runat="server" onserverclick="Button1_ServerClick" />
                        </div>
                    </div>
                    <div class="left-list">
                        <div class="left-list-title">类别</div>
                        <div class="left-list-contenter" id="typec" runat="server"></div>
                    </div>
                    <div class="left-list">
                        <div class="left-list-title">品牌</div>
                        <div class="left-list-contenter">
                            <%for (int i = 0; i < dsb.Tables[0].Rows.Count; i++)
                          { %><a href="list_pic.aspx?tid=<%=id %>&brand=<%=Server.UrlEncode(dsb.Tables[0].Rows[i]["bname"].ToString()) %>"><%=dsb.Tables[0].Rows[i]["bname"] %>
                            </a>(<%=dsb.Tables[0].Rows[i]["bcount"]  %>)<br /><%} %>
                        </div>
                    </div>
                    <div class="ang-bottomheight"></div>
                    <div class="ang-list02"></div>
                    <div class="ang-list01"></div>
                </div>
                <div class="sp-left-History">
                    <div class="ang-xlist01"></div>
                    <div class="ang-xlist02"></div>
                    <div class="his_div">
                        <div class="his_div_title">历史浏览：[&nbsp;<a href="javascript:ClearHistoryView();">清空</a>&nbsp;]</div>
                        <div class="his_div_content">
                            <ul id="h_ul"></ul>
                            <script type="text/javascript">GetHistoryView();</script>
                            <div class="both"></div>
                        </div>
                    </div>
                    <div class="ang-xlist02"></div>
                    <div class="ang-xlist01"></div>
                </div>
            </div>
        </div>
        <div class="sp-right-k">
            <div class="navigate">
                您现在的位置：<a href="Default.aspx">首页</a><span id="title_type" runat="server"></span>
                &nbsp;&nbsp;&nbsp;&nbsp;品牌：<a href="list_pic.aspx?tid=<%=id %>&dtlb=fd">全部</a><span
                    runat="server" id="title_brand"></span>
            </div>
            <div class="sp-right-content">
                <div class="sp-right-title">
                    <div class="sp-right-title-reveal">显示方式</div>
                    <div class="sp-right-title-reveal"><img src="images/allsearch_pic_point_4x7.gif" width="4" height="15"></div>
                    <div class="sp-right-title-reveal"><img src="images/allsearch_pic_min01.gif" alt="图文展示" width="17" height="15" border="0"></div>
                    <div class="sp-right-title-reveal"><a href="list_pic.aspx?tid=<%=id %>"><img src="images/allsearch_pic_big01.gif" alt="大图展示" width="17" height="15" border="0"></a></div>
                    <div class="both"></div>
                </div>
                <div class="sp-right-list01">
                    <ul>
                        <%for (int a = 0; a < dsc.Tables[0].Rows.Count; a++)
                      {%><li>
                            <div class="sp-right-product-left"><a href="Detail.aspx?cid=<%=dsc.Tables[0].Rows[a]["id"] %>" target="_blank"><img src="Upload/commodity/<%=dsc.Tables[0].Rows[a]["cmin_img"] %>" width="80" height="80" border="0" alt="<%=dsc.Tables[0].Rows[a]["cname"]%>" /></a></div>
                            <div class="sp-right-product-right">
                                <div class="sp-right-product-name01"><a href="Detail.aspx?cid=<%=dsc.Tables[0].Rows[a]["id"] %>" target="_blank"><%=dsc.Tables[0].Rows[a]["cname"]%></a></div>
                                <div class="sp-right-product-intro"><%=getStrc(dsc.Tables[0].Rows[a]["Cintroduction"].ToString())%></div>
                                <div class="sp-right-product-price-01">购买价：￥<%=dsc.Tables[0].Rows[a]["cprice"] %>元&nbsp;&nbsp;&nbsp;
                                    <%if (dsc.Tables[0].Rows[a]["cjmoney"].ToString()!="0.00"){ %><span style="color:red">减￥<%=dsc.Tables[0].Rows[a]["cjmoney"]%>元</span> <%} %>&nbsp;&nbsp;&nbsp;
                                    <%if (dsc.Tables[0].Rows[a]["cfmoney"].ToString()!="0.00"){ %><span style="color:#444">返￥<%=dsc.Tables[0].Rows[a]["cfmoney"]%>元</span> <%} %>
                                </div>
                                <div class="sp-right-product-button"><a href="Detail.aspx?cid=<%=dsc.Tables[0].Rows[a]["id"] %>" target="_blank"><img src="images/sp-buy.gif" width="55" height="19" border="0" /></a></div>
                            </div>
                        </li><%} %>
                        <div class="both"></div>
                    </ul>
                    <div class="leaf">
                        <webdiyer:AspNetPager CssClass="pages" CurrentPageButtonClass="cpb" ID="AspNetPager1"
                            runat="server" RecordCount="228" FirstPageText="首页" LastPageText="尾页" NextPageText="下一页"
                            PrevPageText="上一页" PageSize="28" UrlPaging="True" ShowMoreButtons="False" CustomInfoClass="pages1"
                            ShowDisabledButtons="False" CurrentPageButtonPosition="Center" ShowBoxThreshold="50"
                            ShowFirstLast="False">
                        </webdiyer:AspNetPager>
                    </div>
                    <div class="both"></div>
                </div>
            </div>
        </div>
        <div class="both"></div>
           <div id="footer">
                <div id="copyright">
                    <div class="search">
                        <div class="search-left">
                            <div class="search-left-title">
                                搜索：</div>
                            <div class="search-left-form">
                                <input type="text" runat="server" id="ser1" size="30" /></div>
                            <div class="search-left-list">
                                <select id="Select1" runat="server">
                                </select>
                            </div>
                            <div class="search-left-button">
                                <img src="images/search-buttom.gif" width="60" height="20" onclick="search3()" /></div>
                        </div>
                        <div class="search-right">
                            <div runat=server id="div3"></div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="copyright" runat="server" id="copr"></div>
    </div>
</div>
</form>
</body>
</html>
