Пример #1
0
 } 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") {
                                 //Accounting::updateConfigParam('relmodules', $_REQUEST["relstatus"]);
                                 //Accounting::setRelatedModules($_REQUEST["status"]);
                             } else {
                                 if ($_REQUEST["command"] == "invoicewf") {
                                     //Accounting::updateConfigParam('invoicewf', $_REQUEST["status"]);
                                 } else {
                                     if ($_REQUEST["command"] == "saveconfig") {
                                         Accounting::updateConfigParam('invoicewfpaid', $_REQUEST["paidInvoice"]);
                                         Accounting::updateConfigParam('invoicewfpending', $_REQUEST["pendingInvoice"]);
                                         //Accounting::updateConfigParam('relmodules', $_REQUEST["relstatus"]);