<%@ page language="C#" autoeventwireup="true" inherits="ask_AskList, App_Web_k4nthjel" 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" %>

<!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="" />
    <meta name="keywords" content="" />
    
    <title>问答 - 详细</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 doask">
            <uc9:PageSmallHead ID="PageSmallHead1" runat="server" Title="问答" />
            
            <!-- 主要内容开始 -->
            <uc7:Searchbox ID="Searchbox1" runat="server" />
            
            <div class="topnavs">
                <div class="left"><a href="/fsk/">婚嫁问答</a> > 提问</div>
                <div class="right"><a href="#"></a></div>
            </div>
            <div class="clear"></div>
            
            <div class="opts">
                <div class="tit">提问</div>
                <div class="bg asklists">
                    <div class="disp">请查看下面的问题是否解决了您的疑问：</div>
                    <div>
                        <asp:Repeater ID="rptMain" runat="server">
                        <HeaderTemplate>
                        <ul>
                        </HeaderTemplate>
                        <ItemTemplate>
                        <li>
                            <a target="_blank" href="<%# Utils.GetAskItemLinkUrl(DataBinder.Eval(Container.DataItem, "subcateid"),DataBinder.Eval(Container.DataItem, "topcid")) %>"><%# ReplaceKeyword(DataBinder.Eval(Container.DataItem, "subject")) %></a><br />
                            <%# ReplaceKeyword(DataBinder.Eval(Container.DataItem, "topicdescr")) %><br />
                            <%# ReplaceKeyword(DataBinder.Eval(Container.DataItem, "askdescr"))%>
                        </li>
                        </ItemTemplate>
                        <FooterTemplate>
                        </ul>
                        </FooterTemplate>
                        </asp:Repeater>
                        
                        <% if(recordCount == 0){ %>
                        抱歉，没有找到关于<span style="color:Red; font-weight:bold;"><%= Request["keyword"] %></span>的内容。
                        <%} %>
                    </div>
                    <div class="pages">
                        <uc5:ParamPageNavigator  ID="ParamPageNavigator1" runat="server" />
                    </div>
                    <div class="continue"><span>如果没有解决您的疑问，请继续提问：
                        </span><br />
                        <input type="button" value="继续提问>>" class="btnn" />
                    </div>
                    <div class="clear"></div>
                </div>
            </div>
            
            <!-- 主要内容结束 -->
            <uc3:PageFooter ID="PageFooter1" runat="server" />
        </div>
    </form>
    <script type="text/javascript">
        $(function() {
            $(".btnn").click(function() {
                window.location = "/fsk/PostQuestion.aspx?keyword=" + encodeURI("<%= Request["keyword"] %>");
            });
        });
    </script>
</body>
</html>
