{if !$this->getAttribute('content') == ""}
{$this->getAttribute('content')}
{/if} {foreach from=$entries item=entry key=key} {assign var=img value=$entry.img}
{assign var=modKey value=$key+1}
{if $img != ""} {image src=$entry.img width=300 class="content-switcher-image-img"} {/if}

{$entry.title}

{$entry.content}

{/foreach}