{$_is_first_part = false} {if $page === 1} {$_is_first_part = true} {/if} {if !empty($orders)} {if !empty($_is_first_part)} {foreach $additional_html.top as $_html} {$_html} {/foreach}