{if !empty($par['var1'])}{/if} {if !empty($par['var2'])}{/if} {if !empty($par['var3'])}{/if} {if $par['getadd']=='1' || $par['getadd']=='2'} {/if}