{foreach item=banner from=$freiemodule_result} {if $tvar>10} {if $banner.freiemodule_modulid==$tvar}
{$banner.freiemodule_code}
{/if} {/if} {/foreach}