Example #1
0
    $collid = 0;
}
if (!is_numeric($displayMode)) {
    $displayMode = 0;
}
$customField1 = array_key_exists('customfield1', $_REQUEST) ? $_REQUEST['customfield1'] : '';
$customType1 = array_key_exists('customtype1', $_REQUEST) ? $_REQUEST['customtype1'] : '';
$customValue1 = array_key_exists('customvalue1', $_REQUEST) ? $_REQUEST['customvalue1'] : '';
$customField2 = array_key_exists('customfield2', $_REQUEST) ? $_REQUEST['customfield2'] : '';
$customType2 = array_key_exists('customtype2', $_REQUEST) ? $_REQUEST['customtype2'] : '';
$customValue2 = array_key_exists('customvalue2', $_REQUEST) ? $_REQUEST['customvalue2'] : '';
$customField3 = array_key_exists('customfield3', $_REQUEST) ? $_REQUEST['customfield3'] : '';
$customType3 = array_key_exists('customtype3', $_REQUEST) ? $_REQUEST['customtype3'] : '';
$customValue3 = array_key_exists('customvalue3', $_REQUEST) ? $_REQUEST['customvalue3'] : '';
$dlManager = new OccurrenceDownload();
$collMeta = $dlManager->getCollectionMetadata($collid);
$isEditor = false;
if ($IS_ADMIN || array_key_exists("CollAdmin", $userRights) && in_array($collid, $userRights["CollAdmin"])) {
    $isEditor = true;
}
$advFieldArr = array('family' => 'Family', 'sciname' => 'Scientific Name', 'identifiedBy' => 'Identified By', 'typeStatus' => 'Type Status', 'catalogNumber' => 'Catalog Number', 'otherCatalogNumbers' => 'Other Catalog Numbers', 'occurrenceId' => 'Occurrence ID (GUID)', 'recordedBy' => 'Collector/Observer', 'recordNumber' => 'Collector Number', 'associatedCollectors' => 'Associated Collectors', 'eventDate' => 'Collection Date', 'verbatimEventDate' => 'Verbatim Date', 'habitat' => 'Habitat', 'substrate' => 'Substrate', 'occurrenceRemarks' => 'Occurrence Remarks', 'associatedTaxa' => 'Associated Taxa', 'verbatimAttributes' => 'Description', 'reproductiveCondition' => 'Reproductive Condition', 'establishmentMeans' => 'Establishment Means', 'lifeStage' => 'Life Stage', 'sex' => 'Sex', 'individualCount' => 'Individual Count', 'samplingProtocol' => 'Sampling Protocol', 'country' => 'Country', 'stateProvince' => 'State/Province', 'county' => 'County', 'municipality' => 'Municipality', 'locality' => 'Locality', 'decimalLatitude' => 'Decimal Latitude', 'decimalLongitude' => 'Decimal Longitude', 'geodeticDatum' => 'Geodetic Datum', 'coordinateUncertaintyInMeters' => 'Uncertainty (m)', 'verbatimCoordinates' => 'Verbatim Coordinates', 'georeferencedBy' => 'Georeferenced By', 'georeferenceProtocol' => 'Georeference Protocol', 'georeferenceSources' => 'Georeference Sources', 'georeferenceVerificationStatus' => 'Georeference Verification Status', 'georeferenceRemarks' => 'Georeference Remarks', 'minimumElevationInMeters' => 'Elevation Minimum (m)', 'maximumElevationInMeters' => 'Elevation Maximum (m)', 'verbatimElevation' => 'Verbatim Elevation', 'disposition' => 'Disposition');
?>
<html>
	<head>
		<title>Occurrence Export Manager</title>
		<link href="<?php 
echo $clientRoot;
?>
/css/base.css?<?php 
echo $CSS_VERSION;
?>