<?php include_once '../config/symbini.php'; include_once $serverRoot . '/classes/TaxonProfileManager.php'; Header("Content-Type: text/html; charset=" . $charset); $descrDisplayLevel; $taxonValue = array_key_exists("taxon", $_REQUEST) ? $_REQUEST["taxon"] : ""; $taxAuthId = array_key_exists("taxauthid", $_REQUEST) ? $_REQUEST["taxauthid"] : 1; $clValue = array_key_exists("cl", $_REQUEST) ? $_REQUEST["cl"] : 0; $projValue = array_key_exists("proj", $_REQUEST) ? $_REQUEST["proj"] : 0; $lang = array_key_exists("lang", $_REQUEST) ? $_REQUEST["lang"] : $defaultLang; $descrDisplayLevel = array_key_exists("displaylevel", $_REQUEST) ? $_REQUEST["displaylevel"] : ""; //if(!$projValue && !$clValue) $projValue = $defaultProjId; $taxonManager = new TaxonProfileManager(); if ($taxAuthId || $taxAuthId === "0") { $taxonManager->setTaxAuthId($taxAuthId); } if ($clValue) { $taxonManager->setClName($clValue); } if ($projValue) { $taxonManager->setProj($projValue); } if ($lang) { $taxonManager->setLanguage($lang); } if ($taxonValue) { $taxonManager->setTaxon($taxonValue); $taxonManager->setAttributes(); } $spDisplay = $taxonManager->getDisplayName();