function forgetpassAction() { $db = new Application_Model_DbTable_DbCustomer(); $url = $this->getRequest()->getParam("url"); if ($this->getRequest()->isPost()) { $data = $this->getRequest()->getPost(); if (!empty($url)) { $db->updatePassword($data, $url); Application_Form_FrmMessage::Sucessfull("Your password have been updated!", "/customer/customerlogin"); } else { $db->passLink($data["email"]); Application_Form_FrmMessage::Sucessfull("Your E-mail Have Been Sent./n Please Check Your E-mali !", "/customer/customerlogin"); } } $frm = new Application_Form_FrmBooking(); $form = $frm->FrmCustomer(); $this->view->frms = $form; $this->view->url = $url; }