getData('account'); $media = $this->getDatA('media') ?? []; $countryCodes = \phpOMS\Localization\ISO3166TwoEnum::getConstants(); $countries = \phpOMS\Localization\ISO3166NameEnum::getConstants(); $timezones = \phpOMS\Localization\TimeZoneEnumArray::getConstants(); $timeformats = \phpOMS\Localization\ISO8601EnumArray::getConstants(); $languages = \phpOMS\Localization\ISO639Enum::getConstants(); $currencies = \phpOMS\Localization\ISO4217Enum::getConstants(); $l11nDefinitions = \phpOMS\System\File\Local\Directory::list(__DIR__ . '/../../../../phpOMS/Localization/Defaults/Definitions'); $weights = \phpOMS\Utils\Converter\WeightType::getConstants(); $speeds = \phpOMS\Utils\Converter\SpeedType::getConstants(); $areas = \phpOMS\Utils\Converter\AreaType::getConstants(); $lengths = \phpOMS\Utils\Converter\LengthType::getConstants(); $volumes = \phpOMS\Utils\Converter\VolumeType::getConstants(); $temperatures = \phpOMS\Utils\Converter\TemperatureType::getConstants(); $account = $profile->getAccount(); $l11n = $account->getL11n(); echo $this->getData('nav')->render(); ?>
| = $this->getHtml('Birthday') ?> | = $this->getDateTime($profile->getBirthday()); ?> |
|---|---|
| = $this->getHtml('Email') ?> | = $this->printHtml($account->getEmail()); ?> |
| = $this->getHtml('Address') ?> | getLocation(); if (empty($locations)) : ?> |
| No address specified | |
| Private | SMALLSYS INC 795 E DRAGRAM TUCSON AZ 85705 USA |
| = $this->getHtml('Contact') ?> | getContactElements(); if (empty($contacts)) : ?> |
| No contact specified | |
| Private | +01 12345-4567 |
| = $this->getHtml('Registered') ?> | = $this->printHtml($account->getCreatedAt()->format('Y-m-d')); ?> |
| = $this->getHtml('LastLogin') ?> | = $this->printHtml($account->getLastActive()->format('Y-m-d')); ?> |
| = $this->getHtml('Status') ?> | = $this->getHtml(':s' . $account->getStatus(), 'Admin'); ?> |
Define which users and user groups can see your profile
= $this->getData('accGrpSelector')->render('iVisibility', 'visibility', true); ?> instanceof NullMedia ?
UriFactory::build('Web/Backend/img/user_default_' . \mt_rand(1, 6) .'.png') :
UriFactory::build('{/prefix}' . $profile->getImage()->getPath()); ?>)