<%@ page language="C#" autoeventwireup="true" inherits="news.News_Default, LebiMall" %>

<!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 %>-咨询</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">
    <link href="../images/css/cart.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 type="text/javascript">
        function search(){
            var texts2=document.getElementById("ser").value;
            var select_v2=document.getElementById("Select1").value;
            window.location="list.aspx?tid="+select_v2+"&titlec="+escape(texts2);
        }
        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 selecta(){
            var txttitle=document.getElementById("Text1").value;
            var txttid=document.getElementById("selecttype").value;
            window.location="List.aspx?tid="+txttid+"&title="+escape(txttitle);
        }
    </script>
</head>
<body>
        <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 id="search">
                <div class="search-left">
                    <div class="search-left-title">
                        搜索：</div>
                    <div class="search-left-form">
                        <input type="text" runat="server" id="ser" 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="search()" /></div>
                </div>
                <div class="search-right">
                    <div runat=server id="div_s"></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">
                                    <table>
                                        <tr><td align=right style="height:30px;">关键字：</td><td><input id="Text1" type="text" runat=server style="border:#ccc solid 1px; width:110px;" /></td></tr>
                                        <tr><td align=right style="height:30px;">类别：</td><td><select id="selecttype" runat="server"></select></td></tr>
                                        <tr><td colspan="2" style="height:30px;"><input id="Button1" type="button" value="搜索" class="btnbc" style="margin-left:50px;" onclick="selecta();" /></td></tr>
                                    </table>
                                </div>
                            </div>
                            <div class="left-list">
                                <div class="left-list-title">
                                    推荐文章</div>
                                <div class="left-list-contenter">
                                    <%for (int i = 0; i < ds_rec.Tables[0].Rows.Count;i++){ %>
                                        <a href="detail.aspx?aid=<%=ds_rec.Tables[0].Rows[i]["id"] %>"><%=ds_rec.Tables[0].Rows[i]["atitle"] %></a><br />
                                    <%} %>
                                </div>
                            </div>
                            <div class="left-list">
                                <div class="left-list-title">
                                    最热文章</div>
                                <div class="left-list-contenter">
                                    <%for (int i = 0; i < ds_hot.Tables[0].Rows.Count;i++){ %>
                                        <a href="detail.aspx?aid=<%=ds_hot.Tables[0].Rows[i]["id"] %>"><%=ds_hot.Tables[0].Rows[i]["atitle"] %></a><br />
                                    <%} %>
                                </div>
                            </div>
                            <div class="ang-bottomheight">
                            </div>
                            <div class="ang-list02">
                            </div>
                            <div class="ang-list01">
                            </div>
                        </div>
                    </div>
                </div>
                <div class="sp-right-k">
                    <div class="navigate">
                        您现在的位置：<a href="Default.aspx">首页</a>
                    </div>
                    <div class="content_wz">
                        <div class="tw_wz">
                         <script type="text/javascript">
                        var swf_width=370;
                        var swf_height=200;
                        var files='<%=strimg %>';
                        var links='<%=strurl %>';
                        var texts='<%=strtext %>';
                        document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="'+ swf_width +'" height="'+ swf_height +'">');
                        document.write('<param name="movie" value="../images/banner.swf"><param name="quality" value="high">');
                        document.write('<param name="menu" value="false"><param name=wmode value="opaque">');
                        document.write('<param name="FlashVars" value="bcastr_file='+files+'&bcastr_link='+links+'&bcastr_title='+texts+'">');
                        document.write('<embed src="../images/banner.swf" wmode="opaque" FlashVars="bcastr_file='+files+'&bcastr_link='+links+'&bcastr_title='+texts+'& menu="false" quality="high" width="'+ swf_width +'" height="'+ swf_height +'" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />'); document.write('</object>'); 
                        </script></div>
                         <div class="tt_wz">
                            <%for (int i = 0; i < ds_top.Tables[0].Rows.Count;i++ ){ %>
                                <a href="Detail.aspx?aid=<%=ds_top.Tables[0].Rows[i]["id"].ToString() %>"><%=getTTitle(ds_top.Tables[0].Rows[i]["atitle"].ToString())%></a><br />
                            <%} %>
                        </div>
                        <div class="both"></div>
                        <%for (int i = 0; i < ds_type.Tables[0].Rows.Count; i++){ %>
                            <%if (i % 2 == 0){ %><div class="wz_class1"><%}else{ %><div class="wz_class2"><%} %>
                            <div class="sp-right-title2">
                            <span class="list_title" ><a href="List.aspx?tid=<%=ds_type.Tables[0].Rows[i]["id"]%>"><%=ds_type.Tables[0].Rows[i]["atname"]%></a></span>
                            <span class="list_more" ><a href="List.aspx?tid=<%=ds_type.Tables[0].Rows[i]["id"]%>">更多...</a></span>
                                <div class="both">
                                </div>
                            </div>
                            <div class="sp-right-list2">
                                <%for (int j = 0; j < ds.Tables[i].Rows.Count; j++){%>
                                   <a href="Detail.aspx?aid=<%=ds.Tables[i].Rows[j]["id"].ToString() %>"><%=getCTitle(ds.Tables[i].Rows[j]["atitle"].ToString())%></a> <br />
                                <%} %>
                                <div class="both">
                                </div>
                            </div>
                            </div>
                        <%} %>
                    </div>
                </div><div class="both"></div>
                <div class="both"></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="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>
</body>
</html>
