<%@ Page CodeBehind="Referrals.aspx.cs" Language="c#" AutoEventWireup="false" Inherits="CommunityServer.ControlPanel.Blogs.Referrals" MasterPageFile="~/ControlPanel/Masters/Blogs.master" %>
<%@ Register TagPrefix="CP" TagName = "ReferalsList" Src = "~/ControlPanel/Blogs/ReferralsListControl.ascx" %>

<asp:Content ContentPlaceHolderId="DescriptionRegion" runat="server"><asp:literal id="PageTitle" runat="server" /></asp:Content>

<asp:Content ContentPlaceHolderId="TaskRegion" runat="Server">
    <CP:ControlPanelSelectedNavigation SelectedNavItem="Posts" runat="server" id="SelectedNavigation1" />
    <script type="text/javascript" src="../charts/swfobject.js"></script>
	<div class="CommonDescription">
		<cp:resourcelabel id="Resourcelabel1" runat="server" resourcename="CP_Blogs_Referrals_SubTitle"></cp:resourcelabel>
	</div>
    <h3><cp:resourcelabel id="Resourcelabel3" runat="server" resourcename="CP_Blogs_Referrals_Chart"/></h3>
    <div id="linechart">
        <strong>Unable to display the chart</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_Blog_ViewsByDay.xml"));
        so.addVariable("data_file", escape("../charts/charts.ashx?report=ViewsByDay&sid=<%= Request.QueryString["sectionid"] %>&pid=<%= Request.QueryString["postid"] %>"));
        so.addVariable("preloader_color", "#999999");
        so.write("linechart");
        // ]]>
    </script>
	<CP:ReferalsList id="ReferalsList1" runat="Server"></CP:ReferalsList>
</asp:Content>