{* loop contentArray *} {foreach item=contentArrayItem from=$contentArray} {if $contentArrayItem.contenttype == 0} {if $contentArrayItem.contenttitle != ''}

{$contentArrayItem.contenttitle}

{/if} {if $contentArrayItem.contentsubtitle != ''}

{$contentArrayItem.contentsubtitle}

{/if} {if $contentArrayItem.content != ''}{$contentArrayItem.content}{/if} {/if} {if $contentArrayItem.contenttype == 2} {if $contentArrayItem.contenttitle != ''}

{$contentArrayItem.contenttitle}

{/if} {if $contentArrayItem.contentsubtitle != ''}

{$contentArrayItem.contentsubtitle}

{/if} {if $contentArrayItem.contenturl != ''}{assign var='contenturl' value=$contentArrayItem.contenturl}{include_php file="upload/$contenturl"}{/if} {/if} {if $contentArrayItem.contenttype == 3} {if $contentArrayItem.contenttitle != ''}

{$contentArrayItem.contenttitle}

{/if} {if $contentArrayItem.contentsubtitle != ''}

{$contentArrayItem.contentsubtitle}

{/if} {if $contentArrayItem.content != ''}{cnmodul}{/if} {/if} {/foreach}