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

<asp:Content ContentPlaceHolderID="PanelNavigation" runat="server">
    <div class="DashboardMenuAreaFull">
        <CP:NavigationDropDownList CssClass="DashboardMenu" OpenCssClass="DashboardMenuOpen" runat="server" FileName="~/ControlPanel/DashboardMenu.config" MenuGroupCssClass="DashboardContextMenuGroup" MenuItemCssClass="DashboardContextMenuItem" MenuItemSelectedCssClass="DashboardContextMenuItemHover" MenuItemIconWidth="20" MenuItemIconHeight="20" MenuDirection="Down" />
    </div>
</asp:Content>

<asp:Content ContentPlaceHolderID="PageTitleRegion" runat="server">
    Control Panel Dashboard
</asp:Content>

<asp:Content ContentPlaceHolderID="PanelTitle" runat="server">
    Control Panel Dashboard
</asp:Content>

<asp:Content ContentPlaceHolderId="TaskRegion" runat="Server">
    <CP:ControlPanelSelectedNavigation SelectedTab="home" runat="server" id="SelectedNavigation1" />
    
    <table width="100%" cellpadding="0" cellspacing="0" border="0">
    <tr>
    <td id="DashboardMainContentArea">
    
        <div class="CommonDescription" style="margin-right: 20px; margin-top: 0;">
            Choose what you would like to manage from the options below.
        </div>
    
		<div runat="server" id="MyBlogsArea" class="CommonDashboardAreaContainer">
			<div class="CommonDashboardArea">
				<div class="DashboardTileTitle">
					<strong><asp:HyperLink runat="server" NavigateUrl="~/ControlPanel/Blogs/">Manage My Blogs</asp:HyperLink></strong>
				</div>
				<div class="CommonDashboardContent">
					<div class="DashboardTileDescription">
						Manage your blog content, create new posts, change blog settings.
					</div>
					<ul class="CommonDashboardActionList">
						<li runat="server" id="MyBlogsNewPostArea"><asp:HyperLink id="MyBlogsNewPost" runat="server" NavigateUrl="~/ControlPanel/Blogs/PostEditor.aspx?SelectedNavItem=NewPost" /></li>
						<li runat="server" id="MyBlogsNewPostByEmailArea" visible="false"><asp:HyperLink id="MyBlogsNewPostByEmail" runat="server" /></li>
						<li runat="server" id="MyBlogsReviewCommentsArea"><asp:HyperLink id="MyBlogsReviewComments" runat="server" NavigateUrl="~/ControlPanel/Blogs/comments.aspx?SelectedNavItem=ReviewComments" /></li>
						<li runat="server" id="MyBlogsManageArea"><asp:HyperLink id="MyBlogsManage" runat="server" NavigateUrl="~/ControlPanel/Blogs/" /></li>
						<li><asp:HyperLink runat="server" NavigateUrl="~/ControlPanel/Blogs/switch.aspx"><CP:ResourceControl runat="server" ResourceName="CP_Dashboard_MyBlogs_Select" ID="Resourcecontrol28"/></asp:HyperLink></li>
					</ul>
				</div>
				<div class="CommonDashboardContentFooter">
					<asp:HyperLink runat="server" NavigateUrl="~/ControlPanel/Blogs/">Start Managing Blogs...</asp:HyperLink>
				</div>
			</div>
		</div>

		<div runat="server" id="MyGalleriesArea" class="CommonDashboardAreaContainer">
			<div class="CommonDashboardArea">
				<div class="DashboardTileTitle">
					<strong><asp:HyperLink runat="server" NavigateUrl="~/ControlPanel/MediaGalleries/">Manage My Media Galleries</asp:HyperLink></strong>
				</div>
				<div class="CommonDashboardContent">
					<div class="DashboardTileDescription">
						Manage your media galleries, add files, change settings.
					</div>
					<ul class="CommonDashboardActionList">
						<li runat="server" id="MyMediaNewPostArea"><asp:HyperLink ID="MyMediaNewPost" runat="server" NavigateUrl="~/ControlPanel/MediaGalleries/fileeditor.aspx?SelectedNavItem=NewFile" /></li>
						<li runat="server" id="MyMediaReviewCommentsArea"><asp:HyperLink ID="MyMediaReviewComments" runat="server" NavigateUrl="~/ControlPanel/MediaGalleries/comments.aspx?SelectedNavItem=ReviewComments&ip=Unpublished" /></li>
						<li runat="server" id="MyMediaReviewPostsArea"><asp:HyperLink ID="MyMediaReviewPosts" runat="server" NavigateUrl="~/ControlPanel/MediaGalleries/filelist.aspx?SelectedNavItem=ReviewFiles&cid=-1&ip=Unpublished" /></li>
						<li runat="server" id="MyMediaManageArea"><asp:HyperLink ID="MyMediaManage" runat="server" NavigateUrl="~/ControlPanel/MediaGalleries/default.aspx" /></li>
						<li><asp:HyperLink runat="server" NavigateUrl="~/ControlPanel/MediaGalleries/switch.aspx"><CP:ResourceControl runat="server" ResourceName="CP_Dashboard_MyMediaGalleries_Select" /></asp:HyperLink></li>
					</ul>
				</div>
				<div class="CommonDashboardContentFooter">
					<asp:HyperLink runat="server" NavigateUrl="~/ControlPanel/MediaGalleries/">Start Managing Media Galleries...</asp:HyperLink>
				</div>
			</div>
		</div>

		<div runat="server" id="ForumModerationArea" class="CommonDashboardAreaContainer">
			<div class="CommonDashboardArea">
				<div class="DashboardTileTitle">
					<strong><asp:HyperLink runat="server" NavigateUrl="~/controlpanel/Moderation/"><CP:ResourceControl runat="server" ResourceName="CP_Dashboard_ForumsModeration" /></asp:HyperLink></strong>
				</div>
				<div class="CommonDashboardContent">
					<div class="DashboardTileDescription">
						Moderate forum activity, approve or remove threads.
					</div>
					<ul class="CommonDashboardActionList">
						<li><asp:HyperLink runat="server" NavigateUrl="~/ControlPanel/Moderation/"><CP:ResourceControl runat="server" ResourceName="CP_Dashboard_ForumsModeration_Action" /></asp:HyperLink></li>
						<li><asp:HyperLink runat="server" NavigateUrl="~/ControlPanel/Moderation/Summary.aspx"><CP:ResourceControl runat="server" ResourceName="CP_Moderation_Summary" /></asp:HyperLink></li>
						<li><asp:HyperLink runat="server" NavigateUrl="~/ControlPanel/Moderation/Tags.aspx"><CP:ResourceControl runat="server" ResourceName="CP_Moderation_Tags" /></asp:HyperLink></li>
					</ul>
				</div>
				<div class="CommonDashboardContentFooter">
					<asp:HyperLink runat="server" NavigateUrl="~/controlpanel/Moderation/">Start Moderating...</asp:HyperLink>
				</div>
			</div>
		</div>

		<div runat="server" id="SystemAdministrationArea" class="CommonDashboardAreaContainer">
			<div class="CommonDashboardArea">
				<div class="DashboardTileTitle">
					<strong><asp:HyperLink runat="server" NavigateUrl="~/controlpanel/Setup.aspx"><CP:ResourceControl runat="server" ResourceName="CP_Dashboard_SystemAdministration" /></asp:HyperLink></strong>
				</div>
				<div class="CommonDashboardContent">
					<div class="DashboardTileDescription">
						Configure site-wide settings, manage users and licenses, use site tools, create new content sections.
					</div>
					<ul class="CommonDashboardActionList">
						<li><asp:HyperLink runat="server" NavigateUrl="~/controlpanel/BlogAdmin/"><CP:ResourceControl runat="server" ResourceName="CP_Dashboard_BlogAdministration" /></asp:HyperLink></li>
						<li><asp:HyperLink runat="server" NavigateUrl="~/controlpanel/MediaGalleryAdmin/"><CP:ResourceControl runat="server" ResourceName="CP_Dashboard_MediaGalleryAdministration" /></asp:HyperLink></li>
						<li><asp:HyperLink runat="server" NavigateUrl="~/controlpanel/Forums/"><CP:ResourceControl runat="server" ResourceName="CP_Forums_NavBar_Forums" /></asp:HyperLink></li>
						<li><asp:HyperLink runat="server" NavigateUrl="~/controlpanel/HubAdmin/"><CP:ResourceControl runat="server" ResourceName="CP_Hub_NavBar_Hubs" /></asp:HyperLink></li>
						<li><asp:HyperLink runat="server" NavigateUrl="~/controlpanel/WikiAdmin/"><CP:ResourceControl runat="server" ResourceName="CP_Wiki_NavBar_Wikis" /></asp:HyperLink></li>
						<li><asp:HyperLink runat="server" NavigateUrl="~/controlpanel/Membership/membersearch.aspx?SelectedNavItem=BrowseMembers"><CP:ResourceControl runat="server" ResourceName="CP_Membership_NavBar_Membership" /></asp:HyperLink></li>
						<li><asp:HyperLink runat="server" NavigateUrl="~/controlpanel/Settings/"><CP:ResourceControl runat="server" ResourceName="CP_Settings_NavBar_Settings" /></asp:HyperLink></li>
					</ul>
				</div>
				<div class="CommonDashboardContentFooter">
					<asp:HyperLink runat="server" NavigateUrl="~/controlpanel/Setup.aspx">Enter System Administration...</asp:HyperLink>
				</div>
			</div>
		</div>
		<div style="clear:both"></div>
	
	</td>
	<td id="DashboardSidebarArea">
	    <div class="CommonDashboardArea CommonDashboardSidebarArea">
            <div class="DashboardTileTitle">
                <strong><CP:ResourceControl runat="server" ResourceName="CP_Dashboard_Announcements" /></strong>
                <CP:ResourceControl runat="server" ResourceName="CP_Dashboard_Announcements_ReadMore" />
            </div>
            <div class="CommonDashboardContent AnnouncementsContent">
                <cp:RepeaterPlusNone runat="server" id="Announcements" ShowHeaderFooterOnNone="false">
	                <HeaderTemplate>
	                    <ul class="CommonDashboardActionList">
	                </HeaderTemplate>
	                <ItemTemplate>
		                <li>
		                    <a href="<%# DataBinder.Eval(Container.DataItem, "Link")%>"><%#DataBinder.Eval(Container.DataItem, "Title")%></a>										
		                    <div><%#DataBinder.Eval(Container.DataItem, "Description")%></div>
		                </li>
	                </ItemTemplate>
	                <AlternatingItemTemplate>
		                <li>
		                    <a href="<%# DataBinder.Eval(Container.DataItem, "Link")%>"><%#DataBinder.Eval(Container.DataItem, "Title")%></a>										
		                    <div><%#DataBinder.Eval(Container.DataItem, "Description")%></div>
		                </li>
	                </AlternatingItemTemplate>
	                <FooterTemplate>
	                    </ul>
	                </FooterTemplate>
	                <NoneTemplate>
		                <div style="margin-bottom: 8px; margin-top: 8px;">
		                    <CP:ResourceControl runat="server" ResourceName="CP_Dashboard_NoAnnouncements" />
		                </div>
	                </NoneTemplate>
                </cp:RepeaterPlusNone>
            </div>
            <div class="CommonDashboardContentFooter">
                <CP:ResourceControl runat="server" ResourceName="CP_Dashboard_Announcements_More" />
            </div>
        </div>
        
        <asp:PlaceHolder runat="server" ID="VersionArea">
            <div class="CommonDashboardArea CommonDashboardSidebarArea">
                <div class="DashboardTileTitle">
                    <strong><CP:ResourceControl runat="server" ResourceName="CP_Dashboard_Version" /></strong>
                </div>
                <div class="CommonDashboardContent">
		            <ul class="CommonDashboardActionList">
		            <li>
		                <asp:HyperLink runat="server" id="NewVersionAvailable" />
		                <div id="License" runat="Server">
                            <asp:HyperLink runat="server" NavigateUrl="~/ControlPanel/Tools/ManageLicenses.aspx"><CP:ResourceControl ID="ResourceControl33" runat="server" ResourceName="CP_Dashboard_License_Action" /></asp:HyperLink>
                        </div>
                    </li>
                    </ul>
	            </div>
	            <div class="CommonDashboardContentFooter">
                    <asp:Literal runat="server" id="Version" />
                </div>
            </div>
        </asp:PlaceHolder>
    </td>
    </tr>
    </table>
    
    <br />
</asp:Content>
