<%@ 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="profile" 
	runat="server" 
	ComponentName="bitrix:user.profile.edit" 
	Template=".default" 
	UserId="<%$ Results:UserId %>" 
	EditFields="<%$ Results:ProfileFields %>" 
	RequiredFields="<%$ Results:RequiredProfileFields %>" 
	RedirectPageUrl="" 
	ProfileUrlTemplate="<%$ Results:UserProfileUrlTemplate %>"
/>