{* +--------------------------------------------------------------------+ | Copyright CiviCRM LLC. All rights reserved. | | | | This work is published under the GNU AGPLv3 license with some | | permitted exceptions and without any warranty. For full license | | and copyright information, see https://civicrm.org/licensing | +--------------------------------------------------------------------+ *} {* this div is being used to apply special css *} {if $section eq 1}
{*include the graph*} {include file="CRM/Report/Form/Layout/Graph.tpl"}
{elseif $section eq 2}
{*include the table layout*} {include file="CRM/Report/Form/Layout/Table.tpl"}
{else} {if $criteriaForm OR $instanceForm OR $instanceFormError}
{include file="CRM/Report/Form/Fields.tpl"}
{/if}
{*include actions*} {include file="CRM/Report/Form/Actions.tpl"} {*Statistics at the Top of the page*} {include file="CRM/Report/Form/Statistics.tpl" top=true} {*include the graph*} {include file="CRM/Report/Form/Layout/Graph.tpl"} {*include the table layout*} {include file="CRM/Report/Form/Layout/Table.tpl"}
{*Statistics at the bottom of the page*} {include file="CRM/Report/Form/Statistics.tpl" bottom=true} {include file="CRM/Report/Form/ErrorMessage.tpl"}
{/if} {if $outputMode == 'print'} {/if}