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;
 }
 function viewFeedback()
 {
     header('Cache-Control:no-cache,must-revalidate');
     header('Pragma:no-cache');
     $fid = $this->_getid('fid', 0);
     $feedbackConfig = C('feedback');
     $fb_types = array();
     foreach ($feedbackConfig['type'] as $key => $value) {
         $fb_types[$value['id']] = $value;
     }
     $results = array();
     foreach ($feedbackConfig['result'] as $key => $value) {
         $results[$value['id']] = $value;
     }
     D('feedback');
     $m = new feedbackModel();
     $feedback = $m->getFeedback($fid);
     $feedback['fb_time'] = outTime($feedback['fb_time'], 2);
     $feedback['ct_time'] = outTime($feedback['ct_time'], 2);
     $this->assign(array('feedback' => $feedback, 'type' => $fb_types, 'results' => $results));
     $this->display();
 }