{if count($aSettings)} {if count($aGroups)}
{else}
{/if}
{phrase var='user.view_your_updated_profile'}
{if isset($iUserId)}
{/if}
{select_location} {module name='core.country-child'}
{if Phpfox::getUserParam('user.can_edit_dob')}
{required}{phrase var='user.date_of_birth'}:
{select_date start_year=$sDobStart end_year=$sDobEnd field_separator=' / ' field_order='MDY' bUseDatepicker=false sort_years='DESC'}
{/if} {if Phpfox::getUserParam('user.can_edit_gender_setting')}
{select_gender}
{/if} {if Phpfox::getParam('user.enable_relationship_status') && Phpfox::getUserParam('custom.can_have_relationship') && isset($aRelations) && !empty($aRelations)}
{phrase var='custom.relationship_status'}
{if isset($aForms.with_user) && isset($aForms.with_user.user_image) && !empty($aForms.with_user) && $aForms.with_user.with_user_id > 0} {img user=$aForms.with_user suffix='_50_square' max_height=50 max_height=50} {/if} {if isset($aForms.with_user.user_id) && !empty($aForms.with_user.user_id)} {/if}
{if isset($aForms.with_user.status_id) && $aForms.with_user.status_id == 1}
{phrase var='user.pending_confirmation'}
{/if}
{literal} {/literal}
{/if} {if Phpfox::isModule('forum')}
{phrase var='user.forum_signature'}:
{/if} {if Phpfox::isModule('feed') && Phpfox::getParam('feed.timeline_optional')}
{phrase var='user.timeline'}:
{/if} {if Phpfox::getParam('profile.allow_user_select_landing')} {if Phpfox::isModule('feed') && !Phpfox::getParam('feed.timeline_optional')}
{/if}
{phrase var='user.landing_page'}:
{/if}
{foreach from=$aSettings item=aSetting} {/foreach} {plugin call='user.template_controller_profile_form'}
{else}
{phrase var='user.no_custom_fields_have_been_added'} {if Phpfox::getUserParam('custom.can_add_custom_fields')} {/if}
{/if}