{if $smarty.const.SESS_LOGGED != true } { $block->display("account:login") } {else} { $method->exe("account","view") } { if ($method->result == FALSE) } { $block->display("core:method_error") } {else} {foreach from=$account item=account} {if $form_validation} { $block->display("core:alert_fields") } {/if}
{if $account.max_child > 0} { $block->display("account:sub_account") } {else if $issubaccount == true} { $block->display("account:sub_account_view") } {/if} {/foreach} {/if} {/if}