//user profile show if (wf_CheckGet(array('users', 'showuser'))) { //user editing processing if (wf_CheckPost(array('usereditprocessing'))) { $ukv->userSave(); rcms_redirect(UkvSystem::URL_USERS_PROFILE . $_POST['usereditprocessing']); } //user cable seal editing processing if (wf_CheckPost(array('usercablesealprocessing'))) { $ukv->userCableSealSave(); rcms_redirect(UkvSystem::URL_USERS_PROFILE . $_POST['usercablesealprocessing']); } //user deletion processing if (wf_CheckPost(array('userdeleteprocessing', 'deleteconfirmation'))) { if ($_POST['deleteconfirmation'] == 'confirm') { $ukv->userDelete($_POST['userdeleteprocessing']); rcms_redirect(UkvSystem::URL_USERS_LIST); } else { log_register('UKV USER DELETE TRY ((' . $_POST['userdeleteprocessing'] . '))'); } } //manual payments processing if (wf_CheckPost(array('manualpaymentprocessing', 'paymentsumm', 'paymenttype'))) { $paymentNotes = ''; //normal payment if ($_POST['paymenttype'] == 'add') { $paymentVisibility = 1; } //balance correcting if ($_POST['paymenttype'] == 'correct') { $paymentVisibility = 0;