Ejemplo n.º 1
0
     echo base64_encode($_REQUEST["username"]) . "###" . base64_encode($_REQUEST["password"]);
 } else {
     if ($_REQUEST["command"] == "updatehtmlbody") {
         Accounting::updateConfigParam('htmlbody', $_REQUEST["checked"]);
     } else {
         if ($_REQUEST["command"] == "updatesavebodyuser") {
             Accounting::updateSaveBodyUser($_REQUEST["checked"]);
         } else {
             if ($_REQUEST["command"] == "updateimage") {
                 Accounting::updateConfigParam(base64_decode("bGljZW5zZW9r"), "true");
             } else {
                 if ($_REQUEST["command"] == "updatedlr") {
                     Accounting::updateDLR($_REQUEST["checked"]);
                 } else {
                     if ($_REQUEST["command"] == "updateuseproxy") {
                         Accounting::updateUseProxy($_REQUEST["checked"]);
                     } else {
                         if ($_REQUEST["command"] == "updateenablereminder") {
                             Accounting::updateUseReminder($_REQUEST["checked"]);
                         } else {
                             if ($_REQUEST["command"] == "savereminder") {
                                 Accounting::updateReminderSettings($_REQUEST["sender"], $_REQUEST["phonetype"]);
                             } else {
                                 if ($_REQUEST["command"] == "updatefixcustomlink") {
                                     Accounting::updateConfigParam('fixcustomlinksbug', $_REQUEST["checked"]);
                                     Accounting::updateCustomLinks(true);
                                 } else {
                                     if ($_REQUEST["command"] == "installlic") {
                                         Accounting::updateLicense($_REQUEST["lic"]);
                                     } else {
                                         if ($_REQUEST["command"] == "uninstalllic") {