public function viewGetLyLuanChinhTriName($id = '')
 {
     if ($id) {
         $lyluanModel = new Front_Model_LyLuanChinhTri();
         $row = $lyluanModel->fetchRow('llct_id=' . $id . ' and llct_status=1');
         if ($row) {
             return $row->llct_name;
         }
         return '';
     }
     return '';
 }
 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ý lý luận chính trị - ' . $translate->_('TEXT_DEFAULT_TITLE');
     $this->view->headTitle($this->view->title);
     $id = $this->_getParam('id', 0);
     $lyluanchinhtriModel = new Front_Model_LyLuanChinhTri();
     $error_message = array();
     $llct_info = $lyluanchinhtriModel->fetchRow('llct_id=' . $id);
     if (!$llct_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');
             $lyluanchinhtriModel->delete('llct_id=' . $id);
         }
         $this->_redirect('hethong/lyluanchinhtri/index/page/' . $this->_page);
     }
     $this->view->llct_info = $llct_info;
     $this->view->error_message = $error_message;
 }