<%@ page language="C#" autoeventwireup="true" inherits="Detail, LebiMall" enableviewstate="false" %>
<!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><%=det.Tables[0].Rows[0]["cname"] %>-<%=title %>-<%=model_t.Title%></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/css3.css" rel="stylesheet" type="text/css" />
    <link href="images/css/css.css" rel="stylesheet" type="text/css" />
    <link href="images/css/s-4.css" rel="stylesheet" type="text/css" />
    <link href="images/css/shopcss.css" rel="stylesheet" type="text/css" />
    <link href="images/css/skincss.css" rel="stylesheet" type="text/css" />
    <link href=<%=styleurl %> rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="images/js/dtab.js"></script>
    <script type="text/javascript" src="images/js/prototype-1.4.0.js"></script>
    <script type="text/javascript" src="images/js/js_s.js"></script> 
    <script src="images/js/jquery-1.3.2.min.js" type="text/javascript"></script>
    <script src="images/js/jqzoom.pack.1.0.1.js" type="text/javascript"></script>
    <script type="text/javascript" src="images/js/dialog-d.js"></script>
    <script type="text/javascript" src="images/js/addfavorite.js"></script>
    <script type="text/javascript" src="images/js/shopjs.js"></script>
<script type="text/javascript">
    //添加购物车
    function addcart(cid,num,price,sumc){
        //alert(cid)
        openWindow('./AddCart.aspx?cid='+cid+'&num='+num+'&price='+price+'&sumc='+sumc,420,110,'购物车');
    }
    //立即购买
    function Buyc(cid,num,price,sumc){
        window.location.href='./ljCart.aspx?cid='+cid+'&num='+num;
    }
    function getCookies(name)
    {
        var arr = document.cookie.match(new RegExp("(^| )"+name+"=([^;]*)(;|$)"));
        if(arr != null) return decodeURI(arr[2]); return null;
    }
    function val(){
        var checkfc=getCookies('CheckCodeld');
        var chc=document.getElementById("Text1").value; 
        var c=document.getElementById("TextArea1").value;
        if(checkfc!=chc){
            alert('验证码错误！');
            return false;
        }
        if(c==""){
         alert('内容不能为空！');
            return false;
        }else{
            return true;
        }
    }
    function tiaozhan(){
        window.location.href='ShopType.aspx?keyword='+document.getElementById("txtGuanjian").value+'&bprice='+document.getElementById("txtbeginPrice").value+'&eprice='+document.getElementById("txtendPrice").value+'&typeid='+document.getElementById("ddlstType").value+'&id='+<%=shopid %>;
    }
    function redirect(){
        window.location.href='<%=getYm(shopid.ToString(),yuming) %>';
    }
    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);
    }
    </script>
