public function deleteAction()
 {
     $layoutPath = APPLICATION_PATH . '/templates/' . TEMPLATE_USED;
     $option = array('layout' => 'hethong/layout', 'layoutPath' => $layoutPath);
     Zend_Layout::startMvc($option);
     $translate = Zend_Registry::get('Zend_Translate');
     $this->view->title = 'Quản lý tiêu chí đánh giá cán bộ - ' . $translate->_('TEXT_DEFAULT_TITLE');
     $this->view->headTitle($this->view->title);
     $id = $this->_getParam('id', 0);
     $tieuchiModel = new Front_Model_TieuChiDanhGiaCB();
     $error_message = array();
     $tcdgcb_info = $tieuchiModel->fetchRow('tcdgcb_id=' . $id);
     if (!$tcdgcb_info) {
         $error_message[] = 'Không tìm thấy thông tin.';
     }
     if ($this->_request->isPost()) {
         $del = $this->getRequest()->getPost('del');
         if ($del == 'Yes') {
             $id = $this->getRequest()->getPost('id');
             $tieuchiModel->delete('tcdgcb_id=' . $id);
         }
         $this->_redirect('hethong/tieuchi/index/page/' . $this->_page);
     }
     $this->view->tcdgcb_info = $tcdgcb_info;
     $this->view->error_message = $error_message;
 }