{if empty($category_level)} {assign var="category_level" value=1} {else} {math equation="x + 1" x=$category_level assign="category_level"} {/if} {if $user.level eq 100} {assign var="sales" value="checked"} {else} {assign var="normal" value="checked"} {/if}

{$msg.account.my_profile}

{$msg.account.form_agreement}
{if $user_errors}
{$msg.account.profile_update_error}
    {foreach from=$user_errors item="user_error"}
  • {$user_error}
  • {/foreach}
{/if} {if $update_msg}
{$update_msg}
{/if}

{$msg.billing.billing_information}

{if $FormsBillingCompany != "Invisible"}
{else} {/if}
{if $FormsBillingAddressLine2 != "Invisible"}
{else} {/if}
{if $FormsBillingPhone != "Invisible"}
{else} {/if} {if $cf_billing} {foreach from=$cf_billing item="cfield"}
{cfield field=$cfield}
{/foreach} {/if}

{$msg.account.account_information}

{if $user.level != 100}
User     Sales Person
{foreach from=$categories_new item="category"} {if $category.ptic_level == $category_level && $category.ptic_is_visible == "Yes"}    {$category.ptic_name|htmlspecialchars} {/if} {/foreach}   

{/if}

{$msg.account.password_no_change}
{if $cf_account} {foreach from=$cf_account item="cfield"}
{cfield field=$cfield}
{/foreach} {/if}
{button class="button-save" text=$msg.buttons.buttonSave file=$smarty.template}   {button type="reset" form="frmProfile" class="button-reset" text=$msg.buttons.buttonReset file=$smarty.template}