_initUserAuth($docArr); $this->UserAuth->checkLogin(); $docArr['tpl'] = SiteMap::getPath('Doc/tpl/admin/lite.tpl'); $this->Doc($docArr, $options); require_once 'class/Session.php'; if ($error = Session::getData(CURR_PAGE, 'error')) { Session::clearData(CURR_PAGE, 'error'); $this->addContent(array('tpl' => 'msg_error.tpl', 'text' => $error)); } if ($msg = Session::getData(CURR_PAGE, 'msg')) { Session::clearData(CURR_PAGE, 'msg'); $this->addContent(array('tpl' => 'msg.tpl', 'text' => $msg)); } } } ?>