<style type="text/css" >
    /*ProductInfoItemPicture Begin*/
    .productinfoitempicture{width:300px;}
    .productinfoitempicture table{width:300px; height:300px;border:1px solid #ccc;}
    .productinfoitempicture .bigpic IMG{border: none; width:300px;}
    .productinfoitempicture .picture{MARGIN-TOP: 10px; PADDING-LEFT: 5px; BACKGROUND: #f9f8f8; TEXT-ALIGN: left}
    .productinfoitempicture .picture IMG{MARGIN: 0px 3px; WIDTH: 46px; CURSOR: pointer; HEIGHT: 46px}
    .productinfoitempicture .picture IMG.onbg{PADDING-RIGHT: 2px; PADDING-LEFT: 2px; BACKGROUND: url(images/bg_pic.gif) no-repeat 0px 0px; PADDING-BOTTOM: 2px; PADDING-TOP: 8px}
    .productinfoitempicture .picture IMG.autobg{PADDING-RIGHT: 2px; PADDING-LEFT: 2px; BACKGROUND: url(images/bg_pic_1.gif) no-repeat 0px 0px; PADDING-BOTTOM: 2px; PADDING-TOP: 8px}
    /*ProductInfoItemPicture End*/
    div.jqZoomTitle{z-index:5000;text-align:center;font-size:11px;font-family:Tahoma;height:16px;padding-top:2px;position:absolute;top: 0px;left: 0px;width: 100%;color: #FFF;background: #999;}
    .jqZoomPup{overflow:hidden;background-color: #FFF;-moz-opacity:0.6;opacity: 0.6;filter: alpha(opacity = 60);z-index:10;border-color:#c4c4c4;border-style: solid;cursor:crosshair;}
    .jqZoomPup img{border:0;}
    .preload{-moz-opacity:0.8;opacity: 0.8;filter: alpha(opacity = 80);color: #333;font-size: 12px;font-family: Tahoma;text-decoration: none;border: 1px solid #CCC;background-color: white;padding: 8px;text-align:center;background-image: url(/images/load.gif);background-repeat: no-repeat;background-position: 43px 30px;width:90px;* width:100px;height:43px;*height:55px;z-index:10;position:absolute;top:3px;left:3px;}
    .jqZoomWindow{border: 1px solid #999;background-color: #FFF;}
</style>
</head>
<body onload="init_tab('1')">
<form id="form" runat="server"> 
<ul id="h_ul" style="display:none;"></ul>
<div id="top-menu02">
    <div id="top-menu">
        <div class="left">
            <ul><li><a href="http://<%=Request.Url.Host %><%=model_t.WebPath %>/" target="_blank">首页</a></li></ul>
        </div>
        <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="images/sp-logo.gif" border="0"/></a></div>
</div>
<script type="text/javascript">
    GetHistoryView();
    AddHistoryView('<%=det.Tables[0].Rows[0]["id"]%>','<%=det.Tables[0].Rows[0]["cname"] %>','<%=det.Tables[0].Rows[0]["cmin_img"] %>');
</script>
<div class="malltop" id="malltop"><a href="http://<%=Request.Url.Host %><%=model_t.WebPath %>/">首页</a> > 
 <%for (int i = ds_type.Tables.Count-1; i>=0; i--){ %><%if (ds_type.Tables[i].Rows.Count != 0){ %><a href="list.aspx?tid=<%=ds_type.Tables[i].Rows[0]["id"] %>"><%=ds_type.Tables[i].Rows[0]["ctname"].ToString()%> </a> > <%}}%><%=det.Tables[0].Rows[0]["cname"] %></div>
      <div id="contenter2">
      <div id="contenter1">
        <div id="mainbody">
            <div style="background-image: url(Upload/shop/<%=banner %>); height: 160px" class="box shop-header ">
                <div class="zl-divFlash">
                    <embed src="images/flash/<%=flash %>" width="960px" height="160px" type="application/x-shockwave-flash" wmode="transparent"><param name="wmode" value="transparent" /></embed>
                </div>
                <div class="shop-summary"><div class="shop-regular-hd"></div></div>
                <div class="shop-nav">
                    <ul><li title="首页"><a title="首页" href="<%=getYm(shopid.ToString(),yuming ) %>" target="_blank"><em>首页</em></a> </li>
                        <asp:Repeater runat="server" ID="rpTab">
                            <ItemTemplate><li title='<%#Eval("Sname") %>'><a title='<%#Eval("Sname") %>' href="<%#Eval("Slink") %>?showid=<%#Eval("Id") %>&id=<%#Eval("Shopid") %>"><em><%#Eval("Sname") %></em></a></li></ItemTemplate>
                        </asp:Repeater>
                        <li title="优惠券"><a title="优惠券" href="Coupons.aspx?id=<%=shopid %>"><em>优惠券</em></a></li>
                        <li class="current" title="<%=det.Tables[0].Rows[0]["cname"] %>"><a title="<%=det.Tables[0].Rows[0]["cname"] %>" href="Detail.aspx?cid=<%=cid %>"><em>产品明细</em></a></li>
                    </ul>
                </div>
            </div>
        <%--d_content上左右结构 右面为详细内容 右边为店铺信息 及搜索内容 样式是店铺样式  --%>

   
            <div class="d_content">
            <%--左边--%>
            <div class="d_cl">
                <div class="d_cl_tl">
                    <%--<img src="Upload/commodity/<%=det.Tables[0].Rows[0]["cmin_img"] %>" style="border:1px solid #ccc" width="309" height="307" />--%>
                   <%-- 图片多图查看--%>
                    <div class="productinfoitempicture">
                            <table>
                                <tr>
                                    <td valign="middle" align="center">
                                        <div class="bigpic">
                                        <%
                                        if (det.Tables[0].Rows[0]["cmax_img"].ToString().IndexOf('@')>-1){%>
                                            <a href="<%=getPic(det.Tables[0].Rows[0]["cmax_img"].ToString().Split('@')[1].ToString()) %>" id="jqzoom" class="jqzoom">
                                                <img border="0" onerror="this.src='Upload/Commodity/2.jpg'"  src="<%=getPic(det.Tables[0].Rows[0]["cmax_img"].ToString().Split('@')[1].ToString()) %>" name="prodView" id="prodView"/></a> 
                                        <%} 
                                        %>
                                        </div>
                                    </td>
                                </tr>
                            </table>
                            <div class="picture" id="PicList" title="<%=det.Tables[0].Rows[0]["cname"] %>">
                                    <% for (int i = 1; i < det.Tables[0].Rows[0]["cmax_img"].ToString().Split('@').Length; i++){ %>
                                    <img onerror="this.src='Upload/Commodity/2.jpg'" lang="<%=getPic(det.Tables[0].Rows[0]["cmax_img"].ToString().Split('@')[i].ToString()) %>"
                                        alt="<%=det.Tables[0].Rows[0]["cname"] %>" src="<%=getPic(det.Tables[0].Rows[0]["cmax_img"].ToString().Split('@')[i].ToString()) %>" />
                                        <%} %>
                                        </div>

                            <script type="text/javascript">ProductInfoItemPicture();</script>
                    </div>
                        
                    <div class="d_cl_tl_b"><img src="skin/red/images/fav-product.gif"  style="cursor:pointer" onclick="addftc(<%=cid %>,<%=shopid %>);"/></div>
                </div>
                <div class="d_cl_tr">
                    <ul>
                        <li><span class="sptname"><%=det.Tables[0].Rows[0]["cname"] %></span></li>
                        <%if (det.Tables[0].Rows[0]["cjmoney"].ToString() != "0.00"){%>
                        <li>商城价：<span style="font-size:24px; font-weight:normal; color:#ff0000"><%=det.Tables[0].Rows[0]["cprice"].ToString()%></span> 元&nbsp;<del><span style="font-size:14px; font-weight:bold"><%=decimal.Parse(det.Tables[0].Rows[0]["cprice"].ToString()) + decimal.Parse(det.Tables[0].Rows[0]["cjmoney"].ToString())%></span> 元</del></li>
                        <li>减现金：<span style="font-size:14px; font-weight:bold; color:#ff0000"><%=det.Tables[0].Rows[0]["cjmoney"]%></span> 元</li>
                       <%}else{ %>
                          <li>商城价：<span style="font-size:24px; font-weight:normal; color:#ff0000"><%=det.Tables[0].Rows[0]["cprice"].ToString()%></span> 元</li>
                         <%} %><%if (det.Tables[0].Rows[0]["cfmoney"].ToString()!="0.00") {%>
                        <li>返现金：<span style="font-size:14px; font-weight:bold; color:#0F8802"><%=det.Tables[0].Rows[0]["cfmoney"] %></span> 元</li><%} %>
                        <li><span class="spt">运费：<%if (det.Tables[0].Rows[0]["Cfreight"].ToString() == "1"){if(det.Tables[0].Rows[0]["Cfreight_py"].ToString()!="0"){ %>
                            平邮：<%=det.Tables[0].Rows[0]["Cfreight_py"] %>  元&nbsp;<%}if (det.Tables[0].Rows[0]["Cfreight_kd"].ToString() != "0"){ %>
                            快递：<%=det.Tables[0].Rows[0]["Cfreight_kd"]%>  元&nbsp;<%} if (det.Tables[0].Rows[0]["Cfreight_ems"].ToString() != "0"){%>
                            EMS：<%=det.Tables[0].Rows[0]["Cfreight_ems"]%>  元<%} %>
                        <%}else{ %>卖家承担运费<%} %></span></li>
                        <li><span class="spt">货到付款：<%if (det.Tables[0].Rows[0]["Cod"].ToString() == "0"){ %>不支持<%}else{ %>支持<%} %></span></li>
                        <li><span class="spt">浏览：</span><%=det.Tables[0].Rows[0]["Cclicknum"]%> 次</li>
                         <%if (det.Tables[0].Rows[0]["cno"] != null && det.Tables[0].Rows[0]["cbrand"].ToString() != ""){ %>
                            <li><span class="spt">品牌：<%=det.Tables[0].Rows[0]["cbrand"]%></span></li><%} %>
                        <li><span class="spt">发票：<%if (det.Tables[0].Rows[0]["Cinvoice"].ToString()=="0"){ %>无<%}else{ %>有<%} %></span></li>
                        <li><span class="spt">保修：<%if (det.Tables[0].Rows[0]["Cbaoz"].ToString() == "0"){ %>无<%}else{ %>有<%} %></span></li>
                        <li><div class="d_cl_tr_m">
                                <div class="d_cl_tr_mc">我要买：<input type="text" id="txt_num" style="width: 100px;" value=1 />件(库存<%=det.Tables[0].Rows[0]["cnum"]%>件)</div>
                                <div class="d_cl_tr_mc2"><img src="skin/red/images/gotobuy.png" id="btnm" style="cursor:pointer" onclick="Buyc('<%=cid %>',document.getElementById('txt_num').value,'<%=det.Tables[0].Rows[0]["cprice"] %>','<%=det.Tables[0].Rows[0]["cnum"]%>')" /><img src="skin/red/images/addcart.png" id="Button3" style="cursor:pointer" onclick="addcart('<%=cid %>',document.getElementById('txt_num').value,'<%=det.Tables[0].Rows[0]["cprice"] %>','<%=det.Tables[0].Rows[0]["cnum"]%>')" /></div></div>
                        </li>
                    </ul>
                    <p style="margin-top:5px;line-height:160%" runat="server" id="tieshi"></p>
                </div>
                <%--详细介绍--%>
                <div style="clear: both;"></div>
                <div class="d_cl_b">
                    <div class="d_cl_b_tab">
                        <ul><li id="li1" class="tab-" onclick="li_tab('1')"><div id="l1" class="left_"></div><div id="r1" class="right_">宝贝详情</div></li>
                            <li id="li2" class="tab-"  onclick="li_tab('2')"><div id="l2" class="left_1"></div><div id="r2" class="right_1">掌柜推荐</div></li>
                            <li id="li3" class="tab-"  onclick="li_tab('3')"><div id="l3" class="left_1"></div><div id="r3" class="right_1">其他信息</div></li>
                            <li id="li5" class="tab-"  onclick="li_tab('5')"><div id="l5" class="left_1"></div><div id="r5" class="right_1">售后服务</div></li>
                            <li id="li4" class="tab-"  onclick="li_tab('4')"><div id="l4" class="left_1"></div><div id="r4" class="right_1">留言簿</div></li>
                            <div style="clear: both"></div>
                        </ul>
                    </div>
                    <div class="d_cl_b_c1" id="bmsg">
                        <ul><%if (det.Tables[0].Rows[0]["cno"] != null && det.Tables[0].Rows[0]["cno"].ToString() != ""){ %>
                            <li class="li1">商品编号：<%=det.Tables[0].Rows[0]["cno"]%></li><%} %>
                            <%if (det.Tables[0].Rows[0]["cbrand"] != null && det.Tables[0].Rows[0]["cbrand"].ToString() != ""){ %>
                            <li class="li1">品牌：<%=det.Tables[0].Rows[0]["cbrand"]%></li><%} %> 
                            <li class="li2">货到付款：<%if (det.Tables[0].Rows[0]["Cinvoice"].ToString()=="0"){ %> 不支持<%}else{ %>支持<%} %></li>
                            <%if (det.Tables[0].Rows[0]["Cspecification"] != null && det.Tables[0].Rows[0]["Cspecification"].ToString() != ""){ %>
                            <li class="li1">规格：<%=det.Tables[0].Rows[0]["Cspecification"]%></li><%} %> 
                            <%if (det.Tables[0].Rows[0]["Cremark"] != null && det.Tables[0].Rows[0]["Cremark"].ToString() != ""){ %>
                            <li class="li2"><div class="li2_d">备注：</div><div class="li2_d"><%=det.Tables[0].Rows[0]["Cremark"]%></div></li><%} %></ul>
                    </div>
                    <div id="incl_div" style="width:750px; margin-top:10px; overflow:hidden;"><%=det.Tables[0].Rows[0]["Cintroduction"]%></div>
                    <div class="d_cl_b_c2" id="ztuijian">
                        <div class="d_cl_b_c2_t">掌柜推荐</div>
                        <div class="d_cl_b_c2_c">
                            <div class="d_cl_b_c2_clist">
                                <ul>
                                <%if (dsc != null){ %>
                                    <%for(int i=0;i<dsc.Tables[0].Rows.Count;i++){ %>
                                        <li>
                                            <div class="d_cl_b_uld"><a href="Detail.aspx?cid=<%=dsc.Tables[0].Rows[i]["id"]%>" target="_blank"><img class="li_img" src="Upload/commodity/<%=dsc.Tables[0].Rows[i]["cmin_img"] %>" width="80px" height="80px;" /></a></div>
                                            <div><span class="ul_t">￥</span><span class="ul_c"><%=dsc.Tables[0].Rows[i]["cprice"]%>元</span></div>
                                            <%if (dsc.Tables[0].Rows[i]["cfmoney"].ToString() != "0.00"){ %><div style="color:Blue;"><span class="ul_t">￥</span><span class="ul_c"><%=dsc.Tables[0].Rows[i]["cfmoney"]%>元</span></div><%} %>
                                            <%if (dsc.Tables[0].Rows[i]["cjmoney"].ToString() != "0.00"){  %><div style="color:Blue;"><span class="ul_t">￥</span><span class="ul_c"><%=dsc.Tables[0].Rows[i]["cjmoney"]%>元</span></div><%} %>
                                            <div><a href="Detail.aspx?cid=<%=dsc.Tables[0].Rows[i]["id"]%>" target=_blank><%=dsc.Tables[0].Rows[i]["cname"]%></a></div>
                                        </li>
                                <%}}%><div style="clear: both;"></div>
                                </ul>
                            </div>
                            <div class="d_cl_b_c2_cbtn"><input id="Button4" type="button" value="进入掌柜店铺" onclick="redirect()" /></div>
                        </div>
                    </div>
                    <div class="d_cl_b_c2" id="othermsg">
                        <div class="d_cl_b_c2_t">其他信息</div>
                        <div class="d_cl_b_c3_c">
                            <ul><li><span class="b_3c_ult">发票：</span><span class="b_3c_ulc"><%if (det.Tables[0].Rows[0]["Cinvoice"].ToString()=="0"){ %>无<%}else{ %>有<%} %></span></li>
                                <li><span class="b_3c_ult">保修：</span><span class="b_3c_ulc"><%if (det.Tables[0].Rows[0]["Cbaoz"].ToString() == "0"){ %>无<%}else{ %>有<%} %></span></li>
                                <li><span class="b_3c_ult">货到付款：</span><span class="b_3c_ulc">  <%if (det.Tables[0].Rows[0]["Cod"].ToString() == "0"){ %>不支持<%}else{ %>支持<%} %></span></li>
                                <div style="clear: both;"></div>
                            </ul>
                        </div>
                    </div>
                    <div class="d_cl_b_c2" id="aftersaleservice">
                        <div class="d_cl_b_c2_t">售后服务</div>
                        <div class="d_cl_b_c3_c">&nbsp;&nbsp;&nbsp;&nbsp;</div>
                    </div>
                    <div class="d_cl_b_c2" id="message_">
                        <div class="d_cl_b_c2_t">留言簿</div>
                        <div class="d_cl_b_c5_c">
                            <div class="d_cl_b_c5_c_msg" runat=server id="login_div">您需要先<a href="Login.aspx?uu=Detail.aspx">登录</a>，才能向掌柜提问。 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</div>
                            <div class="d_cl_b_c5_c_con">
                                <table>
                                    <tr>
                                        <td class="dcl_td">向掌柜提问：</td>
                                        <td><textarea id="TextArea1" cols="50" rows="5" class="textA" runat=server></textarea></td>
                                    </tr>
                                    <tr>
                                        <td>请输入校验码：</td>
                                        <td class="yanz">
                                            <table>
                                                <tr>
                                                    <td class="yanz_td"><input id="Text1" type="text" maxlength="5" size="5" class="txt_t1"/>  </td>
                                                    <td class="yanz_td"><img class="img_c" id="img1" src="imgcheck.aspx" language="javascript" onclick="this.src=this.src+'?'"></td>
                                                    <td><a onclick="javascript:document.getElementById('img1').src=document.getElementById('img1').src+'?'" class="dian_div" onmouseout="this.className='dian_out'" onmouseover="this.className='dian_over'">看不清？换一张</a></td>
                                                </tr>
                                            </table>
                                        </td>
                                    </tr>
                                    <tr id="trdivbt" runat=server>
                                      <td></td> 
                                      <td><asp:Button ID="Button6" runat="server" Text="提交" OnClick="Button6_Click" OnClientClick="return val();" /></td> 
                                    </tr>
                                </table>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <%--右边--%>
            <div class="col-sub">
                    <DIV class=box>
                        <DIV class="shop-info">
                            <DIV class=hd><H3><SPAN>店铺档案</SPAN></H3></DIV>
                            <DIV class=bd>
                                <DIV id=shop-info class="shop-intro-v2 hslice">
                                <DIV class=entry-content>
                                <asp:FormView runat="server" ID="formShopMgs">
                                    <ItemTemplate>
                                    <DIV class=credit>
                                    <H4>联系信息</H4>
                                        <UL>
                                          <LI><SPAN>店铺名称：</SPAN><a href="<%=getYm(shopid.ToString(),yuming ) %>" title="<%#Eval("Sname") %>" target="_blank"><%#Eval("Sname") %></a></LI>
                                          <LI><div style="float:left;">联系方式：</div><div style="float:left;"><%#getPhone(Eval("Sphone").ToString())%></div></LI>
                                          <LI><SPAN>所 在 地：</SPAN><%#GetAddress(Eval("Saddress").ToString()) %></LI>
                                        </UL>
                                    </DIV>
                                    <DIV class=other><img src="skin/red/images/fav-shop.gif" style="cursor:pointer;" id="btnColl" onclick="addft(<%=shopid %>,<%=cid %>);" /></DIV>
                                    </ItemTemplate>
                                </asp:FormView>
                                <DIV class="online-service">
                                <H4>在线客服</H4>
                                <UL>
                                <script>var online=new Array();</script>
                                <div id="kefu"  runat="server" style="text-align: left; padding-left: 20px;"></div>
                                </UL>
                                </DIV>
                            </DIV>
                            </DIV>
                            </DIV>
                        </DIV>
                    </DIV>
                    <div id="div1" runat="server"></div>
                    <div id="div2"  runat="server"></div>
                    <DIV class=box>
                    <DIV class=shop-search>
                    <DIV class=hd><H3><SPAN>店内搜索</SPAN></H3></DIV>
                    <DIV class=bd>
                    <DIV class=search-form>
                    <UL>
                      <LI class=keyword><LABEL for=keyword>关键字：</LABEL> <SPAN><asp:TextBox runat="server" ID="txtGuanjian" CssClass="left_text"></asp:TextBox></SPAN> </LI>
                      <LI class=price><LABEL for=price>价格：</LABEL> <SPAN><asp:TextBox ID="TextBox2" runat="server" CssClass="left_text1"></asp:TextBox> 到 <asp:TextBox ID="TextBox3" runat="server" CssClass="left_text2"></asp:TextBox></SPAN></LI>
                      <LI class=keyword><LABEL for=keyword>类别：</LABEL> <SPAN><asp:DropDownList runat="server" ID="ddlstType" Width="100px"></asp:DropDownList></SPAN></LI>
                      <LI class=submit><img src="images/search2.gif" onclick="tiaozhan()" style="cursor:pointer" /></LI>
                    </UL></DIV></DIV></DIV></DIV>
                     <div id="div3" runat="server"></div>
                    <DIV class=box>
                    <DIV class=shop-category>
                    <DIV class=hd><H3><SPAN>商品分类</SPAN></H3></DIV>
                    <DIV class=bd>
                    <UL id=J_Cats class=cats><div class="feileiall" runat="server" id="div_type"></div>
                    </UL></DIV></DIV></DIV>
                    <div id="div4"  runat="server"></div>
                    <DIV class=box>
                    <DIV class=shop-rank>
                    <DIV class=hd><H3><SPAN>商品排行榜</SPAN></H3></DIV>
                    <DIV class=bd>
                    <DIV class=rank-panel><!--热销宝贝排行-->
                    <UL>
                        <asp:Repeater ID="rpPaihang" runat="server">
                            <ItemTemplate>
                              <LI>
                              <DIV class=pic><A href="Detail.aspx?cid=<%#Eval("Id") %>" target=_blank><IMG src="Upload/commodity/<%#Eval("Cmin_img") %>" bigpicurl="Upload/commodity/<%#Eval("Cmin_img") %>" width="40" height="40"  alt="<%#Eval("Cname") %>" /></A></DIV>
                              <DIV class=desc><A title=<%#Eval("Cname") %> href="Detail.aspx?cid=<%#Eval("Id") %>" target=_blank><%#Eval("Cname") %></A></DIV>
                              <DIV class=price><STRONG><%#Eval("Cprice") %>元</STRONG></DIV>
                              </LI>
                            </ItemTemplate>
                        </asp:Repeater>
                    </UL></DIV></DIV></DIV></DIV>
                    <div id="div5"  runat="server"></div>
                    <DIV class=box>
                    <DIV class=shop-links>
                    <DIV class=hd><H3><SPAN>友情链接</SPAN></H3></DIV>
                    <DIV class=bd>
                    <UL>
                        <asp:Repeater runat="server" ID="rpFriLink">
                            <ItemTemplate>
                                <LI><a href=<%#getYm(Eval("id").ToString(),Eval("syuming").ToString()) %> target="_blank"><%#Eval("sname") %></a></LI>
                            </ItemTemplate>
                        </asp:Repeater>
                    </UL></DIV></DIV></DIV>
                    <div id="divleftEnd"  runat="server">
                    </div>
                    </div>

        </div>
        </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="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>
            </div>
            <div class="copyright" runat="server" id="copr"></div>
    </div></div>
    <div id="hdiv"></div>
</form>
</body>
</html>
