{assign var=meth value=':'|explode:$VAR._page} {if !$smarty.const.SESS_LOGGED} {$block->display('account:user_login')} {else} {if $form_validation} {$block->display('core:alert_fields')} {/if}
{translate module=account}title_add_sub_account{/translate}
{foreach from=$tax_ids item=tax} {/foreach} {$method->exe('account','static_var')} {foreach from=$static_var item=record} {/foreach} {if $smarty.const.NEWSLETTER_REGISTRATION == '1'} {/if} {$method->exe_noauth('account','get_auth_groups')} {if $groups} {/if}
{translate module=account}field_username{/translate}
{translate module=account}field_password{/translate}
{translate module=account}field_confirm_password{/translate}
{translate module=account}field_email{/translate}
{translate module=account}field_company{/translate}
{translate module=account}field_first_name{/translate}
{translate module=account}field_middle_name{/translate}
{translate module=account}field_last_name{/translate}
{translate module=account}field_title{/translate} {$list->menu_nametitles('account_title','account_title',$VAR.account_title,'form_menu','')}
{translate module=account}field_address1{/translate}
{translate module=account}field_address2{/translate}
{translate module=account}field_city{/translate}
{translate module=account}field_state{/translate}
{translate module=account}field_zip{/translate}
{translate module=account}field_country_id{/translate} {if $VAR.account_country_id != ''} {$list->menu('no','account_country_id','country','name',$VAR.account_country_id,'form_field" onChange="taxIdsDisplay(this.value)',true)} {else} {$list->menu('no','account_country_id','country','name',$smarty.const.DEFAULT_COUNTRY,'form_field" onChange="taxIdsDisplay(this.value)',true)} {/if} {$method->exe_noauth('tax','get_tax_ids')} {if $tax_ids} {/if}
{$tax.tax_id_name}
{$record.name} {$record.html}
{translate module=account}subscribe_newsletters{/translate} {$method->exe('newsletter','check_list_registration')}
{translate module=account}field_email_type{/translate} {$list->bool('account_email_type',$VAR.account_email_type)}
{translate} authorized_groups {/translate} {foreach from=$groups item=group} {$group.name}
{/foreach}
  {if $VAR._page == ''} {else} {/if}
{/if}