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

<asp:Content ContentPlaceHolderId="TopLeft" runat="server"></asp:Content>

<asp:Content ContentPlaceHolderId="TaskRegion" runat="Server">
    <script type="text/javascript" src="../charts/swfobject.js"></script>
    <CP:ControlPanelSelectedNavigation SelectedNavItem="Forums" runat="server" />
	
	<table style="width:100%">
        <tr>
            <td style="width:300px; padding:20px" valign="top">
                <div class="CommonListArea">
                   <table width="100%" cellpadding="0">
                   <tr>
                        <td>
                            <div style="float:left; height: 60px; width: 30px; text-align:right; padding-right: 10px;">
                                <img src="../images/icons/blog-post.gif" />
                            </div>
                            
                            <strong>
	                        <asp:HyperLink runat="server" NavigateUrl="~/controlpanel/forums/SectionEdit.aspx">
	                            <CP:ResourceControl runat="server" ResourceName="CP_Forums_NavBar_ForumCreate" />
	                        </asp:HyperLink>
	                        </strong>                        
	                    </td>
                    </tr>
                    <tr>
                        <td>
                            <div style="float:left; height: 60px; width: 30px; text-align:right; padding-right: 10px;">
                                <img src="../images/icons/comments.gif" />
                            </div>
                            
                            <strong>
	                        <asp:HyperLink runat="server" NavigateUrl="~/controlpanel/forums/Forums.aspx">
	                            <CP:ResourceControl runat="server" ResourceName="CP_Forums_NavBar_Forums" />
	                        </asp:HyperLink>
	                        </strong>
                        </td>
                    </tr>
                    <tr>
                        <td>
                             <div style="float:left; height: 60px; width: 30px; text-align:right; padding-right: 10px;">
                                <img src="../images/icons/control-panel.gif" />
                            </div>
                            
                            <strong>
	                        <asp:HyperLink runat="server" NavigateUrl="~/controlpanel/forums/options/PostOptions.aspx">
	                            <CP:ResourceControl runat="server" ResourceName="CP_Forums_NavBar_PostSettings" />
	                        </asp:HyperLink>
	                        </strong>
                        </td>
                    </table>
                    
                </div>
            </td>
            
            <td valign="top" style="padding-left:20px;">
                <h3><CP:ResourceControl runat="server" ResourceName="CP_ForumsAdmin_ChartTitle" /></h3>
	            <div id="linechart">
		            <strong><CP:ResourceControl runat="server" ResourceName="CP_ChartError" /></strong>
	            </div>

	            <script type="text/javascript">
		            // <![CDATA[		
		            var so = new SWFObject("../charts/amline.swf", "amline", "100%", "200", "8", "#FFFFFF");
		            so.addVariable("path", "../charts/");
		            so.addVariable("settings_file", escape("../charts/settings_Forum_ViewsByDay.xml"));
		            so.addVariable("data_file", escape("../charts/charts.ashx?report=ViewsByDayForApp&appType=Forum"));
		            so.addVariable("preloader_color", "#999999");
		            so.write("linechart");
		            // ]]>
	            </script>
            </td>
        </tr>
    </table>

	
	<div style="float:none; clear: both;"></div>
</asp:Content>