<%@ Page language="c#" Codebehind="InterestingPosts.aspx.cs" AutoEventWireup="false" Inherits="CommunityServer.ControlPanel.BlogAdmin.InterestingPostsOptionsPage" MasterPageFile="~/ControlPanel/Masters/BlogAdmin.master" %>

<asp:Content ContentPlaceHolderId="DescriptionRegion" runat="server">
	<CP:ResourceControl runat="Server" resourcename="CP_BlogAdmin_Options_InterestingPosts" />
</asp:Content>

<asp:Content ContentPlaceHolderId="TaskRegion" runat="Server">
    <CP:ControlPanelSelectedNavigation runat="server" SelectedNavItem="BlogSettingsInteresting" />
	<div class="CommonDescription">
		<CP:ResourceControl runat="Server" resourcename="CP_BlogAdmin_Options_InterestingPosts_Instructions" />
	</div>
	
	<CP:FileOnlyStatusMessage id="FOStatus" runat="server" visible="false" />
	<asp:PlaceHolder id="OptionHolder" runat="Server">
	<CP:ConfigOKStatusMessage id="Status" runat="server" visible="false" />
	<div class="FixedWidthContainer">
		<table cellpadding="0" cellspacing="0" border="0">
		
		<tr>
		<td class="CommonFormFieldName">
			<strong><cp:ResourceControl runat="Server" resourcename="CP_BlogAdmin_Options_InterestingPosts_Enable" /></strong><br />
			<cp:ResourceControl runat="Server" resourcename="CP_BlogAdmin_Options_InterestingPosts_Enable_Help" />
		</td>
		<td class="CommonFormField">
		    <CP:YesNoRadioButtonList id="enableFactors" runat="Server" repeatcolumns="2" />
		</td>
		</tr>
		
		<tr>
		<td class="CommonFormFieldName">
			<strong><cp:ResourceControl runat="Server" resourcename="CP_BlogAdmin_Options_InterestingPosts_Posts" /></strong><br />
			<cp:ResourceControl runat="Server" resourcename="CP_BlogAdmin_Options_InterestingPosts_Posts_Help" />
		</td>
		<td class="CommonFormField">
			<asp:dropdownlist id="PostsToUse" runat="Server" cssclass="ControlPanelTextInput" width = "300px" >
			    <asp:ListItem text="100" value = "100" />
			    <asp:ListItem text="250" value = "250" />
			    <asp:ListItem text="500" value = "500" />
			    <asp:ListItem text="1000" value = "1000" />
			</asp:dropdownlist>
		</td>
		</tr>		
		
		<tr>
		<td class="CommonFormFieldName">
			<strong><cp:ResourceControl runat="Server" resourcename="CP_BlogAdmin_Options_InterestingPosts_DateFactor" /></strong><br />
			<cp:ResourceControl runat="Server" resourcename="CP_BlogAdmin_Options_InterestingPosts_DateFactor_Help" />
		</td>
		<td class="CommonFormField">
			<asp:TextBox id="DateFactor" runat="Server" cssclass="ControlPanelTextInput" width="200px" />
			<asp:CompareValidator runat = "Server" ControlToValidate="DateFactor" Operator = "DataTypeCheck" Type="Double">Invalid Format</asp:CompareValidator>
		</td>
		</tr>		
		
		<tr>
		<td class="CommonFormFieldName">
			<strong><cp:ResourceControl runat="Server" resourcename="CP_BlogAdmin_Options_InterestingPosts_RatingFactor" /></strong><br />
			<cp:ResourceControl runat="Server" resourcename="CP_BlogAdmin_Options_InterestingPosts_RatingFactor_Help" />
		</td>
		<td class="CommonFormField">
			<asp:TextBox id="RatingFactor" runat="Server" cssclass="ControlPanelTextInput" width="200px" />
			<asp:CompareValidator runat = "Server" ControlToValidate="RatingFactor" Operator = "DataTypeCheck" Type="Double" ID="Comparevalidator1">Invalid Format</asp:CompareValidator>
		</td>
		</tr>
		
		<tr>
		<td class="CommonFormFieldName">
			<strong><cp:ResourceControl runat="Server" resourcename="CP_BlogAdmin_Options_InterestingPosts_CommentFactor" /></strong><br />
			<cp:ResourceControl runat="Server" resourcename="CP_BlogAdmin_Options_InterestingPosts_CommentFactor_Help" />
		</td>
		<td class="CommonFormField">
			<asp:TextBox id="CommentFactor" runat="Server" cssclass="ControlPanelTextInput" width="200px" />
			<asp:CompareValidator runat = "Server" ControlToValidate="CommentFactor" Operator = "DataTypeCheck" Type="Double" ID="Comparevalidator2">Invalid Format</asp:CompareValidator>
		</td>
		</tr>
		
		<tr>
		<td class="CommonFormFieldName">
			<strong><cp:ResourceControl runat="Server" resourcename="CP_BlogAdmin_Options_InterestingPosts_ViewFactor" /></strong><br />
			<cp:ResourceControl resourcename="CP_BlogAdmin_Options_InterestingPosts_ViewFactor_Help" runat="server" />
		</td>
		<td class="CommonFormField">
			<asp:TextBox id="ViewFactor" runat="Server" cssclass="ControlPanelTextInput" width="200px" />
			<asp:CompareValidator runat = "Server" ControlToValidate="ViewFactor" Operator = "DataTypeCheck" Type="Double" ID="Comparevalidator3">Invalid Format</asp:CompareValidator>
		</td>
		</tr>						
		
		</table>
	</div>
	<p class="PanelSaveButton DetailsFixedWidth">
		<cp:ResourceLinkButton id="SaveButton" runat="Server" cssclass="CommonTextButton" resourcename="Save" />
	</p>
	</asp:PlaceHolder>
</asp:Content>