private function welcome() { $article = new articleModel(); $articleNum = $article->getArticleNum(); $user = new userModel(); $dict = new dictModel(); $feedback = new feedbackModel(); $entryNum = $dict->getAllEntryTotal2(); //echo ($articleNum); $userNum = $user->getAllUserTotal(); $examination = new examinationModel(); $examNum = $examination->getExamNum(); $this->smarty->assign("aaa", $dict->getAllEntryTotal2()); $this->smarty->assign("rrr", $dict->getAllReportWordsTotal2()); //Tools::dump($feedback->getAllNewFeedbackTotal()); $this->smarty->assign("fff", $feedback->getAllNewFeedbackTotal()); $this->smarty->assign("examNum", $examNum); $this->smarty->assign("userNum", $userNum); $this->smarty->assign("articleNum", $articleNum); $this->smarty->display("admin/welcome.html"); exit; }