';
if (ForceIncomingBool('Success',0)) echo '
'.$this->Context->GetDefinition('ChangesSaved').'
';
$this->Render_Warnings();
echo '';
$this->CallDelegate('PreUsernameRender');
if ($this->User->DisplayIcon != '') {
echo '-
';
} else {
echo ' - ';
}
echo '
'.$this->User->Name.'
'.$this->User->Role.'
';
if ($this->User->RoleDescription != '') echo('- '.$this->User->RoleDescription.'
');
if ($this->User->Picture != "" && $this->User->Permission('PERMISSION_HTML_ALLOWED')) echo "- User->Picture."');\">
";
$this->CallDelegate('PostPictureRender');
if ($this->Context->Configuration['USE_REAL_NAMES'] && ($this->User->ShowName || $this->Context->Session->User->Permission('PERMISSION_EDIT_USERS'))) {
echo '-
'.$this->Context->GetDefinition('RealName').'
'.ReturnNonEmpty($this->User->FullName).'
';
}
echo '-
'.$this->Context->GetDefinition('Email').'
'
.(($this->Context->Session->UserID > 0 && $this->User->UtilizeEmail) ?
GetEmail($this->User->Email) : $this->Context->GetDefinition('NA')).'
-
'.$this->Context->GetDefinition('AccountCreated').'
'.TimeDiff($this->Context, $this->User->DateFirstVisit, mktime()).'
-
'.$this->Context->GetDefinition('LastActive').'
'.TimeDiff($this->Context, $this->User->DateLastActive, mktime()).'
-
'.$this->Context->GetDefinition('VisitCount').'
'.$this->User->CountVisit.'
-
'.$this->Context->GetDefinition('DiscussionsStarted').'
'.$this->User->CountDiscussions.'
-
'.$this->Context->GetDefinition('CommentsAdded').'
'.$this->User->CountComments.'
';
$this->CallDelegate('PostBasicPropertiesRender');
if ($this->Context->Session->User->Permission('PERMISSION_IP_ADDRESSES_VISIBLE')) {
echo '-
'.$this->Context->GetDefinition('LastKnownIp').'
'.$this->User->RemoteIp.'
';
}
if (count($this->User->Attributes) > 0) {
$AttributeCount = count($this->User->Attributes);
for ($i = 0; $i < $AttributeCount; $i++) {
$CssClass = (strpos($this->User->Attributes[$i]['Value'], 'http://') == 0 && strpos($this->User->Attributes[$i]['Value'], 'http://') !== false) ? 'url' : '';
echo '-
'.htmlspecialchars($this->User->Attributes[$i]['Label']).'
'.FormatHyperlink(htmlspecialchars($this->User->Attributes[$i]['Value']), 1, '', $CssClass).'
';
}
}
$this->CallDelegate('PostAttributesRender');
echo '
';
$this->CallDelegate('PostProfileRender');
?>