or use GUID as Voucher ID'; } else { echo ""; } ?> '; } } if($detail != "true") { ?>

Voucher Data (Main Voucher or Observation)

Voucher ID/
Sample Number
'; } ?>
Institution
(voucher deposit) *
'; } ?>
Collection *
'; } ?>
Basis of Record * Kind of Unit * '; } ?>
Accession Number '; } ?> Primary Accession Name '; }?>
Former Collection '; } ?> Preparation Type '; } ?>
Preparation Date '; } ?> Preparation Staff '; } ?>

Voucher reference '; } ?>
Reference Detail (Page) '; } ?>
Reference URL '; } ?> Reference DOI '; } ?>
Add External Associations />
'; while($row = mysqli_fetch_object($resultMMSpecimen)) { echo ''; echo ''; } ?> '; } else { ?>

Multimedia (related to specimen/observation)

Path and File Name *'; echo ''; echo '
Creator'; echo ''; echo ' Created (datetime)'; echo 'File_Created_When == "") { echo 'value="YYYY-MM-DD hh:mm:ss">'; } else { echo 'value="'.$row->File_Created_When.'">'; } echo '
Context'; echo ''; echo ' Comment'; echo ''; echo '
Type'; echo ''; echo 'License'; echo '
Add further Multimedia items (related to specimen/observation)
Add Multimedia items (related to specimen/observation)
'; while($row = mysqli_fetch_object($resultAssocUnit)) { echo '

Associated Unit

Voucher ID'.$row->UnitID.'Institution'.$row->InstitutionCode.'
Collection'.$row->CollectionCode.'Relation to Main Unit'.$row->RelationToMainUnit.'
Basis of Record'.$row->RecordBasis.'Kind Of Unit'.$row->KindOfUnit.'
Specimen database'.$row->Display.'
>

Associated Unit No.1

Voucher ID *">Relation to Main Unit *">
Specimen database * Notes">
"; ?>
'; echo '
'; include("doQuery.php"); echo ''; echo ""; }?> ID_TaxonIdentified; echo '"; }} ?>

Associated Unit No.2

