<%@ Page Language="C#" MasterPageFile="Admin.master" AutoEventWireup="true" Inherits="Ruiao.WebSite.Public.Admin.Setting" Codebehind="Setting.aspx.cs" %>
<asp:Content ID="MyContent" ContentPlaceHolderID="cphMain" Runat="Server">

    <fieldset class="ContentBox">
    <div class="Head"><div class="Title"><%=MyTitle %></div></div>
    <div class="Body" id="mc_MainBody">
            <table border="0" cellspacing="1" class="EditTable">
            
            <tr class="sepItemTR" onmouseover="this.className='onItemTR';" onmouseout="this.className='sepItemTR';">
                <td class="NameTD">站点名称<br /><span class="Text_Notes"><%=ConfigNotes["SiteName"]%></span></td>
                <td class="ValueTD"><asp:TextBox ID="tbSiteName" runat="server"></asp:TextBox></td>
            </tr>
            <tr class="sepItemTR" onmouseover="this.className='onItemTR';" onmouseout="this.className='sepItemTR';">
                <td class="NameTD">站点地址<br /><span class="Text_Notes"><%=ConfigNotes["SiteUrl"]%></span></td>
                <td class="ValueTD"><asp:TextBox ID="tbSiteUrl" runat="server"></asp:TextBox></td>
            </tr>
            <tr class="ItemTR" onmouseover="this.className='onItemTR';" onmouseout="this.className='ItemTR';">
                <td class="NameTD">系统名称<br /><span class="Text_Notes"><%=ConfigNotes["SystemName"]%></span></td>
                <td class="ValueTD"><asp:TextBox ID="tbSystemName" runat="server" /></td>
            </tr>
            <tr class="sepItemTR" onmouseover="this.className='onItemTR';" onmouseout="this.className='sepItemTR';">
                <td class="NameTD">管理员信箱<br /><span class="Text_Notes"><%=ConfigNotes["AdminMail"]%></span></td>
                <td class="ValueTD"><asp:TextBox ID="tbAdminMail" runat="server" /></td>
            </tr>
            <tr class="ItemTR" onmouseover="this.className='onItemTR';" onmouseout="this.className='ItemTR';">
                <td class="NameTD">关键字<br /><span class="Text_Notes"><%=ConfigNotes["Keyword"]%></span></td>
                <td class="ValueTD"><asp:TextBox ID="tbKeyword" runat="server" Width="260px" /></td>
            </tr>
            <tr class="sepItemTR" onmouseover="this.className='onItemTR';" onmouseout="this.className='sepItemTR';">
                <td class="NameTD">版权信息<br /><span class="Text_Notes"><%=ConfigNotes["Copyright"]%></span></td>
                <td class="ValueTD"><asp:TextBox ID="tbCopyright" runat="server" TextMode="MultiLine" Rows="3" Columns="30"></asp:TextBox></td>
            </tr>
            <tr class="sepItemTR" onmouseover="this.className='onItemTR';" onmouseout="this.className='sepItemTR';">
                <td class="NameTD">默认皮肤<br /><span class="Text_Notes"><%=ConfigNotes["DefaultSkin"]%></span></td>
                <td class="ValueTD"><asp:DropDownList ID="ddlDefaultSkin" runat="server"></asp:DropDownList></td>
            </tr>
            <tr class="ItemTR" onmouseover="this.className='onItemTR';" onmouseout="this.className='ItemTR';">
                <td class="NameTD">系统状态<br /><span class="Text_Notes"><%=ConfigNotes["State"]%></span></td>
                <td class="ValueTD"><asp:DropDownList ID="ddlState" runat="server"></asp:DropDownList></td>
            </tr>
            <tr class="ItemTR" onmouseover="this.className='onItemTR';" onmouseout="this.className='ItemTR';">
                <td class="NameTD">系统导航菜单<br /><span class="Text_Notes"><%=ConfigNotes["MenuLinkID"]%></span></td>
                <td class="ValueTD"><asp:DropDownList ID="ddlMenuLinkID" runat="server"></asp:DropDownList></td>
            </tr>
            <tr class="sepItemTR" onmouseover="this.className='onItemTR';" onmouseout="this.className='sepItemTR';">
                <td class="NameTD">友情链接<br /><span class="Text_Notes"><%=ConfigNotes["FriendLinkID"]%></span></td>
                <td class="ValueTD"><asp:DropDownList ID="ddlFriendLinkID" runat="server"></asp:DropDownList></td>
            </tr>
            
            <tr class="ItemTR" onmouseover="this.className='onItemTR';" onmouseout="this.className='ItemTR';">
                <td class="NameTD">一般密码编码格式<br /><span class="Text_Notes"><%=ConfigNotes["PasswordEncode"]%></span></td>
                <td class="ValueTD"><asp:DropDownList ID="ddlPasswordEncode" runat="server"></asp:DropDownList></td>
            </tr>
            <tr class="ItemTR" onmouseover="this.className='onItemTR';" onmouseout="this.className='ItemTR';">
                <td class="NameTD">会员密码编码格式<br /><span class="Text_Notes"><%=ConfigNotes["MemberPasswordEncode"]%></span></td>
                <td class="ValueTD"><asp:DropDownList ID="ddlMemberPasswordEncode" runat="server"></asp:DropDownList></td>
            </tr>
            <tr class="ItemTR" onmouseover="this.className='onItemTR';" onmouseout="this.className='ItemTR';">
                <td class="NameTD">默认标签状态<br /><span class="Text_Notes"><%=ConfigNotes["DefaultTagState"]%></span></td>
                <td class="ValueTD"><asp:DropDownList ID="ddlDefaultTagState" runat="server"></asp:DropDownList></td>
            </tr>
            <tr class="sepItemTR" onmouseover="this.className='onItemTR';" onmouseout="this.className='sepItemTR';">
                <td class="NameTD">默认标签评级<br /><span class="Text_Notes"><%=ConfigNotes["DefaultTagRating"]%></span></td>
                <td class="ValueTD"><asp:TextBox ID="tbDefaultTagRating" runat="server" Width="30px" /> 级</td>
            </tr>
            <tr class="ItemTR" onmouseover="this.className='onItemTR';" onmouseout="this.className='ItemTR';">
                <td class="NameTD">在线数据过期时间<br /><span class="Text_Notes"><%=ConfigNotes["OnlineTimeOut"]%></span></td>
                <td class="ValueTD"><asp:TextBox ID="tbOnlineTimeOut" runat="server" Width="30px" /> 秒,0为永不过期</td>
            </tr>
            <tr class="sepItemTR" onmouseover="this.className='onItemTR';" onmouseout="this.className='sepItemTR';">
                <td class="NameTD">访问统计间隔时间<br /><span class="Text_Notes"><%=ConfigNotes["ViewCountTimeSpan"]%></span></td>
                <td class="ValueTD"><asp:TextBox ID="tbViewCountTimeSpan" runat="server" Width="30px" /> 秒</td>
            </tr>
            <tr class="ItemTR" onmouseover="this.className='onItemTR';" onmouseout="this.className='ItemTR';">
                <td class="NameTD">会员注册验证码<br /><span class="Text_Notes"><%=ConfigNotes["CheckCodeByMemberRegister"]%></span></td>
                <td class="ValueTD"><asp:CheckBox ID="cbxCheckCodeByMemberRegister" runat="server" Text="启用" /></td>
            </tr>
            <tr class="sepItemTR" onmouseover="this.className='onItemTR';" onmouseout="this.className='sepItemTR';">
                <td class="NameTD">会员登录验证码<br /><span class="Text_Notes"><%=ConfigNotes["CheckCodeByMemberLogin"]%></span></td>
                <td class="ValueTD"><asp:CheckBox ID="cbxCheckCodeByMemberLogin" runat="server" Text="启用" /></td>
            </tr>
            <tr class="ItemTR" onmouseover="this.className='onItemTR';" onmouseout="this.className='ItemTR';">
                <td class="NameTD">会员注册<br /><span class="Text_Notes"><%=ConfigNotes["AllowMemberRegister"]%></span></td>
                <td class="ValueTD"><asp:CheckBox ID="cbxAllowMemberRegister" runat="server" Text="允许" /></td>
            </tr>
            <tr class="sepItemTR" onmouseover="this.className='onItemTR';" onmouseout="this.className='sepItemTR';">
                <td class="NameTD">会员注册默认组<br /><span class="Text_Notes"><%=ConfigNotes["DefaultGroupID"]%></span></td>
                <td class="ValueTD"><asp:DropDownList ID="ddlDefaultGroupID" runat="server"></asp:DropDownList></td>
            </tr>
            <tr class="ItemTR" onmouseover="this.className='onItemTR';" onmouseout="this.className='ItemTR';">
                <td class="NameTD">发件人地址<br /><span class="Text_Notes"><%=ConfigNotes["SendmailAddress"]%></span></td>
                <td class="ValueTD"><asp:TextBox ID="tbSendmailAddress" runat="server"></asp:TextBox></td>
            </tr>
            
            <tr class="sepItemTR" onmouseover="this.className='onItemTR';" onmouseout="this.className='sepItemTR';">
                <td class="NameTD">SMTP邮件发送<br /><span class="Text_Notes"><%=ConfigNotes["SendmailBySmtp"]%></span></td>
                <td class="ValueTD"><asp:CheckBox ID="cbxSendmailBySmtp" runat="server" Text="启用" /></td>
            </tr>
            <tr class="ItemTR" onmouseover="this.className='onItemTR';" onmouseout="this.className='ItemTR';">
                <td class="NameTD">SMTP服务器地址<br /><span class="Text_Notes"><%=ConfigNotes["SmtpServer"]%></span></td>
                <td class="ValueTD"><asp:TextBox ID="tbSmtpServer" runat="server"></asp:TextBox></td>
            </tr>
            <tr class="sepItemTR" onmouseover="this.className='onItemTR';" onmouseout="this.className='sepItemTR';">
                <td class="NameTD">SMTP帐户<br /><span class="Text_Notes"><%=ConfigNotes["SmtpAccount"]%></span></td>
                <td class="ValueTD"><asp:TextBox ID="tbSmtpAccount" runat="server" /></td>
            </tr>
            <tr class="ItemTR" onmouseover="this.className='onItemTR';" onmouseout="this.className='ItemTR';">
                <td class="NameTD">SMTP密码<br /><span class="Text_Notes"><%=ConfigNotes["SmtpPassword"]%></span></td>
                <td class="ValueTD"><asp:TextBox ID="tbSmtpPassword" runat="server"></asp:TextBox></td>
            </tr>
            <tr class="sepItemTR" onmouseover="this.className='onItemTR';" onmouseout="this.className='sepItemTR';">
                <td class="NameTD">使用防盗链<br /><span class="Text_Notes"><%=ConfigNotes["IsHideUrl"]%></span></td>
                <td class="ValueTD"><asp:CheckBox ID="cbxIsHideUrl" runat="server" Text="启用" /></td>
            </tr>
            <tr class="ItemTR" onmouseover="this.className='onItemTR';" onmouseout="this.className='ItemTR';">
                <td class="NameTD">生成缩略图<br /><span class="Text_Notes"><%=ConfigNotes["IsPreviewImage"]%></span></td>
                <td class="ValueTD"><asp:CheckBox ID="cbxIsPreviewImage" runat="server" Text="启用" /></td>
            </tr>
            <tr class="sepItemTR" onmouseover="this.className='onItemTR';" onmouseout="this.className='sepItemTR';">
                <td class="NameTD">缩略图尺寸<br /><span class="Text_Notes"><%=ConfigNotes["PreviewImageWidth"]%></span></td>
                <td class="ValueTD">宽：<asp:TextBox ID="tbPreviewImageWidth" runat="server" Width="30px" />px 高：<asp:TextBox ID="tbPreviewImageHeight" runat="server" Width="30px" />px</td>
            </tr>
            <tr class="ItemTR" onmouseover="this.className='onItemTR';" onmouseout="this.className='ItemTR';">
                <td class="NameTD">缩略图大小规则<br /><span class="Text_Notes"><%=ConfigNotes["PreviewImageType"]%></span></td>
                <td class="ValueTD"><asp:DropDownList ID="ddlPreviewImageType" runat="server"></asp:DropDownList></td>
            </tr>
            <tr class="sepItemTR" onmouseover="this.className='onItemTR';" onmouseout="this.className='sepItemTR';">
                <td class="NameTD">图片水印设置<br /><span class="Text_Notes"><%=ConfigNotes["Watermark"]%></span></td>
                <td class="ValueTD"><asp:DropDownList ID="ddlWatermark" runat="server"></asp:DropDownList></td>
            </tr>
            <tr class="ItemTR" onmouseover="this.className='onItemTR';" onmouseout="this.className='ItemTR';">
                <td class="NameTD">水印文字内容<br /><span class="Text_Notes"><%=ConfigNotes["WatermarkText"]%></span></td>
                <td class="ValueTD"><asp:TextBox ID="tbWatermarkText" runat="server"></asp:TextBox></td>
            </tr>
            <tr class="sepItemTR" onmouseover="this.className='onItemTR';" onmouseout="this.className='sepItemTR';">
                <td class="NameTD">水印文字尺寸<br /><span class="Text_Notes"><%=ConfigNotes["WatermarkFontSize"]%></span></td>
                <td class="ValueTD"><asp:TextBox ID="tbWatermarkFontSize" runat="server" Width="30px"></asp:TextBox> px</td>
            </tr>
            <tr class="ItemTR" onmouseover="this.className='onItemTR';" onmouseout="this.className='ItemTR';">
                <td class="NameTD">水印文字颜色<br /><span class="Text_Notes"><%=ConfigNotes["WatermarkFontColor"]%></span></td>
                <td class="ValueTD"><asp:TextBox ID="tbWatermarkFontColor" runat="server"></asp:TextBox></td>
            </tr>
            
            <tr class="sepItemTR" onmouseover="this.className='onItemTR';" onmouseout="this.className='sepItemTR';">
                <td class="NameTD">水印字体<br /><span class="Text_Notes"><%=ConfigNotes["WatermarkFontName"]%></span></td>
                <td class="ValueTD"><asp:DropDownList ID="ddlWatermarkFontName" runat="server"></asp:DropDownList></td>
            </tr>
            <tr class="ItemTR" onmouseover="this.className='onItemTR';" onmouseout="this.className='ItemTR';">
                <td class="NameTD">水印图片<br /><span class="Text_Notes"><%=ConfigNotes["WatermarkImageUrl"]%></span></td>
                <td class="ValueTD"><asp:TextBox ID="tbWatermarkImageUrl" runat="server" Width="260px"></asp:TextBox></td>
            </tr>
            <tr class="sepItemTR" onmouseover="this.className='onItemTR';" onmouseout="this.className='sepItemTR';">
                <td class="NameTD">水印图片透明度<br /><span class="Text_Notes"><%=ConfigNotes["WatermarkAlpha"]%></span></td>
                <td class="ValueTD"><asp:TextBox ID="tbWatermarkAlpha" runat="server" Width="30"></asp:TextBox></td>
            </tr>
            <tr class="ItemTR" onmouseover="this.className='onItemTR';" onmouseout="this.className='ItemTR';">
                <td class="NameTD">水印图片去除底色<br /><span class="Text_Notes"><%=ConfigNotes["WatermarkCleanBg"]%></span></td>
                <td class="ValueTD"><asp:CheckBox ID="cbxWatermarkCleanBg" runat="server" Text="启用" /></td>
            </tr>
            <tr class="sepItemTR" onmouseover="this.className='onItemTR';" onmouseout="this.className='sepItemTR';">
                <td class="NameTD">水印尺寸<br /><span class="Text_Notes">水印的宽度与高度</span></td>
                <td class="ValueTD">宽：<asp:TextBox ID="tbWatermarkWidth" runat="server" Width="30px"></asp:TextBox>px 高：<asp:TextBox ID="tbWatermarkHeight" runat="server" Width="30px"></asp:TextBox>px</td>
            </tr>
            <tr class="ItemTR" onmouseover="this.className='onItemTR';" onmouseout="this.className='ItemTR';">
                <td class="NameTD">水印位置<br /><span class="Text_Notes"><%=ConfigNotes["WatermarkPlace"]%></span></td>
                <td class="ValueTD"><asp:DropDownList ID="ddlWatermarkPlace" runat="server"></asp:DropDownList></td>
            </tr>
            
            <tr class="sepItemTR" onmouseover="this.className='onItemTR';" onmouseout="this.className='sepItemTR';">
                <td class="NameTD">游客会员组<br /><span class="Text_Notes"><%=ConfigNotes["GuestUserGroupID"]%></span></td>
                <td class="ValueTD"><asp:DropDownList ID="ddlGuestUserGroupID" runat="server"></asp:DropDownList></td>
            </tr>
            <tr class="ItemTR" onmouseover="this.className='onItemTR';" onmouseout="this.className='ItemTR';">
                <td class="NameTD">游客登录名<br /><span class="Text_Notes"><%=ConfigNotes["GuestLoginName"]%></span></td>
                <td class="ValueTD"><asp:TextBox ID="tbGuestLoginName" runat="server"></asp:TextBox></td>
            </tr>
            <tr class="sepItemTR" onmouseover="this.className='onItemTR';" onmouseout="this.className='sepItemTR';">
                <td class="NameTD">游客显示名<br /><span class="Text_Notes"><%=ConfigNotes["GuestDisplayName"]%></span></td>
                <td class="ValueTD"><asp:TextBox ID="tbGuestDisplayName" runat="server"></asp:TextBox></td>
            </tr>
            
            
            <!--博客部分!-->
            <tr class="sepItemTR" onmouseover="this.className='onItemTR';" onmouseout="this.className='sepItemTR';">
                <td class="NameTD">是否允许开通新博客<br /><span class="Text_Notes"><%=ConfigNotes["NewBlogger"]%></span></td>
                <td class="ValueTD"><asp:CheckBox ID="cbxNewBlogger" runat="server" Text="允许" /></td>
            </tr>
            <tr class="sepItemTR" onmouseover="this.className='onItemTR';" onmouseout="this.className='sepItemTR';">
                <td class="NameTD">自动开通2级域名<br /><span class="Text_Notes"><%=ConfigNotes["DefaultAllowMyDomainName"]%></span></td>
                <td class="ValueTD"><asp:CheckBox ID="cbxDefaultAllowMyDomainName" runat="server" Text="允许" /></td>
            </tr>
            <tr class="sepItemTR" onmouseover="this.className='onItemTR';" onmouseout="this.className='sepItemTR';">
                <td class="NameTD">会员博客2级域名<br /><span class="Text_Notes"><%=ConfigNotes["BloggerDomainName"]%></span></td>
                <td class="ValueTD"><asp:TextBox ID="tbBloggerDomainName" runat="server" /></td>
            </tr>
            <tr class="sepItemTR" onmouseover="this.className='onItemTR';" onmouseout="this.className='sepItemTR';">
                <td class="NameTD">会员博客目录<br /><span class="Text_Notes"><%=ConfigNotes["BloggerPath"]%></span></td>
                <td class="ValueTD"><asp:TextBox ID="tbBloggerPath" runat="server" /></td>
            </tr>
            <tr class="ItemTR" onmouseover="this.className='onItemTR';" onmouseout="this.className='ItemTR';">
                <td class="NameTD">日志发表是否需要审核<br /><span class="Text_Notes"><%=ConfigNotes["PostCheck"]%></span></td>
                <td class="ValueTD"><asp:CheckBox ID="cbxPostCheck" runat="server" Text="需要" /></td>
            </tr>
            <tr class="ItemTR" onmouseover="this.className='onItemTR';" onmouseout="this.className='ItemTR';">
                <td class="NameTD">是否允许检索日志内容<br /><span class="Text_Notes"><%=ConfigNotes["SearchBody"]%></span></td>
                <td class="ValueTD"><asp:CheckBox ID="cbxSearchBody" runat="server" Text="允许" /></td>
            </tr>
            <tr class="sepItemTR" onmouseover="this.className='onItemTR';" onmouseout="this.className='sepItemTR';">
                <td class="NameTD">是否允许游客发表评论<br /><span class="Text_Notes"><%=ConfigNotes["GuestComment"]%></span></td>
                <td class="ValueTD"><asp:CheckBox ID="cbxGuestComment" runat="server" Text="允许" /></td>
            </tr>
            <tr class="ItemTR" onmouseover="this.className='onItemTR';" onmouseout="this.className='ItemTR';">
                <td class="NameTD">敏感字符审核限制<br /><span class="Text_Notes"><%=ConfigNotes["MaxBadWord"]%></span></td>
                <td class="ValueTD"><asp:TextBox ID="tbMaxBadWord" runat="server" Width="30px" /> 次</td>
            </tr>
            <tr class="sepItemTR" onmouseover="this.className='onItemTR';" onmouseout="this.className='sepItemTR';">
                <td class="NameTD">日志发表间隔时间<br /><span class="Text_Notes"><%=ConfigNotes["PostTimeSpan"]%></span></td>
                <td class="ValueTD"><asp:TextBox ID="tbPostTimeSpan" runat="server" Width="30px" /> 秒</td>
            </tr>
            <tr class="ItemTR" onmouseover="this.className='onItemTR';" onmouseout="this.className='ItemTR';">
                <td class="NameTD">评论发表间隔时间<br /><span class="Text_Notes"><%=ConfigNotes["CommentTimeSpan"]%></span></td>
                <td class="ValueTD"><asp:TextBox ID="tbCommentTimeSpan" runat="server" Width="30px" /> 秒</td>
            </tr>
            <tr class="sepItemTR" onmouseover="this.className='onItemTR';" onmouseout="this.className='sepItemTR';">
                <td class="NameTD">日志最大字符数<br /><span class="Text_Notes"><%=ConfigNotes["PostMaxWord"]%></span></td>
                <td class="ValueTD"><asp:TextBox ID="tbPostMaxWord" runat="server" Width="60px" /> 个字符</td>
            </tr>
            <tr class="ItemTR" onmouseover="this.className='onItemTR';" onmouseout="this.className='ItemTR';">
                <td class="NameTD">评论最大字符数<br /><span class="Text_Notes"><%=ConfigNotes["CommentMaxWord"]%></span></td>
                <td class="ValueTD"><asp:TextBox ID="tbCommentMaxWord" runat="server" Width="60px" /> 个字符</td>
            </tr>
            <tr class="ItemTR" onmouseover="this.className='onItemTR';" onmouseout="this.className='ItemTR';">
                <td class="NameTD">发表评论是否需要验证码<br /><span class="Text_Notes"><%=ConfigNotes["CheckCodeByComment"]%></span></td>
                <td class="ValueTD"><asp:CheckBox ID="cbxCheckCodeByComment" runat="server" Text="需要" /></td>
            </tr>
            <tr class="sepItemTR" onmouseover="this.className='onItemTR';" onmouseout="this.className='sepItemTR';">
                <td class="NameTD">博客列表每页显示条数<br /><span class="Text_Notes"><%=ConfigNotes["BloggerPageSize"]%></span></td>
                <td class="ValueTD"><asp:TextBox ID="tbBloggerPageSize" runat="server" Width="30px" /> 条</td>
            </tr>
            <tr class="ItemTR" onmouseover="this.className='onItemTR';" onmouseout="this.className='ItemTR';">
                <td class="NameTD">日志列表每页显示条数<br /><span class="Text_Notes"><%=ConfigNotes["PostPageSize"]%></span></td>
                <td class="ValueTD"><asp:TextBox ID="tbPostPageSize" runat="server" Width="30px" /> 条</td>
            </tr>
            <tr class="sepItemTR" onmouseover="this.className='onItemTR';" onmouseout="this.className='sepItemTR';">
                <td class="NameTD">评论是否倒序排列<br /><span class="Text_Notes"><%=ConfigNotes["CommentDesc"]%></span></td>
                <td class="ValueTD"><asp:CheckBox ID="cbxCommentDesc" runat="server" Text="倒序排列" /></td>
            </tr>
            <tr class="ItemTR" onmouseover="this.className='onItemTR';" onmouseout="this.className='ItemTR';">
                <td class="NameTD">允许中文ID<br /><span class="Text_Notes"><%=ConfigNotes["AllowUTFName"]%></span></td>
                <td class="ValueTD"><asp:CheckBox ID="cbxAllowUTFName" runat="server" Text="允许使用中文ID" /></td>
            </tr>
            
            <tr class="sepItemTR">
                <td class="NameTD"></td>
                <td class="ValueTD"><asp:Button ID="btSave" runat="server" Text="保存设置" OnClick="btSave_Click" CssClass="SubmitButton" /></td>
            </tr>
        </table>
    </div>
    <div class="Bottom"></div>
	</fieldset>

</asp:Content>