<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="forumconfig.aspx.cs" Inherits="FangPage.Admin.forumconfig" %>

<%@ Register TagPrefix="cc1" Namespace="FangPage.Control" Assembly="FangPage.Control" %>
<!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" runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>站点论坛配置</title>
    <link href="styles/bmsmanager.css" type="text/css" rel="stylesheet" />
    <link href="styles/modelpopup.css" type="text/css" rel="stylesheet" />

    <script type="text/javascript" src="js/common.js"></script>

    <script type="text/javascript" src="js/modalpopup.js"></script>

</head>
<body leftmargin="5" topmargin="5" rightmargin="5" bottommargin="5">
    <div class="ManagerForm">
        <form id="Form1" method="post" runat="server" name="Form1">
        <fieldset>
            <legend style="background: url(images/icons/forum.gif) no-repeat 3px;padding-left:40px;">站点论坛配置</legend>
            <table class="table1" cellspacing="0" cellpadding="8" width="100%" align="center">
                <tr>
                    <td class="td1" align="right">
                        论坛名称：
                    </td>
                    <td class="td1">
                        <cc1:TextBox ID="Forumname" runat="server" RequiredFieldType="暂无校验" Width="150px" HintTitle="提示"
                            HintInfo="设置站点的论坛名称"></cc1:TextBox>
                    </td>
                    <td class="td1" align="right">
                        友情链接ID：
                    </td>
                    <td class="td1">
                        <cc1:TextBox ID="Forumlink" runat="server" Text="" Width="150px" RequiredFieldType="数据校验"
                            HintInfo="论坛友情链接使用的栏目ID" HintTitle="提示"></cc1:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="td1" align="right">
                        每页主题数：
                    </td>
                    <td class="td1">
                        <cc1:TextBox ID="Topicepagesize" runat="server" RequiredFieldType="数据校验" 
                            Width="150px" HintTitle="提示"
                            HintInfo="主题列表每页显示主题数"></cc1:TextBox>
                    </td>
                    <td class="td1" align="right">
                        每页帖子数：
                    </td>
                    <td class="td1">
                        <cc1:TextBox ID="Postpagesize" runat="server" Text="" Width="150px" RequiredFieldType="数据校验"
                            HintInfo="帖子列表每页显示的帖子数" HintTitle="提示"></cc1:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="td1" align="right">
                        帖子最小字数：
                    </td>
                    <td class="td1">
                        <cc1:TextBox ID="Minpostsize" runat="server" RequiredFieldType="数据校验" 
                            Width="150px" HintTitle="提示"
                            HintInfo="发布帖子最小的字数"></cc1:TextBox>
                    </td>
                    <td class="td1" align="right">
                        帖子最大字数：
                    </td>
                    <td class="td1">
                        <cc1:TextBox ID="Maxpostsize" runat="server" Text="" Width="150px" RequiredFieldType="数据校验"
                            HintInfo="发布帖子最大的字数" HintTitle="提示"></cc1:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="td1" align="right">
                        后台管理：
                    </td>
                    <td class="td1">
                         <cc1:RadioButtonList ID="Topicmanage" runat="server" RepeatLayout="Flow" HintTitle="提示"
                            HintInfo="论坛后台主题管理的模式。" RepeatColumns="2">
                            <asp:ListItem Value="0">未审核主题</asp:ListItem>
                            <asp:ListItem Value="1">全部主题</asp:ListItem>
                        </cc1:RadioButtonList>
                    </td>
                    <td class="td1" align="right">
                    显示在线用户：
                    </td>
                    <td class="td1">
                        <cc1:RadioButtonList ID="Showonline" runat="server" RepeatLayout="Flow" HintTitle="提示"
                            HintInfo="显示在线用户列表" RepeatColumns="2">
                            <asp:ListItem Value="0">不显示</asp:ListItem>
                            <asp:ListItem Value="1">显示</asp:ListItem>
                        </cc1:RadioButtonList>
                    </td>
                </tr>
                <tr>
                    <td class="td1" align="right">
                        允许发表主题：
                    </td>
                    <td class="td1">
                         <cc1:RadioButtonList ID="Posttopic" runat="server" RepeatLayout="Flow" HintTitle="提示"
                            HintInfo="是否允许发表主题" RepeatColumns="2">
                            <asp:ListItem Value="0">否</asp:ListItem>
                            <asp:ListItem Value="1">是</asp:ListItem>
                        </cc1:RadioButtonList>
                    </td>
                    <td class="td1" align="right">
                    允许发表回复：
                    </td>
                    <td class="td1">
                        <cc1:RadioButtonList ID="Postreply" runat="server" RepeatLayout="Flow" HintTitle="提示"
                            HintInfo="是否允许发表回复" RepeatColumns="2">
                            <asp:ListItem Value="0">否</asp:ListItem>
                            <asp:ListItem Value="1">是</asp:ListItem>
                        </cc1:RadioButtonList>
                    </td>
                </tr>
            </table>
        </fieldset>
        <cc1:Hint ID="Hint1" runat="server" HintImageUrl="images"></cc1:Hint>
        <div align="center">
            <cc1:Button ID="SaveInfo" runat="server" Text="保 存" OnClick="SaveInfo_Click"></cc1:Button>
        </div>
        </form>
    </div>
</body>
</html>
