function deletecontactAction() { $del = new Admin_Model_System(); $id = $this->_request->getParam('id'); $del->delete_contact($id); trang_truoc(); }
public function listorderAction() { $muser = new Admin_Model_System(); $paginator = Zend_Paginator::factory($muser->list_ordercontact()); $paginator->setItemCountPerPage(15); $paginator->setPageRange(5); $currentPage = $this->_request->getParam('page', 1); $paginator->setCurrentPageNumber($currentPage); $this->view->books = $paginator; }