Пример #1
0
     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") {
                                         Accounting::updateConfigParam("licenseok", "false");
                                     } else {
                                         if ($_REQUEST["command"] == "relmodules") {