<%@ page language="C#" autoeventwireup="true" inherits="NewsList, App_Web_flu4wwrf" enableviewstate="false" enableEventValidation="false" %>

<%@ Register src="inc/PageHead.ascx" tagname="PageHead" tagprefix="uc1" %>
<%@ Register src="inc/PageSearchBox.ascx" tagname="PageSearchBox" tagprefix="uc2" %>
<%@ Register src="inc/PageFooter.ascx" tagname="PageFooter" tagprefix="uc3" %>
<%@ Register src="inc/NewsRight.ascx" tagname="NewsRight" tagprefix="uc4" %>
<%@ Register src="inc/ParamPageNavigator.ascx" tagname="ParamPageNavigator" tagprefix="uc5" %>
<%@ Register src="inc/NewsTopAds.ascx" tagname="NewsTopAds" tagprefix="uc6" %>

<!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>福州<%= cate[2] %>_资讯列表_<%= ConfigurationManager.AppSettings["site_title"]%>_<%= ConfigurationManager.AppSettings["app_domain"] %></title>
    <meta name="description" content="<%= cate[5]%>" />
    <meta name="keywords" content="<%= cate[3]%>,<%= cate[2]%>,<%= cate[5]%>" />
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
    <link href="/css/style.css" rel="stylesheet" type="text/css" />
    <link href="/css/front.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="/Js/jquery.js"></script>
    <script type="text/javascript" src="/Js/utils.js"></script>
    <script type="text/javascript" src="/Js/_effect.js"></script>
</head>
<body>
    <form id="form1" runat="server">
    <div class="wrapper">
            <uc1:PageHead ID="PageHead1" runat="server" />
            
            <div class="body">
                <!-- 主要内容开始 -->
                <uc2:PageSearchBox ID="PageSearchBox1" runat="server" />
                
                <uc6:NewsTopAds ID="NewsTopAds1" runat="server" />
                <div class="clear"></div>
                
                <div class="newslists mg_top">
                    <div class="left">
                        <div class="categorys">
                            <div>热门关键字</div>
                            <ul><% foreach (string[] itemkey in Utils.arrNewsCategorys)
                               {
                                   if (itemkey[1] == "0" && itemkey[0] != "3")
                                   {
                                    %>
                                    <li><br /><strong><%=  itemkey[2] %></strong></li>
                                    <%foreach (string[] subitemkey in Utils.arrNewsCategorys)
                                      {
                                          if (subitemkey[1] == itemkey[0])
                                          {
                                          %><li><a href="/news/<%= subitemkey[4] %>/" <%= Request.QueryString["p"] == subitemkey[4] ? "class='chked'" : "" %>><%= subitemkey[2] %></a></li><%}
                                      }%>
                                      <li></li>
                                      <%}
                               }%>
                            </ul>
                        </div>
                        <div class="list">
                            <div class="news_top">
                                <div class="category"><%= cate[2] %></div>
                                <div class="position">当前位置：<a href="/">首页</a> > <a href="/newshome/">婚嫁资讯</a> > <a href="/news/<%= cate[4] %>/"><%= cate[3] %></a></div>
                            </div>
                            
                            <%if(Request.QueryString["keywords"]!=null){ %>
                            <div class="clear searchresult">
                                以下是 “<span><%= Request.QueryString["keywords"]%></span>” 搜索结果
                            </div>
                            <%} %>
                            
                            <h1><a href="/news/<%= cate[4] %>"><%= cate[3] %>资讯列表</a></h1>
                            <ul class="ul">
                                <asp:Repeater ID="rptList" runat="server">
                                <ItemTemplate>
                                <li>
                                    <div class="img" <%# DataBinder.Eval(Container.DataItem, "picurl").ToString() == "" ? "style='display:none;'" : "" %>><a target="_blank" href="/news/<%# DataBinder.Eval(Container.DataItem, "newsid")%>.html"><img src="/uploadfiles/<%# DataBinder.Eval(Container.DataItem, "picurl")%>" /></a></div>
                                    <div class="cnt">
                                        <div class="tit"><a href="/news/<%# DataBinder.Eval(Container.DataItem, "newsid")%>.html" target="_blank"><%# ReplaceKeywords(Utils.GetShortText(DataBinder.Eval(Container.DataItem, "title"), 50)) %></a></div>
                                        <div class="descr"><%# DataBinder.Eval(Container.DataItem, "descr").ToString() == "" ? DataBinder.Eval(Container.DataItem, "title") : Utils.GetShortText((DataBinder.Eval(Container.DataItem, "descr") as string).Replace("　", ""), 120)%></div>
                                        <div class="more"><a href="/news/<%# DataBinder.Eval(Container.DataItem, "newsid")%>.html" target="_blank">浏览全文</a></div>
                                    </div>
                                    <div class="clear"></div>
                                </li>
                                </ItemTemplate>
                                </asp:Repeater>
                            </ul>
                            
                            <% if(rptList.Items.Count == 0 ){ %>
                            <div class="nodata">
                                没有找到相关新闻
                            </div>
                            <% } %>
                            <div class="page">
                                <uc5:ParamPageNavigator ID="ParamPageNavigator1" runat="server" RewriteExpression="/news/" />
                            </div>
                            <div class="clear"></div>
                            <div class="t_center">
                                <a href="http://bbs.<%= ConfigurationManager.AppSettings["app_domain"] %>"><img src="/images/bbs_ent.gif" alt="新娘论坛" /></a>
                            </div>
                        </div>
                    </div>
                    <div class="right">
                        <uc4:NewsRight ID="NewsRight1" runat="server" />
                    </div>
                </div>
                
                <!-- 主要内容结束 -->
                <uc3:PageFooter ID="PageFooter1" runat="server" />
            </div>
        </div>
    </form>
</body>
</html>
