public function updateuserAction()
 {
     global $mySession;
     $db = new Db();
     $this->_helper->layout->setLayout('myaccount');
     if ($this->getRequest()->isPost()) {
         $request = $this->getRequest();
         $myform = new Form_Profile();
         //error_log('MyaccountController->updateuserAction request: '.print_r($request, true));
         if ($myform->isValid($request->getPost())) {
             $dataForm = $myform->getValues();
             //error_log('MyaccountController->updateuserAction form valid, dataForm: '.print_r($dataForm, true));
             $myObj = new Myaccountdb();
             $data = $myObj->updateuser($dataForm);
             if ($data == 1) {
                 $mySession->errorMsg = "Profile Updated Successfully";
                 $this->_redirect('myaccount/profile');
             } else {
                 $mySession->errorMsg = "User Already Exist With This Email !!!";
                 $this->render('profile');
             }
         } else {
             //$mySession->errorMsg="not successfull ====>";
             $this->view->myform = $myform;
             $this->render('profile');
         }
     } else {
         //echo "else of request is post"; die;
         $this->_redirect('myaccount/profile');
     }
 }