ID = $this -> _iProfileID; $this -> oTemplConfig = new BxTemplConfig( $site ); $this -> sColumnsOrder = getParam( 'profile_view_cols' ); if( $this -> _iProfileID ) { $this -> getProfileData(); if( $this -> _aProfile ) { if( $logged['member'] ) { if( (int)$_COOKIE['memberID'] == $this -> _iProfileID ) $this -> owner = true; $iPFArea = 6; } elseif( $logged['admin'] ) $iPFArea = 5; elseif( $logged['moderator'] ) $iPFArea = 7; else $iPFArea = 8; $this -> oPF = new BxDolProfileFields( $iPFArea ); if( !$this -> oPF -> aBlocks) return false; $this -> aPFBlocks = $this -> oPF -> aBlocks; //echoDbg( $this -> aPFBlocks ); if( $this -> bCouple ) $this -> aCoupleMutualItems = $this -> oPF -> getCoupleMutualFields(); } else return false; } else return false; } } ?>