{$show_body_flag = false} {$show_header_flag = false}
{if !empty($vars)} {foreach $vars as $id => $app_vars}
{/foreach} {$show_body_flag = true} {/if} {if !empty($wa_vars)}
{$show_body_flag = true} {/if} {if !empty($smarty_vars)}
{$show_body_flag = true} {/if} {if !empty($blocks)}
{$show_body_flag = true} {/if} {if !empty($plugins)}
{$show_body_flag = true} {/if}