{if $top2 || $top3} {/if} {if $top2}
{/if} {if $top3 || $top2} {/if}
{if $top3}
{/if}