<%@ Reference VirtualPath="~/bitrix/components/bitrix/forum/component.ascx" %>
<%@ Control Language="C#" Inherits="Bitrix.Forum.Components.ForumTemplate" %>
<script runat="server">
	protected override void OnInit(EventArgs e)
	{
		base.OnInit(e);
		if (Component.ShouldSetPageTitle)
			Component.SetPageTitle(Component.PageTitle);
	}
</script>
<bx:IncludeComponent 
	ID="menu" 
	runat="server" 
	Visible="<%$ Results:ShowMenu %>"
	
	ComponentName="bitrix:forum.menu" 
	Template=".default"
	ThemeCssFilePath="" 
	ColorCssFilePath="" 
	
	ForumIndexUrl="<%$ Results:IndexUrlTemplate %>"
	UserProfileUrlTemplate="<%$ Results:UserProfileUrlTemplate %>" 
	ForumRulesUrl="<%$ Results:ForumRulesUrl %>" 
	ForumHelpUrl="<%$ Results:ForumHelpUrl %>" 
/>
<bx:IncludeComponent 
	id="include" 
	runat="server" 
	ComponentName="bitrix:includeArea" 
	Template=".default" 
	Mode="File" 
	RecursiveFileSearch="False" 
	FilePath="<%$ Results:InfoFilePath %>"
	AllowEditing="<%$ Results:InfoAllowEditing %>"
	Title="<%$ Results:PageTitle %>"
/>