Voucher ID *">Relation to Main Unit *">
Specimen database * Notes">
"; ?>
'; echo '
'; include("doQuery.php"); echo ''; echo ""; } } ?>
0) { echo ''; while($row = mysqli_fetch_object($resultMMSpecimen)) { echo ''; } echo "

Multimedia (related to specimen/observation)

Item'; if($row->File_Type == 'Image/Scan') { list($width, $height, $type, $attr) = getimagesize($row->File_Path); if($width > 120 and $height > 120) { $widthMM = '120px'; } if($width > 120 and $height <= 120) { $widthMM = '120px'; } if($width <= 120 and $height > 120) { $heightMM = '120px'; } echo ""; } else { echo "".$row->File_Path.""; } echo 'Type'.$row->File_Type.'
Creator'.$row->File_Created_Who.' Created (datetime)'.$row->File_Created_When.'
Context'.$row->File_Context.' Comment'.$row->File_Comment.'
License'.$row->File_License.'

"; } } if($detail != "true") { ?>
'; } else { echo ''; } ?> "; ?>

onclick="return confirm('Are you sure you want to delete this identification?');"> "; }} echo "
Kingdom "/>
Phylum "/>
Class "/>
Order "/>
Family "/>
Subfamily "/>

Genus
';?>
Specific Epithet '; ?>
Subgenus
'; ?>
Rank '; ?> Infraspecific Epithet '; ?>
Author(s) in parenthesis '; ?> Year in parenthesis '; ?>
Author(s) '; ?> Year '; ?>
Identifier '; ?> Identification Date '; ?>
Kind of Identification '; ?> Identification Notes '; ?>
Add identification onclick="document.getElementById('hidden').style.display = this.checked == true ? 'block':'none';" value="Further"/>
Add identification onclick="document.getElementById('hidden').style.display = this.checked == true ? 'block':'none';" value="Further"/>
ID_TaxonIdentified; echo ""; $result3a = mysqli_query($GLOBALS["___mysqli_ston"], "SELECT sptoolcollection.ID_Collection, " . " sptooltaxa.ID_TaxonIdentified, " . " sptoolhighertaxon.HigherTaxon AS HigherTaxon2, " . " sptoolhighertaxon.TaxonRank AS TaxonRank2" . " FROM sptoolcollection, sptooltaxa, sptoolhighertaxon " . " WHERE sptoolhighertaxon.FK_TaxonIdentified = sptooltaxa.ID_TaxonIdentified " . " AND sptooltaxa.FK_Collection = sptoolcollection.ID_Collection " . " AND sptooltaxa.PreferredFlag != '1' " . " AND sptoolhighertaxon.FK_TaxonIdentified = '$ID_Taxa'"); while($roww = mysqli_fetch_object($result3a)) { echo ''; } echo ""; echo "

Identification: ".$row->NameAuthorYear."

'.$roww->TaxonRank2.''.$roww->HigherTaxon2.'

Genus".$row->Genus."Specific Epithet".$row->SpecificEpithet."
Subgenus".$row->Subgenus."
Rank".$row->Rank."Infraspecific Epithet".$row->InfraspecificEpithet."
Author(s) in parenthesis".$row->AuthorParenth."Year in parenthesis".$row->YearParenth."
Author(s)".$row->Author."Year".$row->Year."
Identifier".$row->Identifier."Identification Date".$row->IdentificationDate."
Kind of Identification".$row->KindOfIdentification."IdentificationNotes".$row->IdentificationNotes."
"; } echo "
"; } if($formSubmitUpdate or $sqlType != "Detail") { ?> style="display:none;" class="greenline">

Identification No 2

Kingdom "/>
Phylum "/>
Class "/>
Order "/>
Family "/>
Subfamily "/>

Genus "/>
Specific Epithet "/>
Subgenus "/>
Rank '; ?> Infraspecific Epithet"/>
Author(s) in parenthesis"/> Year in parenthesis"/>
Author(s)"/> Year"/>
Identifier"/> Identification Date"/>
Kind of Identification '; ?> Identification Notes"/>
Add identification onclick="document.getElementById('hidden1').style.display = this.checked == true ? 'block':'none';" value="Further"/>
style="display:none;" class="greenline">

Identification No 3

Kingdom "/>
Phylum "/>
Class "/>
Order "/>
Family "/>
Subfamily "/>

Genus "/>
Specific Epithet "/>
Subgenus "/>
Rank '; ?> Infraspecific Epithet"/>
Author(s) in parenthesis"/> Year in parenthesis"/>
Author(s)"/> Year"/>
Identifier"/> Identification Date"/>
Kind of Identification '; ?> Identification Notes"/>
Add identification onclick="document.getElementById('hidden2').style.display = this.checked == true ? 'block':'none';" value="Further"/>
style="display:none;" class="greenline">

Identification No 4

Kingdom "/>
Phylum "/>
Class "/>
Order "/>
Family "/>
Subfamily "/>

Genus "/>
Specific Epithet "/>
Subgenus "/>
Rank '; ?> Infraspecific Epithet"/>
Author(s) in parenthesis"/> Year in parenthesis"/>
Author(s)"/> Year"/>
Identifier"/> Identification Date"/>
Kind of Identification '; ?> Identification Notes"/>
'; echo ""; $result3g = mysqli_query($GLOBALS["___mysqli_ston"], "SELECT sptoolcollection.ID_Collection, " . " sptooltaxa.ID_TaxonIdentified, " . " sptoolhighertaxon.HigherTaxon, " . " sptoolhighertaxon.TaxonRank " . " FROM sptoolcollection, sptooltaxa, sptoolhighertaxon " . " WHERE sptoolhighertaxon.FK_TaxonIdentified = sptooltaxa.ID_TaxonIdentified " . " AND sptooltaxa.FK_Collection = sptoolcollection.ID_Collection " . " AND sptooltaxa.PreferredFlag = '0' " . " AND sptoolhighertaxon.TaxonRank = 'regnum' " . " AND sptoolhighertaxon.FK_TaxonIdentified = '$ID_Taxa'"); $result3h = mysqli_query($GLOBALS["___mysqli_ston"], "SELECT sptoolcollection.ID_Collection, " . " sptooltaxa.ID_TaxonIdentified, " . " sptoolhighertaxon.HigherTaxon, " . " sptoolhighertaxon.TaxonRank " . " FROM sptoolcollection, sptooltaxa, sptoolhighertaxon " . " WHERE sptoolhighertaxon.FK_TaxonIdentified = sptooltaxa.ID_TaxonIdentified " . " AND sptooltaxa.FK_Collection = sptoolcollection.ID_Collection " . " AND sptooltaxa.PreferredFlag = '0' " . " AND sptoolhighertaxon.TaxonRank = 'phylum' " . " AND sptoolhighertaxon.FK_TaxonIdentified = '$ID_Taxa'"); $result3i = mysqli_query($GLOBALS["___mysqli_ston"], "SELECT sptoolcollection.ID_Collection, " . " sptooltaxa.ID_TaxonIdentified, " . " sptoolhighertaxon.HigherTaxon, " . " sptoolhighertaxon.TaxonRank " . " FROM sptoolcollection, sptooltaxa, sptoolhighertaxon " . " WHERE sptoolhighertaxon.FK_TaxonIdentified = sptooltaxa.ID_TaxonIdentified " . " AND sptooltaxa.FK_Collection = sptoolcollection.ID_Collection " . " AND sptooltaxa.PreferredFlag = '0' " . " AND sptoolhighertaxon.TaxonRank = 'classis' " . " AND sptoolhighertaxon.FK_TaxonIdentified = '$ID_Taxa'"); $result3j = mysqli_query($GLOBALS["___mysqli_ston"], "SELECT sptoolcollection.ID_Collection, " . " sptooltaxa.ID_TaxonIdentified, " . " sptoolhighertaxon.HigherTaxon, " . " sptoolhighertaxon.TaxonRank " . " FROM sptoolcollection, sptooltaxa, sptoolhighertaxon " . " WHERE sptoolhighertaxon.FK_TaxonIdentified = sptooltaxa.ID_TaxonIdentified " . " AND sptooltaxa.FK_Collection = sptoolcollection.ID_Collection " . " AND sptooltaxa.PreferredFlag = '0' " . " AND sptoolhighertaxon.TaxonRank = 'ordo' " . " AND sptoolhighertaxon.FK_TaxonIdentified = '$ID_Taxa'"); $result3k = mysqli_query($GLOBALS["___mysqli_ston"], "SELECT sptoolcollection.ID_Collection, " . " sptooltaxa.ID_TaxonIdentified, " . " sptoolhighertaxon.HigherTaxon, " . " sptoolhighertaxon.TaxonRank " . " FROM sptoolcollection, sptooltaxa, sptoolhighertaxon " . " WHERE sptoolhighertaxon.FK_TaxonIdentified = sptooltaxa.ID_TaxonIdentified " . " AND sptooltaxa.FK_Collection = sptoolcollection.ID_Collection " . " AND sptooltaxa.PreferredFlag = '0' " . " AND sptoolhighertaxon.TaxonRank = 'familia' " . " AND sptoolhighertaxon.FK_TaxonIdentified = '$ID_Taxa'"); $result3l = mysqli_query($GLOBALS["___mysqli_ston"], "SELECT sptoolcollection.ID_Collection, " . " sptooltaxa.ID_TaxonIdentified, " . " sptoolhighertaxon.HigherTaxon, " . " sptoolhighertaxon.TaxonRank " . " FROM sptoolcollection, sptooltaxa, sptoolhighertaxon " . " WHERE sptoolhighertaxon.FK_TaxonIdentified = sptooltaxa.ID_TaxonIdentified " . " AND sptooltaxa.FK_Collection = sptoolcollection.ID_Collection " . " AND sptooltaxa.PreferredFlag = '0' " . " AND sptoolhighertaxon.TaxonRank = 'subfamilia' " . " AND sptoolhighertaxon.FK_TaxonIdentified = '$ID_Taxa'"); echo ''; echo ""; echo ''; echo ''; echo ''; echo "

Identification

"; if ((isset($_SESSION['guest']) || $_SESSION['guest']) || ((isset($_SESSION['project']) || $_SESSION['project']) && $Created_Who != $log) || !$_SESSION['loggedin'] || !isset($_SESSION['loggedin'])) {} else { echo " onclick="return confirm('Are you sure you want to delete this identification?');"> "; } echo "
Kingdom'; echo '
Phylum
Class
Order
Family
Subfamily

Genus
Specific Epithet
Subgenus
Rank"; $ViewRank = $row->Rank; echo ''; echo "Infraspecific Epithet
Author(s) in parenthesisYear in parenthesis
Author(s)Year
IdentifierIdentification Date
Kind of Identification"; $ViewKindOfIdentification = $row->KindOfIdentification; echo ''; echo "IdentificationNotes
"; echo "

Gathering Details

Expedition/Title label '; } ?> Collection Method '; } ?>
Collector(s) '; } ?> Collector's No '; } ?>
Collection date from '; } ?> Collection date to '; } ?>
Collection Notes '; if($formSubmitUpdate) { echo $CollectionNotes; } if($EntryCheck == "true") { echo $formCollectionNotes; } echo ''; } ?>
'; } ?>

