Exemple #1
0
     }
     show_window(__('User profile'), $ukv->userProfile($_GET['showuser']));
 }
 // bank statements processing
 if (wf_CheckGet(array('banksta'))) {
     //banksta upload
     if (wf_CheckPost(array('uploadukvbanksta'))) {
         $bankstaUploaded = $ukv->bankstaDoUpload();
         if (!empty($bankstaUploaded)) {
             if (wf_CheckPost(array('ukvbankstatype'))) {
                 if ($_POST['ukvbankstatype'] == 'oschad') {
                     $processedBanksta = $ukv->bankstaPreprocessing($bankstaUploaded);
                     rcms_redirect(UkvSystem::URL_BANKSTA_PROCESSING . $processedBanksta);
                 }
                 if ($_POST['ukvbankstatype'] == 'oschadterm') {
                     $processedBanksta = $ukv->bankstaPreprocessingTerminal($bankstaUploaded);
                     rcms_redirect(UkvSystem::URL_BANKSTA_PROCESSING . $processedBanksta);
                 }
                 if ($_POST['ukvbankstatype'] == 'privatbankdbf') {
                     $processedBanksta = $ukv->bankstaPreprocessingPrivatDbf($bankstaUploaded);
                     rcms_redirect(UkvSystem::URL_BANKSTA_PROCESSING . $processedBanksta);
                 }
             } else {
                 show_error(__('Strange exeption') . ' NO_BANKSTA_TYPE');
             }
         }
     } else {
         if (wf_CheckGet(array('showhash'))) {
             //changing some contract into the banksta
             if (wf_CheckPost(array('bankstacontractedit', 'newbankcontr'))) {
                 $ukv->bankstaSetContract($_POST['bankstacontractedit'], $_POST['newbankcontr']);