<%@ Page Language="C#" AutoEventWireup="true" Inherits="System_FeedBack, QianboCMS" EnableEventValidation="false" %>
<%@ Import Namespace="Qianbo.Common" %>
<!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 runat="server">
<title><%=Title %></title>
<link href="../Css/layout.css" rel="Stylesheet" type="text/css" />
</head>

<body>
<form id="form1" runat="server">
  <table width="99%" cellspacing="1" cellpadding="0" class="wzdh" align="center">
    <tr>
      <td style="padding-left: 10px;"><img src="../Images/Skin/Default/you.gif" align="absmiddle" /> 您现在的位置：<a href="../SystemInfo.aspx">后台管理</a> &gt;&gt; <a href="../Other/NoticeList.aspx">用户管理</a> &gt;&gt; 查看问答</td>
    </tr>
  </table>
  <table align="center" cellpadding="0" cellspacing="1" class="border" width="99%">
    <tr class="wzlist">
      <td><a href="FeedBackList.aspx">所有问答</a></td>
    </tr>
  </table>
  <table cellpadding="0" cellspacing="1" class="border" align="center">
    <tr class="title">
      <td colspan="2"><asp:Literal ID="LitPostTitle" runat="server"></asp:Literal>
        (<img src="../../Images/reward.gif" align="absmiddle" /> 悬赏分：<asp:Literal ID="LitReward" runat="server"></asp:Literal>)</td>
    </tr>
    <tr>
      <td class="bqleft" style="width: 200px; line-height: 200%;">作者：<asp:Literal ID="LitPostAuthor" runat="server"></asp:Literal><br />
      用户组：<asp:Literal ID="LitPostAuthorGroup" runat="server"></asp:Literal><br />
      发表日期：<asp:Literal ID="LitPostDate" runat="server"></asp:Literal><br />
      IP：<asp:Literal ID="LitIp" runat="server"></asp:Literal></td>
      <td class="bqright" style="line-height: 200%;" valign="top"><asp:Literal ID="LitContent" runat="server"></asp:Literal></td>
    </tr>
    <asp:Repeater ID="rptFeedBack" runat="server" OnItemCommand="rptFeedBack_ItemCommand">
      <ItemTemplate>
        <tr>
          <td class="bqleft" style="width: 200px; line-height: 200%;">
          作者：<%# Eval("author") %>
          用户组：<%#SetUserGroup(Eval("author"))%>
          回复时间:<%#Eval("replyDate") %>
          IP：<%#Eval("Ip") %>
          <img src="../../Images/reward.gif" align="absmiddle" /> 得分：<%#Eval("Scoring") %>
          <img src="../../Images/del.gif" align="absmiddle" /> <asp:LinkButton ID="lnkbtnDel" runat="server" CommandArgument='<%#Eval("Id") %>' CommandName="Del" OnClientClick="return confirm('是否删除此回复？')">删除</asp:LinkButton></td>
          <td class="bqright" style="line-height: 200%;" valign="top"><%# Function.HtmlEncode(Eval("content").ToString())%></td>
        </tr>
      </ItemTemplate>
    </asp:Repeater>
  </table>
  <table align="center" cellpadding="0" cellspacing="1" class="border" width="99%">
    <tr class="title">
      <td align="center" colspan="2"><strong>状态设置</strong></td>
    </tr>
    <tr class="tdbg">
      <td class="bqleft" style="width: 200px;">设置处理状态：</td>
      <td class="bqright"><asp:RadioButtonList ID="rblState" runat="server" RepeatDirection="Horizontal" RepeatLayout="Flow">
          <asp:ListItem Selected="True" Value="0">问答中</asp:ListItem>
          <asp:ListItem Value="1">已完成</asp:ListItem>
          <asp:ListItem Value="2">锁定</asp:ListItem>
        </asp:RadioButtonList>
        <asp:Button ID="btnSetState" runat="server" Text="设置" CssClass="btn" OnClick="btnSetState_Click" CausesValidation="False" /></td>
    </tr>
    <tr class="tdbg">
      <td class="bqleft" style="width: 200px;">修改分类：</td>
      <td class="bqright">从当前分类：
        <asp:Literal ID="LitCategory" runat="server"></asp:Literal>
        移动到
        <asp:DropDownList ID="ddlCategory" runat="server"></asp:DropDownList>
        <asp:Button ID="btnSetTrans" runat="server" Text="设置" CssClass="btn" CausesValidation="False" OnClick="btnSetTrans_Click" /></td>
    </tr>
  </table>
</form>
</body>
</html>