Geography

Biogeographic Region Sea/Ocean
Country State/Province/Greater Area '; } ?>
Locality '; } ?> Locality ID/Station '; } ?>
Slope Prevalent Aspect
Altitude Accuracy Statement '; } ?> Altitude from '; } ?> '; } ?> '; } ?>
Altitude Method '; } ?> Raw data Altitude '; } ?>
Depth Accuracy Statement '; } ?> Depth from '; } ?> '; } ?> '; } ?>
Depth Method '; } ?> Raw data Depth '; } ?>

Geodetic Datum '; } ?> Geocode Method
Coordinates Accuracy Statement '; } ?> Error distance in m '; } ?>
Longitude decimal from '; } ?>Latitude decimal from '; } ?>
Longitude decimal to '; } ?>Latitude decimal to '; } ?>
Raw data Longitude '; } ?>Raw data Latitude '; } ?>
'; ?>
'; while($row = mysqli_fetch_object($resultMMSite)) { echo ''; echo ''; } ?> '; } else { ?>

Multimedia (related to gathering site)

Path and File Name *'; echo ''; echo '
Creator'; echo ''; echo ' Created (datetime)'; echo ''; echo '
Context'; echo ''; echo 'Comment'; echo '
Type'; echo ''; echo 'License'; echo ''; echo '
Add further Multimedia items (related to gathering site)
Add Multimedia items (related to gathering site)
0) { echo ''; while($row = mysqli_fetch_object($resultMMSite)) { echo ''; } echo "

Multimedia (related to gathering site)

Item'; if($row->File_Type == 'Image/Scan') { list($width, $height, $type, $attr) = getimagesize($row->File_Path); if($width > 120 and $height > 120) { $widthMMSite = '120px'; } if($width > 120 and $height <= 120) { $widthMMSite = '120px'; } if($width <= 120 and $height > 120) { $heightMMSite = '120px'; } echo ""; } else { echo "".$row->File_Path.""; } echo 'Type'.$row->File_Type.'
Creator'.$row->File_Created_Who.' Created (datetime)'.$row->File_Created_When.'
Context'.$row->File_Context.' Comment'.$row->File_Comment.'
License'.$row->File_License.'

"; } } if($detail != "true") { ?>
0) { echo ""; } } else { ?> '; } ?> '; while($row = mysqli_fetch_object($result3Host)) { echo ''; } echo ''; } /******************************if($formSubmitUpdate)********************/ if($formSubmitUpdate) { $num_rows = mysqli_num_rows($result2b); } if($formSubmitUpdate and $num_rows > 0) { while($row = mysqli_fetch_object($result2b)) { $ID_Taxa_Host = $row->ID_TaxonIdentified; echo '"; }} /******************************END if($formSubmitUpdate)********************/ if(!$formSubmitUpdate or $num_rows == '0') { if($detail != "true") { ?>

Ecological Data

Soil texture Soil pH
Habitat code Land use code
Habitat/Ecological aspects '; if($formSubmitUpdate) { echo $Habitat; } if($EntryCheck == "true") { echo $formHabitat; } echo ''; } ?>
"; while($row = mysqli_fetch_object($result4)) { echo ""; } echo "
ValueUnitParameterMethod
".$row->Value."".$row->Unit."".$row->Parameter."".$row->Method."
'; while($row = mysqli_fetch_object($resultEcology)){ echo ''; } echo '
Value Unit Parameter Method
Add ecological parameters onclick="document.getElementById('hiddenEcology').style.display = this.checked == true ? 'block':'none';" value="Ecology"/>
style="display:none;" class="greenline">
Value 1 "/> Unit 1 "/> Parameter 1 "/> Method 1 "/>
Value 2 "/> Unit 2 "/> Parameter 2 "/> Method 2 "/>
Value 3 "/> Unit 3 "/> Parameter 3 "/> Method 3 "/>
Value 4 "/> Unit 4 "/> Parameter 4 "/> Method 4 "/>
Value 5 "/> Unit 5 "/> Parameter 5 "/> Method 5 "/>
Value 6 "/> Unit 6 "/> Parameter 6 "/> Method 6 "/>
Value 7 "/> Unit 7 "/> Parameter 7 "/> Method 7 "/>
Value 8 "/> Unit 8 "/> Parameter 8 "/> Method 8 "/>
Value 9 "/> Unit 9 "/> Parameter 9 "/> Method 9 "/>
Value 10 "/> Unit 10 "/> Parameter 10 "/> Method 10 "/>

Host species '.$NameAuthorYearHost.'

'.$row->TaxonRank.''.$row->HigherTaxon.'

Genus'.$GenusHost.' Specific Epithet'.$SpecificEpithetHost.'
Subgenus'.$SubgenusHost.'
Rank'.$RankHost.' Infraspecific Epithet'.$InfraspecificEpithetHost.'
Author(s) in parenthesis'.$AuthorParenthHost.' Year in parenthesis'.$YearParenthHost.'
Author(s)'.$AuthorHost.' Year'.$YearHost.'
Identifier'.$IdentifierHost.' Identification Date'.$IdentificationDateHost.'
Kind of Identification'.$KindOfIdentificationHost.' Identification Notes'.$IdentificationNotesHost.'
'; echo ""; $result3g = mysqli_query($GLOBALS["___mysqli_ston"], "SELECT sptoolcollection.ID_Collection, " . " sptooltaxa.ID_TaxonIdentified, " . " sptoolhighertaxon.HigherTaxon, " . " sptoolhighertaxon.TaxonRank " . " FROM sptoolcollection, sptooltaxa, sptoolhighertaxon " . " WHERE sptoolhighertaxon.FK_TaxonIdentified = sptooltaxa.ID_TaxonIdentified " . " AND sptooltaxa.FK_Collection = sptoolcollection.ID_Collection " . " AND sptoolhighertaxon.TaxonRank = 'regnum' " . " AND sptoolhighertaxon.FK_TaxonIdentified = '$ID_Taxa_Host'"); $result3h = mysqli_query($GLOBALS["___mysqli_ston"], "SELECT sptoolcollection.ID_Collection, " . " sptooltaxa.ID_TaxonIdentified, " . " sptoolhighertaxon.HigherTaxon, " . " sptoolhighertaxon.TaxonRank " . " FROM sptoolcollection, sptooltaxa, sptoolhighertaxon " . " WHERE sptoolhighertaxon.FK_TaxonIdentified = sptooltaxa.ID_TaxonIdentified " . " AND sptooltaxa.FK_Collection = sptoolcollection.ID_Collection " . " AND sptoolhighertaxon.TaxonRank = 'phylum' " . " AND sptoolhighertaxon.FK_TaxonIdentified = '$ID_Taxa_Host'"); $result3i = mysqli_query($GLOBALS["___mysqli_ston"], "SELECT sptoolcollection.ID_Collection, " . " sptooltaxa.ID_TaxonIdentified, " . " sptoolhighertaxon.HigherTaxon, " . " sptoolhighertaxon.TaxonRank " . " FROM sptoolcollection, sptooltaxa, sptoolhighertaxon " . " WHERE sptoolhighertaxon.FK_TaxonIdentified = sptooltaxa.ID_TaxonIdentified " . " AND sptooltaxa.FK_Collection = sptoolcollection.ID_Collection " . " AND sptoolhighertaxon.TaxonRank = 'classis' " . " AND sptoolhighertaxon.FK_TaxonIdentified = '$ID_Taxa_Host'"); $result3j = mysqli_query($GLOBALS["___mysqli_ston"], "SELECT sptoolcollection.ID_Collection, " . " sptooltaxa.ID_TaxonIdentified, " . " sptoolhighertaxon.HigherTaxon, " . " sptoolhighertaxon.TaxonRank " . " FROM sptoolcollection, sptooltaxa, sptoolhighertaxon " . " WHERE sptoolhighertaxon.FK_TaxonIdentified = sptooltaxa.ID_TaxonIdentified " . " AND sptooltaxa.FK_Collection = sptoolcollection.ID_Collection " . " AND sptoolhighertaxon.TaxonRank = 'ordo' " . " AND sptoolhighertaxon.FK_TaxonIdentified = '$ID_Taxa_Host'"); $result3k = mysqli_query($GLOBALS["___mysqli_ston"], "SELECT sptoolcollection.ID_Collection, " . " sptooltaxa.ID_TaxonIdentified, " . " sptoolhighertaxon.HigherTaxon, " . " sptoolhighertaxon.TaxonRank " . " FROM sptoolcollection, sptooltaxa, sptoolhighertaxon " . " WHERE sptoolhighertaxon.FK_TaxonIdentified = sptooltaxa.ID_TaxonIdentified " . " AND sptooltaxa.FK_Collection = sptoolcollection.ID_Collection " . " AND sptoolhighertaxon.TaxonRank = 'familia' " . " AND sptoolhighertaxon.FK_TaxonIdentified = '$ID_Taxa_Host'"); $result3l = mysqli_query($GLOBALS["___mysqli_ston"], "SELECT sptoolcollection.ID_Collection, " . " sptooltaxa.ID_TaxonIdentified, " . " sptoolhighertaxon.HigherTaxon, " . " sptoolhighertaxon.TaxonRank " . " FROM sptoolcollection, sptooltaxa, sptoolhighertaxon " . " WHERE sptoolhighertaxon.FK_TaxonIdentified = sptooltaxa.ID_TaxonIdentified " . " AND sptooltaxa.FK_Collection = sptoolcollection.ID_Collection " . " AND sptoolhighertaxon.TaxonRank = 'subfamilia' " . " AND sptoolhighertaxon.FK_TaxonIdentified = '$ID_Taxa_Host'"); echo ''; echo ""; echo ''; echo ''; echo ''; echo "

Host species

"; if ((isset($_SESSION['guest']) || $_SESSION['guest']) || ((isset($_SESSION['project']) || $_SESSION['project']) && $Created_Who != $log) || !$_SESSION['loggedin'] || !isset($_SESSION['loggedin'])) {} else { echo " onclick="return confirm('Are you sure you want to delete this host identification?');"> "; } echo "
Kingdom'; echo '
Phylum
Class
Order
Family
Subfamily

Genus
Specific Epithet
Subgenus
Rank"; $ViewRank = $row->Rank; echo ''; echo "Infraspecific Epithet
Author(s) in parenthesisYear in parenthesis
Author(s)Year
IdentifierIdentification Date
Kind of Identification"; $ViewKindOfIdentification = $row->KindOfIdentification; echo ''; echo "IdentificationNotes
"; echo "
Add host species onclick="document.getElementById('hiddenHost').style.display = this.checked == true ? 'block':'none';" value="Host"/>
style="display:none;" class="greenline">

Host species

Kingdom "/>
Phylum "/>
Class "/>
Order "/>
Family "/>
Subfamily "/>

Genus "/>
Specific Epithet ">
Subgenus "/>
Rank '; ?> Infraspecific Epithet">
Author(s) in parenthesis"> Year in parenthesis">
Author(s)"> Year">
Identifier"> Identification Date">
Kind of Identification '; ?> Identification Notes">
'; ?> '; } ?> '; } ?> '; } if($formSubmitUpdate and !$formSubmitTemplate) { echo ''; } ?>
Life Stage '; } ?> Life Form '; } ?>
Blocked No Unknown '; } echo ' Permission'; if($detail == "true") { echo $Permission; } else { echo 'Yes No Unknown
Not required '; } echo '
Voucher Notes '; if($formSubmitUpdate) { echo $Notes; } if($EntryCheck == "true") { echo $formNotes; } echo ''; } ?>

Dataset

Created by "; echo 'GUID'.$GUID.'
Updated by'.$Updated_Who.' ('.$Updated_When.')