FatalError = 0; $this->Name = 'Account'; $this->PostBackAction = ForceIncomingString('PostBackAction', ''); $this->Control($Context); $this->User = &$User; if ($this->Context->WarningCollector->Count() > 0) $this->FatalError = 1; $this->CallDelegate('Constructor'); } function Render() { $this->CallDelegate('PreRender'); // Don't render anything but warnings if there are any warnings or if there is a postback if ($this->PostBackAction == '') { if ($this->FatalError) { echo($this->Get_Warnings()); } else { $this->User->FormatPropertiesForDisplay(); include(ThemeFilePath($this->Context->Configuration, 'account_profile.php')); } } $this->CallDelegate('PostRender'); } } ?>