{if condition="$mtpc['mtcms']['ads']['index'] eq 1"} {$mtpc.mtcms.ads.indexcode} {/if}