{if $act eq 'custom_edit'} {include file="uprofiles/custom_edit.html"} {elseif $act eq 'custom_add'} {include file="uprofiles/custom_add.html"} {else} {include file="uprofiles/list.html"} {/if}