{include file="documentHeader"} {lang}wcf.user.profile.title{/lang} - {lang}wcf.user.profile.members{/lang} - {PAGE_TITLE} {include file='headInclude' sandbox=false} {include file='userProfilePicture' sandbox=false} {* --- quick search controls --- *} {assign var='searchFieldTitle' value='{lang}wcf.user.profile.search.query{/lang}'} {capture assign=searchHiddenFields} {/capture} {* --- end --- *} {include file='header' sandbox=false}
{capture append=userMessages} {if $protectedProfile}

{lang}wcf.user.profile.protectedProfile{/lang}

{/if} {/capture} {include file="userProfileHeader"}
{if $additionalBoxes1|isset}{@$additionalBoxes1}{/if} {if $user->getAvatar()}

{lang}wcf.user.avatar{/lang}

{@$user->getAvatar()}
{/if} {if $additionalBoxes2|isset}{@$additionalBoxes2}{/if} {if $additionalOptions|isset || !$protectedProfile || $canMail || $this->user->userID && $user->userID != $this->user->userID}

{lang}wcf.user.profile.options{/lang}

{/if} {if $additionalBoxes3|isset}{@$additionalBoxes3}{/if} {if $additionalAdminOptions|isset || $this->user->getPermission('admin.user.canEditUser')}

{lang}wcf.user.profile.adminOptions{/lang}

{/if} {if $additionalBoxes4|isset}{@$additionalBoxes4}{/if} {if $whitelist|count > 0}

{lang}wcf.user.profile.buddies{/lang}

{/if} {if $additionalBoxes5|isset}{@$additionalBoxes5}{/if}
{if $additionalContents1|isset}{@$additionalContents1}{/if} {cycle values='container-1,container-2' print=false advance=false}

{lang}wcf.user.profile.information{/lang}

{lang}wcf.user.registrationDate{/lang}
{@$user->registrationDate|time}
{if $languages|count > 0}
{lang}wcf.user.profile.languages{/lang}
{implode from=$languages item=$language}{@$language}{/implode}
{/if}
{lang}wcf.user.profile.hits{/lang}
{#$user->profileHits}{if $user->getProfileAge() > 1} {lang}wcf.user.profile.hitsPerDay{/lang}{/if}
{if $user->getUserTitle()}
{lang}wcf.user.rank{/lang}
{@$user->getUserTitle()}{if $user->getRank()} {@$user->getRank()->getImage()}{/if}
{/if} {if $user->invisible != 1 || $this->user->getPermission('admin.general.canViewInvisible')} {if $user->lastActivityTime > 0}
{lang}wcf.user.lastActivity{/lang}
{@$user->lastActivityTime|time}
{/if} {/if} {foreach from=$informationFields item=field}
{@$field.title}
{@$field.value}
{/foreach}
{if $additionalContents2|isset}{@$additionalContents2}{/if} {foreach from=$categories item=category} {cycle reset=true advance=false print=false}
{if $category.categoryIconM}
{/if}

{lang}wcf.user.option.category.{$category.categoryName}{/lang}

{foreach from=$category.options item=option}
{lang}wcf.user.option.{$option.optionName}{/lang}
{@$option.optionValue} {if GENDERICONS_PROFILE_ENABLE} {if $option.optionName == "gender"} {capture assign=optionRow}userOption{@$option.optionID}{/capture} {if $user->__get($optionRow) != 0} {@$option.optionValue} {/if} {/if} {/if}
{/foreach}
{/foreach} {if $additionalContents3|isset}{@$additionalContents3}{/if}
{include file='footer' sandbox=false}