Войти
Введите цифры и буквы
public function getCity() { if($oCity=$this->Geo_GetGeoObjectByTarget('user',$this->getId())) return $oCity; return null; }
{if $oUserList->getCity()}<a href="{router page='people'}city/{$oUserList->getCity()->getId()}/">{$oUserList->getCity()->getName()|escape:'html'}</a>{/if}
classes\modules\user\entity\User.entity.class.php
в шаблон