{assign var=centerTex value=''} {if $centerText} {assign var=centerText value='centerText'} {/if} {foreach from=$entries item=entry} {if $entry.entryUrl && $SiteUtils::getSiteByLink($entry.entryUrl)} {assign var=TargetSite value=$SiteUtils::getSiteByLink($entry.entryUrl)} {/if}
{if $entry.entryImage} {if $entry.entryUrl} {/if}
{image src=$entry.entryImage width="500"}
{if $entry.entryUrl} {/if} {/if} {if $entry.entryTitle || $entry.entrySubTitle}
{/if} {if $entry.entryContent}
{$entry.entryContent}
{/if}
{/foreach}