<%@ page language="C#" autoeventwireup="true" inherits="ask_List, App_Web_k4nthjel" 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" %>
<%@ Register src="Searchbox.ascx" tagname="Searchbox" tagprefix="uc7" %>
<%@ Register src="LeftCategorys.ascx" tagname="LeftCategorys" tagprefix="uc8" %>

<%@ Register src="../inc/PageSmallHead.ascx" tagname="PageSmallHead" tagprefix="uc9" %>

<%@ Register src="ListTopTotal.ascx" tagname="ListTopTotal" tagprefix="uc10" %>

<!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">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
    <meta name="description" content="<%= Description %>" />
    <meta name="keywords" content="<%= Keywords %><%= ParentCategoryName%> <%= CategoryName%>" />
    
    <title><%= CategoryName == "" ? "" : CategoryName + "_"%><%= ParentCategoryName%>_<%= GetStatusText() %>_福建婚嫁问答</title>
    <link href="/css/style.css" rel="stylesheet" type="text/css" />
    <link href="/css/front.css" rel="stylesheet" type="text/css" />
    <link href="/fsk/style.css" rel="stylesheet" type="text/css" />
    <style type="text/css"></style>
    <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>
    <script type="text/javascript" src="/js/ajax.js"></script>
</head>
<body>
    <form id="form1" runat="server">
    <div class="wrapper askbody">
            <uc9:PageSmallHead ID="PageSmallHead1" runat="server" Title="问答" />
            
            <!-- 主要内容开始 -->
            <uc7:Searchbox ID="Searchbox1" runat="server" />
            
            <div class="clear"></div>
            <uc8:LeftCategorys ID="LeftCategorys1" runat="server" />
            
            <div class="asklist">
                    <div class="tit">
                        <div class="left"><span><a href="/fsk/">问答首页</a> > <a href="<%= Utils.GetAskCateLinkUrl(cid) %>"><%= ParentCategoryName %></a> <%= ParentCategoryName != "" && CategoryName != "" ? " > " : ""%><a href="<%= Utils.GetAskCateLinkUrl(subCid) %>"><%= CategoryName %></a></span> <a href="javascript:fav();"><img src="/fsk/images/fav.gif" /></a> <a href="<%= ConfigurationManager.AppSettings["url_forum"] %>" target="_blank" title="福建福州婚嫁论坛"><img src="/fsk/images/forums.gif" alt="福建福州婚嫁论坛" /></a></div>
                        <div class="right"><a href="#" class="rss"><img src="/fsk/images/rss.gif" /></a></div></div>
                <div class="bg">
                    <div class="totals">
                        <uc10:ListTopTotal ID="ListTopTotal1" runat="server" />
                        <div class="clear"></div>
                    </div>
                    <div class="opts"><a href="/fsk/BeforeQuestion.html"><img src="/fsk/images/doask.gif" /></a></div>
                    <div class="tabs">
                        <ul>
                            <li <%= Request["status"] == null ? "class='chked'" : "" %>><a href="/fsk/<%= GetParamUrls() %>">全部问题</a></li>
                            <li <%= Request["status"] == "undone" ? "class='chked'" : "" %>><a href="/fsk/t/<%= GetParamUrls() %>undone/">待解决</a></li>
                            <li <%= Request["status"] == "done" ? "class='chked'" : "" %>><a href="/fsk/t/<%= GetParamUrls() %>done/">已解决</a></li>
                            <li <%= Request["status"] == "recomm" ? "class='chked'" : "" %>><a href="/fsk/t/<%= GetParamUrls() %>recomm/">推荐问答</a></li>
                            <li <%= Request["status"] == "best" ? "class='chked'" : "" %>><a href="/fsk/t/<%= GetParamUrls() %>best/">一周精华</a></li>
                            <li <%= Request["status"] == "goodstore" ? "class='chked'" : "" %>><a href="/fsk/t/<%= GetParamUrls() %>goodstore/">高悬赏</a></li>
                        </ul>
                        <div class="clear"></div>
                    </div>
                    <div class="list">
                            <asp:Repeater ID="rptMain" runat="server">
                            <HeaderTemplate>
                            <ul>
                            <li class="head">
                                <span class="a">主题 (共<%= recordCount %>项)</span>
                                <span class="b">回复/点击</span>
                                <span class="c">状态</span>
                                <span class="d">最后回复</span>
                            </li>
                            </HeaderTemplate>
                            <ItemTemplate>
                            <li>
                                <span class="a"><a target="_blank" href="<%# Utils.GetAskItemLinkUrl(DataBinder.Eval(Container.DataItem, "subcateid"),DataBinder.Eval(Container.DataItem, "topcid")) %>" <%# Convert.ToBoolean(DataBinder.Eval(Container.DataItem, "isbest")) ? "class='red'" : "" %>><%# Utils.GetShortText(DataBinder.Eval(Container.DataItem, "subject"),60)%></a> [<%# Utils.GetAskCateLinkHTML(DataBinder.Eval(Container.DataItem, "subcateid"))%></a>] <%# Convert.ToBoolean(DataBinder.Eval(Container.DataItem, "isbest")) ? "<img src='/fsk/images/topest.gif' />" : ""%> <%# Convert.ToInt32(DataBinder.Eval(Container.DataItem, "store")) > 0 ? "<img src='/fsk/images/moneys.gif' alt='高悬赏' /> " + DataBinder.Eval(Container.DataItem, "store").ToString() : ""%></span>
                                <span class="b"><%# DataBinder.Eval(Container.DataItem, "asks")%>/<%# DataBinder.Eval(Container.DataItem, "hots")%></span>
                                <span class="c"><%# Convert.ToBoolean(DataBinder.Eval(Container.DataItem, "isdone")) ? "<img src='/fsk/images/chked.gif' />" : "<img src='/fsk/images/ques2.gif' />"%></span>
                                <span class="d"><%# Utils.DateStringFromNow(DataBinder.Eval(Container.DataItem, "lastaskdate"))%></span>
                            </li>
                            </ItemTemplate>
                            <FooterTemplate>
                        </ul>
                            </FooterTemplate>
                            </asp:Repeater>
                        <div class="clear"></div>
                        <div class="pages"><uc5:ParamPageNavigator ID="ParamPageNavigator1" runat="server" RewriteExpression='/fsk/'/></div>
                    </div>
                </div>
            </div>
            
            <div class="btmaskbox">
                <div>
                    <input type="text" class="txt askbtmschtxt" /> <br /><input type="button" value="搜索答案" class="btn askbtmschbtn" />  <input type="button" value="我要提问" class="btn askbtmdobtn" />
                </div>
            </div>
            <div class="clear"></div>
            
            <!-- 主要内容结束 -->
            <uc3:PageFooter ID="PageFooter1" runat="server" />
        </div>
    </form>
</body>
</html>
