예제 #1
0
 function m_updateFroogle()
 {
     $libFunc = new c_libFunctions();
     #INTIALIZING VALUES
     $this->request['server'] = $libFunc->ifSet($this->request, 'server');
     $this->request['username'] = $libFunc->ifSet($this->request, 'username');
     $this->request['password'] = $libFunc->ifSet($this->request, 'password');
     $this->obDb->query = "UPDATE " . FROOGLE_SETTINGS . " SET ";
     $this->obDb->query .= "vServer\t\t='" . $libFunc->m_addToDB($this->request['server']) . "',";
     $this->obDb->query .= "vUsername\t='" . $libFunc->m_addToDB($this->request['username']) . "',";
     $this->obDb->query .= "vPassword\t='" . $libFunc->m_addToDB($this->request['password']) . "'";
     $this->obDb->updateQuery();
     $this->libFunc->m_mosRedirect(SITE_URL . "sales/adminindex.php?action=froogle.form&msg=1");
 }