Ejemplo n.º 1
0
         if ($arrMySplit[1] > 1) {
             // edited field values
             $strValue = '';
             $nMax = sizeof($arrMySplit);
             for ($nIndex = 3; $nIndex < $nMax; $nIndex = $nIndex + 2) {
                 $strValue .= $arrMySplit[$nIndex] . '---';
             }
         }
     }
     $nInputfieldID = $arrRow["nFieldId"];
     $bIsEnabled = 1;
     if (!($arrSlot["nID"] == $arrCirculationProcess["nSlotId"] && $arrCirculationProcess["nDecissionState"] == 0 && !$bReadOnly)) {
         //--- Slot is not allowed to edit
         $bIsEnabled = 0;
     }
     $strEcho = $objMyCirculation->getComboBoxGroup($nInputfieldID, $strValue, $bIsEnabled, $keyId, $nRunningCounter);
     echo $strEcho;
 } elseif ($arrRow["nType"] == 9) {
     if ($arrValues[$keyId]["strFieldValue"] != '') {
         $arrValue = split('rrrrr', $arrValues[$keyId]["strFieldValue"]);
         $REG_File = $arrValue[1];
         $arrSplit = split('---', $arrValue[0]);
     } else {
         $arrValue = split('rrrrr', $arrRow['3']);
         $REG_File = $arrValue[1];
         $arrSplit = split('---', $arrValue[0]);
     }
     $nNumberOfUploads = $arrSplit[1];
     $strDirectory = $arrSplit[2] . '_' . $nNumberOfUploads;
     $strFilename = $arrSplit[3];
     $strUploadPath = $CUTEFLOW_SERVER . '/upload/';