rcms_redirect($interface::URL_ME . '&' . $interface::URL_TARIFFS); } else { show_window(__('Something went wrong'), $tariffSaveResult); } } //tariff deletion if (wf_CheckGet(array('deletetariffid'))) { $tariffDeletionResult = $interface->tariffDelete($_GET['deletetariffid']); if (!$tariffDeletionResult) { rcms_redirect($interface::URL_ME . '&' . $interface::URL_TARIFFS); } else { show_window(__('Something went wrong'), $tariffDeletionResult); } } show_window(__('Available tariffs'), $interface->renderTariffs()); show_window(__('Create new tariff'), $interface->tariffCreateForm()); } //subscriptions management if (wf_CheckGet(array('subscriptions'))) { //jqdt data renderer if (wf_CheckGet(array('ajsubs'))) { $interface->subscribtionsListAjax(); } //active subscriptions list show_window(__('Subscriptions'), $interface->renderSubscribtions()); } //subscriptions manual control if (wf_CheckGet(array('subview'))) { $subId = $_GET['subid']; if (wf_CheckGet(array('subid', 'maction'))) { $mactionResult = $interface->catchManualAction();