{foreach from=$children item=Child} {assign var=hasImage value=0} {if $Child->getAttribute('image_site')} {assign var=hasImage value=1} {/if}
  • {if !$hasImage}
    {$Child->getAttribute('title')}
    {$Child->getAttribute('short')} {else} {image src=$Child->getAttribute('image_site') style="width: 100%; height: auto;" maxwidth="280"} {/if}
  • {/foreach}