public function changeUserStatusAction()
 {
     $id = $this->_getParam('id');
     $guid = $this->_getParam('guid');
     $usersNs = new Zend_Session_Namespace("members");
     if ($usersNs->userId == $id) {
         $this->_flashMessenger->addMessage(array('error' => 'You cannot change your status!'));
         $this->_helper->_redirector->gotoUrl($this->view->seoUrl('/admin/product'));
         exit;
     }
     $this->view->user_id = $id;
     $model1 = new Admin_Model_Product();
     $model = $model1->fetchRow("id='{$id}' and row_guid='{$guid}'");
     if (false === $model) {
         $this->_flashMessenger->addMessage(array('error' => 'Invalid request! Please try again.'));
         $this->_helper->_redirector->gotoUrl($this->view->seoUrl('/admin/product'));
     }
     if ($model->getStatus() == "1") {
         $model->setStatus("0");
     } else {
         $model->setStatus("1");
     }
     if ($model->save()) {
         $this->_flashMessenger->addMessage(array('success' => 'Status changed for ' . $model->getProductIdentifier() . '  [ ID : ' . $model->getId() . ', Status : ' . $model->getStatus() . ']'));
         $this->_helper->_redirector->gotoUrl($this->view->seoUrl('/admin/product/index'));
     } else {
         $this->_flashMessenger->addMessage(array('error' => 'Failed to change the status for ' . $model->getProductIdentifier() . '  [ ID : ' . $model->getId() . ', Status : ' . $model->getStatus() . ']'));
         $this->_helper->_redirector->gotoUrl($this->view->seoUrl('/admin/product/index'));
     }
 }