* @version 2.0 * @package Configuration * @copyright Copyright © 2011 DNA Bank Network http://www.dnabank-network.org
The contents of this file are subject to the Mozilla Public License Version 1.1 * @see start.inc.php * @filesource * @license http://www.mozilla.org/MPL/ MPL */ if(file_exists("config/start.inc.php")) { /** * calling function for connection to database */ include ("config/start.inc.php"); } if(file_exists("../config/start.inc.php")) { /** * calling function for connection to database in alternative folder, set names utf8 is essential for correct encoding and decoding */ include("../config/start.inc.php"); } $connID = connect_to_dna(); mysqli_query( $connID, "SET NAMES 'utf8'"); /*********************************************************************************************** * using function array_item for form elements (see start.inc.php) * * START * ***********************************************************************************************/ $ID_DNA = array_item($_REQUEST, 'ID_DNA'); $ID_Collection = array_item($_REQUEST, 'ID_Collection'); $searchSpecimen = array_item($_REQUEST, 'searchSpecimen'); $searchDnaBankNumber = array_item($_REQUEST, 'searchDnaBankNumber'); $formSpecimenNumber = array_item($_REQUEST, 'formSpecimenNumber'); //$formInstitutionCode = array_item($_REQUEST, 'formInstitutionCode'); //$formCollectionCode = array_item($_REQUEST, 'formCollectionCode'); $SampleGroup = array_item($_POST, 'SampleGroup'); $formGUID = array_item($_POST, 'formGUID'); $formID_Cache = array_item($_POST, 'formID_Cache'); $formSubmitVerify = array_item($_POST, 'formSubmitVerify'); $formSubmitVerify1 = array_item($_POST, 'formSubmitVerify1'); $formSubmitVerify2 = array_item($_POST, 'formSubmitVerify2'); $formSubmitReset1 = array_item($_POST, 'formSubmitReset1'); $formSubmitReset2 = array_item($_POST, 'formSubmitReset2'); $formSubmitNew = array_item($_POST, 'formSubmitNew'); $formSubmitSave = array_item($_POST, 'formSubmitSave'); $formSubmitSave2 = array_item($_POST, 'formSubmitSave2'); $formSubmitSaveUser = array_item($_POST, 'formSubmitSaveUser'); $formSubmitCopy = array_item($_POST, 'formSubmitCopy'); $formSubmitCopyFull = array_item($_POST, 'formSubmitCopyFull'); $formSubmitClear = array_item($_POST, 'formSubmitClear'); $formSubmitPreview = array_item($_POST, 'formSubmitPreview'); $formSubmitUpdate = array_item($_POST, 'formSubmitUpdate'); $formSubmitDownload = array_item($_POST, 'formSubmitDownload'); $formSubmitNewRecord = array_item($_POST, 'formSubmitNewRecord'); $formSpecimenNumber = array_item($_POST, 'formSpecimenNumber'); $formDnaBankNumber = array_item($_POST, 'formDnaBankNumber'); $formLabNumbers = array_item($_POST, 'formLabNumbers'); $hiddenLabNumbers = array_item($_POST, 'hiddenLabNumbers'); $formDnaBankNumberDouble = array_item($_POST, 'formDnaBankNumberDouble'); $formProvider = array_item($_POST, 'formProvider'); $formRelation = array_item($_POST, 'formRelation'); $formParentFK = array_item($_POST, 'formParentFK'); $formType = array_item($_POST, 'formType'); $formTypeDesignation = array_item($_POST, 'formTypeDesignation'); $formPreservation = array_item($_POST, 'formPreservation'); $formTissue = array_item($_POST, 'formTissue'); $formExtractionMethod = array_item($_POST, 'formExtractionMethod'); $formExtractionDate = array_item($_POST, 'formExtractionDate'); $formExtractionDateFrom = array_item($_POST, 'formExtractionDateFrom'); $formExtractionDateTo = array_item($_POST, 'formExtractionDateTo'); $formExtractionStaff = array_item($_POST, 'formExtractionStaff'); $formPurificationMethod = array_item($_POST, 'formPurificationMethod'); $formAbsorbance280 = array_item($_POST, 'formAbsorbance280'); $formAbsorbance280From = array_item($_POST, 'formAbsorbance280From'); $formAbsorbance280To = array_item($_POST, 'formAbsorbance280To'); $formAbsorbance230 = array_item($_POST, 'formAbsorbance230'); $formAbsorbance230From = array_item($_POST, 'formAbsorbance230From'); $formAbsorbance230To = array_item($_POST, 'formAbsorbance230To'); $formConcentration = array_item($_POST, 'formConcentration'); $formConcentrationFrom = array_item($_POST, 'formConcentrationFrom'); $formConcentrationTo = array_item($_POST, 'formConcentrationTo'); $formCheckDate = array_item($_POST, 'formCheckDate'); $formCheckDateFrom = array_item($_POST, 'formCheckDateFrom'); $formCheckDateTo = array_item($_POST, 'formCheckDateTo'); $formNumberAliquots = array_item($_POST, 'formNumberAliquots'); $formQuantityPerAliquot = array_item($_POST, 'formQuantityPerAliquot'); $formQuantityAliquot = array_item($_POST, 'formQuantityAliquot'); $formAliquotRest = array_item($_POST, 'formAliquotRest'); $formQuantityAliquotsFrom = array_item($_POST, 'formQuantityAliquotsFrom'); $formQuantityAliquotsTo = array_item($_POST, 'formQuantityAliquotsTo'); $formAmplificationStaff = array_item($_POST, 'formAmplificationStaff'); $formAmplificationDate = array_item($_POST, 'formAmplificationDate'); $formAmplificationDateFrom = array_item($_POST, 'formAmplificationDateFrom'); $formAmplificationDateTo = array_item($_POST, 'formAmplificationDateTo'); $formAmplificationSuccess = array_item($_POST, 'formAmplificationSuccess'); $formStockFridge = array_item($_POST, 'formStockFridge'); $formStockRack = array_item($_POST, 'formStockRack'); $formStockBox = array_item($_POST, 'formStockBox'); $formAliquotsFridge = array_item($_POST, 'formAliquotsFridge'); $formAliquotsRack = array_item($_POST, 'formAliquotsRack'); $formAliquotsBox = array_item($_POST, 'formAliquotsBox'); $moreGenBank = array_item($_POST, 'moreGenBank'); $formGenBankNumber = array_item($_POST, 'formGenBankNumber'); $formGenBankLink = array_item($_POST, 'formGenBankLink'); $formGenBankNumberA = array_item($_POST, 'formGenBankNumberA'); $formGenBankLinkA = array_item($_POST, 'formGenBankLinkA'); $formSampleIDA = array_item($_POST, 'formSampleIDA'); $boldA = array_item($_POST, 'boldA'); $formGenBankNumberB = array_item($_POST, 'formGenBankNumberB'); $formGenBankLinkB = array_item($_POST, 'formGenBankLinkB'); $formSampleIDB = array_item($_POST, 'formSampleIDB'); $boldB = array_item($_POST, 'boldB'); $formGenBankNumberC = array_item($_POST, 'formGenBankNumberC'); $formGenBankLinkC = array_item($_POST, 'formGenBankLinkC'); $formSampleIDC = array_item($_POST, 'formSampleIDC'); $boldC = array_item($_POST, 'boldC'); $formGenBankNumberD = array_item($_POST, 'formGenBankNumberD'); $formGenBankLinkD = array_item($_POST, 'formGenBankLinkD'); $formSampleIDD = array_item($_POST, 'formSampleIDD'); $boldD = array_item($_POST, 'boldD'); $formGenBankNumberE = array_item($_POST, 'formGenBankNumberE'); $formGenBankLinkE = array_item($_POST, 'formGenBankLinkE'); $formSampleIDE = array_item($_POST, 'formSampleIDE'); $boldE = array_item($_POST, 'boldE'); $formAmplificationStaffA = array_item($_POST, 'formAmplificationStaffA'); $formAmplificationDateA = array_item($_POST, 'formAmplificationDateA'); $formAmplificationStaffB = array_item($_POST, 'formAmplificationStaffB'); $formAmplificationDateB = array_item($_POST, 'formAmplificationDateB'); $formAmplificationStaffC = array_item($_POST, 'formAmplificationStaffC'); $formAmplificationDateC = array_item($_POST, 'formAmplificationDateC'); $formAmplificationStaffD = array_item($_POST, 'formAmplificationStaffD'); $formAmplificationDateD = array_item($_POST, 'formAmplificationDateD'); $radioAmplification = array_item($_POST, 'radioAmplification'); $radioAmplificationA = array_item($_POST, 'radioAmplificationA'); $radioAmplificationB = array_item($_POST, 'radioAmplificationB'); $radioAmplificationC = array_item($_POST, 'radioAmplificationC'); $radioAmplificationD = array_item($_POST, 'radioAmplificationD'); $formGelFileURI = array_item($_POST, 'formGelFileURI'); $formGelVoltage = array_item($_POST, 'formGelVoltage'); $formGelConcentration = array_item($_POST, 'formGelConcentration'); $formGelRemarks = array_item($_POST, 'formGelRemarks'); $formGelDuration = array_item($_POST, 'formGelDuration'); $formGelLadder = array_item($_POST, 'formGelLadder'); $formGeneticLocus = array_item($_POST, 'formGeneticLocus'); $formGeneticLocusA = array_item($_POST, 'formGeneticLocusA'); $formGeneticLocusB = array_item($_POST, 'formGeneticLocusB'); $formGeneticLocusC = array_item($_POST, 'formGeneticLocusC'); $formGeneticLocusD = array_item($_POST, 'formGeneticLocusD'); $formGeneticLocusE = array_item($_POST, 'formGeneticLocusE'); $formRequest = array_item($_POST, 'formRequest'); $formBlockDate = array_item($_POST, 'formBlockDate'); $formBlockDateFrom = array_item($_POST, 'formBlockDateFrom'); $formBlockDateTo = array_item($_POST, 'formBlockDateTo'); $formBlockLoan = array_item($_POST, 'formBlockLoan'); $formBlockPublish = array_item($_POST, 'formBlockPublish'); $formLoanConditions = array_item($_POST, 'formLoanConditions'); $formNotes = array_item($_POST, 'formNotes'); $formNotesIntern = array_item($_POST, 'formNotesIntern'); $formNotesInternal = array_item($_POST, 'formNotesInternal'); $formCreatedBy = array_item($_POST, 'formCreatedBy'); $formSubmitSave = array_item($_POST, 'formSubmitSave'); $formSubmitSaveBox = array_item($_POST, 'formSubmitSaveBox'); $formSubmitSaveRack = array_item($_POST, 'formSubmitSaveRack'); $formSubmitSaveFridge = array_item($_POST, 'formSubmitSaveFridge'); $formSubmitSaveEdit = array_item($_POST, 'formSubmitSaveEdit'); $formSubmitChange = array_item($_POST, 'formSubmitChange'); $formSubmitChangeSave = array_item($_POST, 'formSubmitChangeSave'); $formSubmitDelete = array_item($_POST, 'formSubmitDelete'); $formSubmitDeleteSave = array_item($_POST, 'formSubmitDeleteSave'); $formSubmitClose = array_item($_POST, 'formSubmitClose'); $formSubmitSearch = array_item($_POST, 'formSubmitSearch'); $hallo = array_item($_POST, 'hallo'); $formNewTissue = array_item($_POST, 'formNewTissue'); $formTissueRemarks = array_item($_POST, 'formTissueRemarks'); $formSubmitLogin = array_item($_POST, 'formSubmitLogin'); $form1 = array_item($_POST, 'form1'); $form2 = array_item($_POST, 'form2'); $form10 = array_item($_POST, 'form10'); $form20 = array_item($_POST, 'form20'); $change = array_item($_POST, 'change'); $hidden = array_item($_POST, 'hidden'); $formNewMethod = array_item($_POST, 'formNewMethod'); $formMethodGroup = array_item($_POST, 'formMethodGroup'); $formMethodRemarks = array_item($_POST, 'formMethodRemarks'); $formNewRelation = array_item($_POST, 'formNewRelation'); $formRelationRemarks = array_item($_POST, 'formRelationRemarks'); $formNewPrimer = array_item($_POST, 'formNewPrimer'); $formPrimerRemarks = array_item($_POST, 'formPrimerRemarks'); $formPrimerSequence = array_item($_POST, 'formPrimerSequence'); $formGSC_Adapters = array_item($_POST, 'formGSC_Adapters'); $formGSC_MultiplexIdentifiers = array_item($_POST, 'formGSC_MultiplexIdentifiers'); $formReferenceText = array_item($_POST, 'formReferenceText'); $formReferenceShort = array_item($_POST, 'formReferenceShort'); $formReferenceUrl = array_item($_POST, 'formReferenceUrl'); $formReference = array_item($_POST, 'formReference'); $formNewBox = array_item($_POST, 'formNewBox'); $formNewRack = array_item($_POST, 'formNewRack'); $formNewFridge = array_item($_POST, 'formNewFridge'); $SpecimenNumber = array_item($_POST, 'SpecimenNumber'); $HigherTaxon = array_item($_POST, 'HigherTaxon'); $NameAll = array_item($_POST, 'NameAll'); $Genus = array_item($_POST, 'Genus'); $FirstEpitheton = array_item($_POST, 'FirstEpitheton'); $Rank = array_item($_POST, 'Rank'); $SecondEpitheton = array_item($_POST, 'SecondEpitheton'); $Author = array_item($_POST, 'Author'); $formBiogeoRegion = array_item($_POST, 'formBiogeoRegion'); $Country = array_item($_POST, 'Country'); $Locality = array_item($_POST, 'Locality'); $LocalityID = array_item($_POST, 'LocalityID'); $formCountryList = array_item($_POST, 'formCountryList'); $formCountryListISO = array_item($_POST, 'formCountryListISO'); $formContinent = array_item($_POST, 'formContinent'); $formLocality = array_item($_POST, 'formLocality'); $formLocalityID = array_item($_POST, 'formLocalityID'); $formTaxonName = array_item($_POST, 'formTaxonName'); $formHigherTaxon = array_item($_POST, 'formHigherTaxon'); $formGenus = array_item($_POST, 'formGenus'); $formSubgenus = array_item($_POST, 'formSubgenus'); $formSpecificEpithet = array_item($_POST, 'formSpecificEpithet'); $formRank = array_item($_POST, 'formRank'); $formInfraspecificEpithet = array_item($_POST, 'formInfraspecificEpithet'); $formGeoDatum = array_item($_POST, 'formGeoDatum'); $formGeoMethod = array_item($_POST, 'formGeoMethod'); $radioGenBank = array_item($_POST, 'radioGenBank'); $radioSource = array_item($_POST, 'radioSource'); $radioStock = array_item($_POST, 'radioStock'); $radioGel = array_item($_POST, 'radioGel'); $radioBackup = array_item($_POST, 'radioBackup'); $formProviderIntern = array_item($_POST, 'formProviderIntern'); $formProviderExtern = array_item($_POST, 'formProviderExtern'); $formDisplay = array_item($_POST, 'formDisplay'); $formInternExtern = array_item($_POST, 'formInternExtern'); $f1 = array_item($_POST, 'f1'); $test = array_item($_POST, 'test'); $variable1 = array_item($_POST, 'variable1'); $variable2 = array_item($_POST, 'variable2'); $variable3 = array_item($_POST, 'variable3'); $UnitID = array_item($_POST, 'UnitID'); $InstitutionCode = array_item($_POST, 'InstitutionCode'); $CollectionCode = array_item($_POST, 'CollectionCode'); $formTest = array_item($_POST, 'formTest'); $formUnitID = array_item($_POST, 'formUnitID'); $formSourceInstitutionID = array_item($_POST, 'formSourceInstitutionID'); $formSourceID = array_item($_POST, 'formSourceID'); $formNoVoucherData = array_item($_POST, 'formNoVoucherData'); $Stock_Gone = array_item($_POST, 'Stock_Gone'); $Source_Gone = array_item($_POST, 'Source_Gone'); $Backup_Aliquot = array_item($_POST, 'Backup_Aliquot'); $formAcquiredFrom = array_item($_POST, 'formAcquiredFrom'); $formGenBankNo = array_item($_POST, 'formGenBankNo'); $formLink = array_item($_POST, 'formLink'); $formAmplificationID = array_item($_POST, 'formAmplificationID'); $formLocationAliquotsID = array_item($_POST, 'formLocationAliquotsID'); $moreAliquots = array_item($_POST, 'moreAliquots'); $BlockGeneral = array_item($_POST, 'BlockGeneral'); $formVerifyProvider = array_item($_POST, 'formVerifyProvider'); $formNewProvider = array_item($_POST, 'formNewProvider'); $formSaveNewDataset = array_item($_POST, 'formSaveNewDataset'); $formStatus = array_item($_POST, 'formStatus'); $formNewView = array_item($_POST, 'formNewView'); $formView = array_item($_POST, 'formView'); $formDigirSource = array_item($_POST, 'formDigirSource'); $formDigirResource = array_item($_POST, 'formDigirResource'); $formSchema = array_item($_POST, 'formSchema'); $formProvider = array_item($_POST, 'formProvider'); $formSaveNewDataset = array_item($_POST, 'formSaveNewDataset'); $formSubmitSaveNewDataset = array_item($_POST, 'formSubmitSaveNewDataset'); $formSubmitEditView = array_item($_POST, 'formSubmitEditView'); $formSubmitEditDataset = array_item($_POST, 'formSubmitEditDataset'); $formViewhidden = array_item($_POST, 'formViewhidden'); $formProviderhidden = array_item($_POST, 'formProviderhidden'); $formCheckurl = array_item($_POST, 'formCheckurl'); $importcustomerdata = array_item($_POST, 'importcustomerdata'); $formEditPersons = array_item($_POST, 'formEditPersons'); $formPeople = array_item($_POST, 'formPeople'); $formPeoplehidden = array_item($_POST, 'formPeoplehidden'); $formExtraction = array_item($_POST, 'formExtraction'); $formCustomer = array_item($_POST, 'formCustomer'); $formCustomer2 = array_item($_POST, 'formCustomer2'); $formFormOfAddress = array_item($_POST, 'formFormOfAddress'); $formTitle = array_item($_POST, 'formTitle'); $formForename = array_item($_POST, 'formForename'); $formSurname = array_item($_POST, 'formSurname'); $formPhone = array_item($_POST, 'formPhone'); $formEmail = array_item($_POST, 'formEmail'); $formInstitut = array_item($_POST, 'formInstitut'); $formCountry = array_item($_POST, 'formCountry'); $formCity = array_item($_POST, 'formCity'); $formPostal_Code = array_item($_POST, 'formPostal_Code'); $formStreet = array_item($_POST, 'formStreet'); $formDivision = array_item($_POST, 'formDivision'); $formInstitut2 = array_item($_POST, 'formInstitut2'); $formCountry2 = array_item($_POST, 'formCountry2'); $formCity2 = array_item($_POST, 'formCity2'); $formPostal_Code2 = array_item($_POST, 'formPostal_Code2'); $formStreet2 = array_item($_POST, 'formStreet2'); $formDivision2 = array_item($_POST, 'formDivision2'); $formNewGeneticLocus = array_item($_POST, 'formNewGeneticLocus'); $formGeneticLocusRemarks = array_item($_POST, 'formGeneticLocusRemarks'); $formNewSubfragment = array_item($_POST, 'formNewSubfragment'); $formSubfragmentRemarks = array_item($_POST, 'formSubfragmentRemarks'); $formNewPreservation = array_item($_POST, 'formNewPreservation'); $formPreservationRemarks = array_item($_POST, 'formPreservationRemarks'); $formNewKindOfUnit = array_item($_POST, 'formNewKindOfUnit'); $formKindOfUnitRemarks = array_item($_POST, 'formKindOfUnitRemarks'); $formRestQuantity = array_item($_POST, 'formRestQuantity'); $priceperaliquot = array_item($_POST, 'priceperaliquot'); $formHigherTaxon1 = array_item($_POST, 'formHigherTaxon1'); $formIdentQualifier1 = array_item($_POST, 'formIdentQualifier1'); $formQualifierBelongs1 = array_item($_POST, 'formQualifierBelongs1'); $formGenus1 = array_item($_POST, 'formGenus1'); $formSubgenus1 = array_item($_POST, 'formSubgenus1'); $formSpecificEpithet1 = array_item($_POST, 'formSpecificEpithet1'); $formBreedCultivar1 = array_item($_POST, 'formBreedCultivar1'); $formNameAddendum1 = array_item($_POST, 'formNameAddendum1'); $formAuthor1 = array_item($_POST, 'formAuthor1'); $formAuthorYear1 = array_item($_POST, 'formAuthorYear1'); $formAuthorParenth1 = array_item($_POST, 'formAuthorParenth1'); $formAuthorYearParenth1 = array_item($_POST, 'formAuthorYearParenth1'); $formRank1 = array_item($_POST, 'formRank1'); $formInfraspecificEpithet1 = array_item($_POST, 'formInfraspecificEpithet1'); $formIdentifier1 = array_item($_POST, 'formIdentifier1'); $formIdentificationDate1 = array_item($_POST, 'formIdentificationDate1'); $formIdentType1 = array_item($_POST, 'formIdentType1'); $formIdentNotes1 = array_item($_POST, 'formIdentNotes1'); $formHigherTaxon2 = array_item($_POST, 'formHigherTaxon2'); $formIdentQualifier2 = array_item($_POST, 'formIdentQualifier2'); $formQualifierBelongs2 = array_item($_POST, 'formQualifierBelongs2'); $formGenus1 = array_item($_POST, 'formGenus1'); $formGenus2 = array_item($_POST, 'formGenus2'); $formSubgenus2 = array_item($_POST, 'formSubgenus2'); $formSpecificEpithet2 = array_item($_POST, 'formSpecificEpithet2'); $formBreedCultivar2 = array_item($_POST, 'formBreedCultivar2'); $formNameAddendum2 = array_item($_POST, 'formNameAddendum2'); $formAuthor2 = array_item($_POST, 'formAuthor2'); $formAuthorYear2 = array_item($_POST, 'formAuthorYear2'); $formAuthorParenth2 = array_item($_POST, 'formAuthorParenth2'); $formAuthorYearParenth2 = array_item($_POST, 'formAuthorYearParenth2'); $formRank2 = array_item($_POST, 'formRank2'); $formInfraspecificEpithet2 = array_item($_POST, 'formInfraspecificEpithet2'); $formIdentifier2 = array_item($_POST, 'formIdentifier2'); $formIdentificationDate2 = array_item($_POST, 'formIdentificationDate2'); $formIdentType2 = array_item($_POST, 'formIdentType2'); $formIdentNotes2 = array_item($_POST, 'formIdentNotes2'); $formHigherTaxon3 = array_item($_POST, 'formHigherTaxon3'); $formGenus3 = array_item($_POST, 'formGenus3'); $formSubgenus3 = array_item($_POST, 'formSubgenus3'); $formSpecificEpithet3 = array_item($_POST, 'formSpecificEpithet3'); $formAuthor3 = array_item($_POST, 'formAuthor3'); $formAuthorYear3 = array_item($_POST, 'formAuthorYear3'); $formAuthorParenth3 = array_item($_POST, 'formAuthorParenth3'); $formAuthorYearParenth3 = array_item($_POST, 'formAuthorYearParenth3'); $formRank3 = array_item($_POST, 'formRank3'); $formInfraspecificEpithet3 = array_item($_POST, 'formInfraspecificEpithet3'); $formIdentifier3 = array_item($_POST, 'formIdentifier3'); $formIdentificationDate3 = array_item($_POST, 'formIdentificationDate3'); $formIdentType3 = array_item($_POST, 'formIdentType3'); $formIdentNotes3 = array_item($_POST, 'formIdentNotes3'); $formHigherTaxon4 = array_item($_POST, 'formHigherTaxon4'); $formGenus4 = array_item($_POST, 'formGenus4'); $formSubgenus4 = array_item($_POST, 'formSubgenus4'); $formSpecificEpithet4 = array_item($_POST, 'formSpecificEpithet4'); $formAuthor4 = array_item($_POST, 'formAuthor4'); $formAuthorYear4 = array_item($_POST, 'formAuthorYear4'); $formAuthorParenth4 = array_item($_POST, 'formAuthorParenth4'); $formAuthorYearParenth4 = array_item($_POST, 'formAuthorYearParenth4'); $formRank4 = array_item($_POST, 'formRank4'); $formInfraspecificEpithet4 = array_item($_POST, 'formInfraspecificEpithet4'); $formIdentifier4 = array_item($_POST, 'formIdentifier4'); $formIdentificationDate4 = array_item($_POST, 'formIdentificationDate4'); $formIdentType4 = array_item($_POST, 'formIdentType4'); $formIdentNotes4 = array_item($_POST, 'formIdentNotes4'); $formExpedition = array_item($_POST, 'formExpedition'); $formRegion = array_item($_POST, 'formRegion'); $formHabitat = array_item($_POST, 'formHabitat'); $formSoilTexture = array_item($_POST, 'formSoilTexture'); $formSoilpH = array_item($_POST, 'formSoilpH'); $formHabitatCode = array_item($_POST, 'formHabitatCode'); $formLandUseCode = array_item($_POST, 'formLandUseCode'); $formSlope = array_item($_POST, 'formSlope'); $formAspect = array_item($_POST, 'formAspect'); $formHigherTaxonHost = array_item($_POST, 'formHigherTaxonHost'); $formGenusHost = array_item($_POST, 'formGenusHost'); $formSubgenusHost = array_item($_POST, 'formSubgenusHost'); $formSpecificEpithetHost = array_item($_POST, 'formSpecificEpithetHost'); $formAuthorHost = array_item($_POST, 'formAuthorHost'); $formAuthorYearHost = array_item($_POST, 'formAuthorYearHost'); $formAuthorParenthHost = array_item($_POST, 'formAuthorParenthHost'); $formAuthorYearParenthHost= array_item($_POST, 'formAuthorYearParenthHost'); $formRankHost = array_item($_POST, 'formRankHost'); $formInfraspecificEpithetHost = array_item($_POST, 'formInfraspecificEpithetHost'); $formIdentifierHost = array_item($_POST, 'formIdentifierHost'); $formIdentificationDateHost = array_item($_POST, 'formIdentificationDateHost'); $formIdentTypeHost = array_item($_POST, 'formIdentTypeHost'); $formIdentNotesHost = array_item($_POST, 'formIdentNotesHost'); $formCoordinatesAccuracy = array_item($_POST, 'formCoordinatesAccuracy'); $formErrorDistance = array_item($_POST, 'formErrorDistance'); $formLatMin = array_item($_POST, 'formLatMin'); $formLatMax = array_item($_POST, 'formLatMax'); $formLongMin = array_item($_POST, 'formLongMin'); $formLongMax = array_item($_POST, 'formLongMax'); $formLatitudeRaw = array_item($_POST, 'formLatitudeRaw'); $formLongitudeRaw = array_item($_POST, 'formLongitudeRaw'); $formDepthAccuracy = array_item($_POST, 'formDepthAccuracy'); $formDepthMin = array_item($_POST, 'formDepthMin'); $formDepthMax = array_item($_POST, 'formDepthMax'); $formDepthUnit = array_item($_POST, 'formDepthUnit'); $formDepthRaw = array_item($_POST, 'formDepthRaw'); $formDepthMethod = array_item($_POST, 'formDepthMethod'); $formAltitudeAccuracy = array_item($_POST, 'formAltitudeAccuracy'); $formAltitudeMin = array_item($_POST, 'formAltitudeMin'); $formAltitudeMax = array_item($_POST, 'formAltitudeMax'); $formAltitudeUnit = array_item($_POST, 'formAltitudeUnit'); $formAltitudeRaw = array_item($_POST, 'formAltitudeRaw'); $formAltitudeMethod = array_item($_POST, 'formAltitudeMethod'); $formCollectionDateMin = array_item($_POST, 'formCollectionDateMin'); $formCollectionDateMax = array_item($_POST, 'formCollectionDateMax'); $formCollectionYearMin = array_item($_POST, 'formCollectionYearMin'); $formCollectionYearMax = array_item($_POST, 'formCollectionYearMax'); $formCollector = array_item($_POST, 'formCollector'); $formCollectorsNo = array_item($_POST, 'formCollectorsNo'); $formCollectionNotes = array_item($_POST, 'formCollectionNotes'); $formCollectionMethod = array_item($_POST, 'formCollectionMethod'); $CollMM = array_item($_POST, 'CollMM'); $formSex = array_item($_POST, 'formSex'); $formLifeStage = array_item($_POST, 'formLifeStage'); $formLifeForm = array_item($_POST, 'formLifeForm'); $radioMM = array_item($_POST, 'radioMM'); $radioMMSite = array_item($_POST, 'radioMMSite'); $radioGeo = array_item($_POST, 'radioGeo'); $radioProtect = array_item($_POST, 'radioProtect'); $radioBlocked = array_item($_POST, 'radioBlocked'); $radioPermission = array_item($_POST, 'radioPermission'); $radioPreferred = array_item($_POST, 'radioPreferred'); $Add1 = array_item($_POST, 'Add1'); $Add2 = array_item($_POST, 'Add2'); $Add3 = array_item($_POST, 'Add3'); $AddHost = array_item($_POST, 'AddHost'); $formInstitutionCode = array_item($_POST, 'formInstitutionCode'); $formCollectionCode = array_item($_POST, 'formCollectionCode'); $Sp_formInstitutionCode = array_item($_POST, 'Sp_formInstitutionCode'); $Sp_formCollectionCode = array_item($_POST, 'Sp_formCollectionCode'); $Sp_formSpecimenNumber = array_item($_POST, 'Sp_formSpecimenNumber'); $Sp_formCollectorsNo = array_item($_POST, 'Sp_formCollectorsNo'); $Unit = array_item($_POST, 'Unit'); $formID_Dataset = array_item($_POST, 'formID_Dataset'); $formDatasetKey = array_item($_POST, 'formDatasetKey'); $formProtocol = array_item($_POST, 'formProtocol'); $formAcquiredFrom = array_item($_POST, 'formAcquiredFrom'); $formBasisOfRecord = array_item($_POST, 'formBasisOfRecord'); $formKindOfUnit = array_item($_POST, 'formKindOfUnit'); $formPrepType = array_item($_POST, 'formPrepType'); $formAccNo = array_item($_POST, 'formAccNo'); $formAccName = array_item($_POST, 'formAccName'); $formPrepDate = array_item($_POST, 'formPrepDate'); $formPrepStaff = array_item($_POST, 'formPrepStaff'); $formPrepMaterials = array_item($_POST, 'formPrepMaterials'); $formPrepProcess = array_item($_POST, 'formPrepProcess'); $formUnitIDAssoc1 = array_item($_POST, 'formUnitIDAssoc1'); $formInstCodeAssoc1 = array_item($_POST, 'formInstCodeAssoc1'); $formCollCodeAssoc1 = array_item($_POST, 'formCollCodeAssoc1'); $formRelToMain1 = array_item($_POST, 'formRelToMain1'); $formBasisOfRecordAssoc1 = array_item($_POST, 'formBasisOfRecordAssoc1'); $formKindOfUnitAssoc1 = array_item($_POST, 'formKindOfUnitAssoc1'); $formProviderAssoc1 = array_item($_POST, 'formProviderAssoc1'); $formNotesAssoc1 = array_item($_POST, 'formNotesAssoc1'); $formUnitIDAssoc2 = array_item($_POST, 'formUnitIDAssoc2'); $formInstCodeAssoc2 = array_item($_POST, 'formInstCodeAssoc2'); $formCollCodeAssoc2 = array_item($_POST, 'formCollCodeAssoc2'); $formRelToMain2 = array_item($_POST, 'formRelToMain2'); $formBasisOfRecordAssoc2 = array_item($_POST, 'formBasisOfRecordAssoc2'); $formKindOfUnitAssoc2 = array_item($_POST, 'formKindOfUnitAssoc2'); $formProviderAssoc2 = array_item($_POST, 'formProviderAssoc2'); $formNotesAssoc2 = array_item($_POST, 'formNotesAssoc2'); $MainMMPath = array_item($_POST, 'MainMMPath'); $MainMMCreator = array_item($_POST, 'MainMMCreator'); $MainMMType = array_item($_POST, 'MainMMType'); $MainMMLicense = array_item($_POST, 'MainMMLicense'); $MainMMUseEXIF = array_item($_POST, 'MainMMUseEXIF'); $UseMainMMPath1 = array_item($_POST, 'UseMainMMPath1'); $formMMPath1 = array_item($_POST, 'formMMPath1'); $formMMType1 = array_item($_POST, 'formMMType1'); $formMMCreator1 = array_item($_POST, 'formMMCreator1'); $formMMCreated1 = array_item($_POST, 'formMMCreated1'); $formMMComment1 = array_item($_POST, 'formMMComment1'); $formMMContext1 = array_item($_POST, 'formMMContext1'); $formMMLicense1 = array_item($_POST, 'formMMLicense1'); $UseEXIFMM1 = array_item($_POST, 'UseEXIFMM1'); $UseMainMMPath2 = array_item($_POST, 'UseMainMMPath2'); $formMMPath2 = array_item($_POST, 'formMMPath2'); $formMMType2 = array_item($_POST, 'formMMType2'); $formMMCreator2 = array_item($_POST, 'formMMCreator2'); $formMMCreated2 = array_item($_POST, 'formMMCreated2'); $formMMComment2 = array_item($_POST, 'formMMComment2'); $formMMContext2 = array_item($_POST, 'formMMContext2'); $formMMLicense2 = array_item($_POST, 'formMMLicense2'); $UseEXIFMM2 = array_item($_POST, 'UseEXIFMM2'); $UseMainMMPath3 = array_item($_POST, 'UseMainMMPath3'); $formMMPath3 = array_item($_POST, 'formMMPath3'); $formMMType3 = array_item($_POST, 'formMMType3'); $formMMCreator3 = array_item($_POST, 'formMMCreator3'); $formMMCreated3 = array_item($_POST, 'formMMCreated3'); $formMMComment3 = array_item($_POST, 'formMMComment3'); $formMMContext3 = array_item($_POST, 'formMMContext3'); $formMMLicense3 = array_item($_POST, 'formMMLicense3'); $UseEXIFMM3 = array_item($_POST, 'UseEXIFMM3'); $formMMSitePath = array_item($_POST, 'formMMSitePath'); $formMMSiteType = array_item($_POST, 'formMMSiteType'); $formMMSiteCreator = array_item($_POST, 'formMMSiteCreator'); $formMMSiteCreated = array_item($_POST, 'formMMSiteCreated'); $formMMSiteComment = array_item($_POST, 'formMMSiteComment'); $formMMSiteContext = array_item($_POST, 'formMMSiteContext'); $formMMSiteLicense = array_item($_POST, 'formMMSiteLicense'); $UseMainMMSitePath1 = array_item($_POST, 'UseMainMMSitePath1'); $formMMSitePath1 = array_item($_POST, 'formMMSitePath1'); $formMMSiteType1 = array_item($_POST, 'formMMSiteType1'); $formMMSiteCreator1 = array_item($_POST, 'formMMSiteCreator1'); $formMMSiteCreated1 = array_item($_POST, 'formMMSiteCreated1'); $formMMSiteComment1 = array_item($_POST, 'formMMSiteComment1'); $formMMSiteContext1 = array_item($_POST, 'formMMSiteContext1'); $formMMSiteLicense1 = array_item($_POST, 'formMMSiteLicense1'); $UseEXIFMMSite1 = array_item($_POST, 'UseEXIFMMSite1'); $UseMainMMSitePath2 = array_item($_POST, 'UseMainMMSitePath2'); $formMMSitePath2 = array_item($_POST, 'formMMSitePath2'); $formMMSiteType2 = array_item($_POST, 'formMMSiteType2'); $formMMSiteCreator2 = array_item($_POST, 'formMMSiteCreator2'); $formMMSiteCreated2 = array_item($_POST, 'formMMSiteCreated2'); $formMMSiteComment2 = array_item($_POST, 'formMMSiteComment2'); $formMMSiteContext2 = array_item($_POST, 'formMMSiteContext2'); $formMMSiteLicense2 = array_item($_POST, 'formMMSiteLicense2'); $UseEXIFMMSite2 = array_item($_POST, 'UseEXIFMMSite2'); $UseMainMMSitePath3 = array_item($_POST, 'UseMainMMSitePath3'); $formMMSitePath3 = array_item($_POST, 'formMMSitePath3'); $formMMSiteType3 = array_item($_POST, 'formMMSiteType3'); $formMMSiteCreator3 = array_item($_POST, 'formMMSiteCreator3'); $formMMSiteCreated3 = array_item($_POST, 'formMMSiteCreated3'); $formMMSiteComment3 = array_item($_POST, 'formMMSiteComment3'); $formMMSiteContext3 = array_item($_POST, 'formMMSiteContext3'); $formMMSiteLicense3 = array_item($_POST, 'formMMSiteLicense3'); $UseEXIFMMSite3 = array_item($_POST, 'UseEXIFMMSite3'); $formVoucherRefText = array_item($_POST, 'formVoucherRefText'); $formVoucherRefUrl = array_item($_POST, 'formVoucherRefUrl'); $formVoucherRefDoi = array_item($_POST, 'formVoucherRefDoi'); $formVoucherRefDetail = array_item($_POST, 'formVoucherRefDetail'); $formVoucherRefText1 = array_item($_POST, 'formVoucherRefText1'); $formVoucherRefUrl1 = array_item($_POST, 'formVoucherRefUrl1'); $formVoucherRefDoi1 = array_item($_POST, 'formVoucherRefDoi1'); $formVoucherRefDetail1 = array_item($_POST, 'formVoucherRefDetail1'); $formVoucherRefText2 = array_item($_POST, 'formVoucherRefText2'); $formVoucherRefUrl2 = array_item($_POST, 'formVoucherRefUrl2'); $formVoucherRefDoi2 = array_item($_POST, 'formVoucherRefDoi2'); $formVoucherRefDetail2 = array_item($_POST, 'formVoucherRefDetail2'); $formVoucherRefText3 = array_item($_POST, 'formVoucherRefText3'); $formVoucherRefUrl3 = array_item($_POST, 'formVoucherRefUrl3'); $formVoucherRefDoi3 = array_item($_POST, 'formVoucherRefDoi3'); $formVoucherRefDetail3 = array_item($_POST, 'formVoucherRefDetail3'); $formIdentRefText = array_item($_POST, 'formIdentRefText'); $formIdentRefUrl = array_item($_POST, 'formIdentRefUrl'); $formIdentRefDoi = array_item($_POST, 'formIdentRefDoi'); $formDna = array_item($_POST, 'formDna'); $formBackToHitlist = array_item($_POST, 'formBackToHitlist'); $formQuery = array_item($_POST, 'formQuery'); $formOcean = array_item($_POST, 'formOcean'); $formSea = array_item($_POST, 'formSea'); $formQuery = array_item($_POST, 'formQuery'); $formAddLimits = array_item($_POST, 'formAddLimits'); $formSourceQuantity = array_item($_POST, 'formSourceQuantity'); $AliquotSourceQuantity = array_item($_POST, 'AliquotSourceQuantity'); $AliquotRestQuantity = array_item($_POST, 'AliquotRestQuantity'); $formStockQuantity = array_item($_POST, 'formStockQuantity'); $formStockRest = array_item($_POST, 'formStockRest'); $formStock = array_item($_POST, 'formStock'); $formSubmitCheck = array_item($_POST, 'formSubmitCheck'); $formOrderDate = array_item($_POST, 'formOrderDate'); $formOrderDateFrom = array_item($_POST, 'formOrderDateFrom'); $formOrderDateTo = array_item($_POST, 'formOrderDateTo'); $formShippingDate = array_item($_POST, 'formShippingDate'); $formPrice = array_item($_POST, 'formPrice'); $shipping = array_item($_POST, 'shipping'); $radioStatus = array_item($_POST, 'radioStatus'); $Aliquot = array_item($_POST, 'Aliquot'); $formAction = array_item($_POST, 'formAction'); $Amplification = array_item($_POST, 'Amplification'); $formAmplificationDate2 = array_item($_POST, 'formAmplificationDate2'); $formSearchTitle = array_item($_POST, 'formSearchTitle'); $formPrint = array_item($_POST, 'formPrint'); $formShowAll = array_item($_POST, 'formShowAll'); $formOnline = array_item($_POST, 'formOnline'); $formSearchBook = array_item($_POST, 'formSearchBook'); $formSearchYear = array_item($_POST, 'formSearchYear'); $formSearchPublisher = array_item($_POST, 'formSearchPublisher'); $formPositionAliquot = array_item($_POST, 'formPositionAliquot'); $formBarcodeAliquot = array_item($_POST, 'formBarcodeAliquot'); $PositionAliquot = array_item($_POST, 'PositionAliquot'); $BarcodeAliquot = array_item($_POST, 'BarcodeAliquot'); $formPositionStock = array_item($_POST, 'formPositionStock'); $formBarcodeStock = array_item($_POST, 'formBarcodeStock'); $formPublications = array_item($_POST, 'formPublications'); $formPublication = array_item($_POST, 'formPublication'); $formNoExtractDate = array_item($_POST, 'formNoExtractDate'); $formAgreement = array_item($_POST, 'formAgreement'); $TestCatNo = array_item($_POST, 'TestCatNo'); $page = array_item($_POST, 'page'); $countdna = array_item($_POST, 'countdna'); $countspecimen = array_item($_POST, 'countspecimen'); $formTCName = array_item($_POST, 'formTCName'); $formTCEmail = array_item($_POST, 'formTCEmail'); $formTCAddress = array_item($_POST, 'formTCAddress'); $formCCName = array_item($_POST, 'formCCName'); $formCCEmail = array_item($_POST, 'formCCEmail'); $formCCAddress = array_item($_POST, 'formCCAddress'); $formRepTitle = array_item($_POST, 'formRepTitle'); $formRepText = array_item($_POST, 'formRepText'); $formOwnText = array_item($_POST, 'formOwnText'); $formOwnAddress = array_item($_POST, 'formOwnAddress'); $formOwnURL = array_item($_POST, 'formOwnURL'); $formOwnIcon = array_item($_POST, 'formOwnIcon'); $formCopyright = array_item($_POST, 'formCopyright'); $formTermsOfUse = array_item($_POST, 'formTermsOfUse'); $formCitation = array_item($_POST, 'formCitation'); $formInstCode = array_item($_POST, 'formInstCode'); $recordspage = array_item($_POST, 'recordspage'); $sorting = array_item($_POST, 'sorting'); $recordspagesp = array_item($_POST, 'recordspagesp'); $sortingsp = array_item($_POST, 'sortingsp'); $showUnitIDsp = array_item($_POST, 'showUnitIDsp'); $showCollCodesp = array_item($_POST, 'showCollCodesp'); $showInstCodesp = array_item($_POST, 'showInstCodesp'); $formQualifierSeries = array_item($_POST, 'formQualifierSeries'); $formSeries = array_item($_POST, 'formSeries'); $formQualifierStage = array_item($_POST, 'formQualifierStage'); $formStage = array_item($_POST, 'formStage'); $formFossilZone = array_item($_POST, 'formFossilZone'); $formFormation = array_item($_POST, 'formFormation'); $formSectionDetails = array_item($_POST, 'formSectionDetails'); $formSpecimenDetails = array_item($_POST, 'formSpecimenDetails'); /*********************************************************************************************** * using function array_item for form elements (see start.inc.php) * * END * ***********************************************************************************************/ ?>