{if $smarty.const.SESS_LOGGED == false} {$block->display("account:login")} {else} {if $SESS_LOGGED == "1" } { $method->exe("invoice","user_view") } { if ($method->result == FALSE) } { $block->display("core:method_error") } {else} {literal} {/literal} {foreach from=$invoice item=invoice} {if $form_validation} { $block->display("core:alert_fields") } {/if} { if $invoice.billing_status == "0" } { $block->display("invoice:checkoutoptions") } {/if}
{/foreach} {/if} {else} { $block->display("account:login") } {/if} { $method->exe("invoice","custom_tracking") } {/if}