public function __construct($oEngin, $sAction) { parent::__construct($oEngin, $sAction); $this->Viewer_Assign('tpl_content', ''); $this->Viewer_Assign('tpl_include', ''); if ($this->User_IsAuthorization()) { $this->oUserCurrent = $this->User_GetUserCurrent(); } if (parent::GetParam(0) == 'ext') { $this->nParamsOffset = 2; } else { $this->nParamsOffset = 1; } }