{* $Id: profiles.tpl 1711 2006-05-06 12:46:02Z zeke $ *} {include file="profiles_pages/profiles_scripts.tpl"} {capture name="mainbox"}

{$lang.text_mandatory_fields}

{include file="profiles_pages/profiles_account.tpl"} {include file="profiles_pages/profiles_contact.tpl"}
{if $settings.General.user_multiple_profiles == "Y"}

{$lang.user_profile_info}


{$lang.text_multiprofile_notice}

{/if} {capture name="tabsbox"} {include file="profiles_pages/multiple_profiles.tpl"} {include file="profiles_pages/profiles_billing.tpl"} {include file="profiles_pages/profiles_shipping.tpl"}
{/capture} {include file="common_templates/tabsbox.tpl" tabs=$user_profiles content=$smarty.capture.tabsbox js_switch="N"}

{if $mode == "update"} {include file="buttons/update_profile.tpl" but_onclick="javascript:if (fn_check_fields('profileform', ext_ids)) document.profileform.submit();"} {else} {include file="buttons/register_profile.tpl" but_onclick="javascript:if (fn_check_fields('profileform', ext_ids)) document.profileform.submit();"} {/if}

{assign var="b_state" value=$user_data.b_state|default:$settings.General.default_state} {assign var="s_state" value=$user_data.s_state|default:$settings.General.default_state}
{/capture} {if $mode == 'add'} {include file="common_templates/mainbox.tpl" title=$lang.register_profile content=$smarty.capture.mainbox} {else} {include file="common_templates/mainbox.tpl" title=$lang.update_profile content=$smarty.capture.mainbox} {/if}