$action = array_key_exists("submitaction", $_REQUEST) ? $_REQUEST["submitaction"] : ""; $tabIndex = array_key_exists("tabindex", $_REQUEST) ? $_REQUEST["tabindex"] : 0; $clValue = array_key_exists("cl", $_REQUEST) ? $_REQUEST["cl"] : 0; $dynClid = array_key_exists("dynclid", $_REQUEST) ? $_REQUEST["dynclid"] : 0; $proj = array_key_exists("proj", $_REQUEST) ? $_REQUEST["proj"] : ""; $thesFilter = array_key_exists("thesfilter", $_REQUEST) ? $_REQUEST["thesfilter"] : 0; $taxonFilter = array_key_exists("taxonfilter", $_REQUEST) ? $_REQUEST["taxonfilter"] : ""; $showAuthors = array_key_exists("showauthors", $_REQUEST) ? $_REQUEST["showauthors"] : 0; $showCommon = array_key_exists("showcommon", $_REQUEST) ? $_REQUEST["showcommon"] : 0; $showImages = array_key_exists("showimages", $_REQUEST) ? $_REQUEST["showimages"] : 0; $showVouchers = array_key_exists("showvouchers", $_REQUEST) ? $_REQUEST["showvouchers"] : 0; $searchCommon = array_key_exists("searchcommon", $_REQUEST) ? $_REQUEST["searchcommon"] : 0; $searchSynonyms = array_key_exists("searchsynonyms", $_REQUEST) ? $_REQUEST["searchsynonyms"] : 0; $clManager = new ChecklistManager(); if ($clValue) { $clManager->setClValue($clValue); } elseif ($dynClid) { $clManager->setDynClid($dynClid); } if ($proj) { $clManager->setProj($proj); } if ($thesFilter) { $clManager->setThesFilter($thesFilter); } if ($taxonFilter) { $clManager->setTaxonFilter($taxonFilter); } if ($searchCommon) { $showCommon = 1; $clManager->setSearchCommon();
<?php include_once '../config/symbini.php'; include_once $serverRoot . '/classes/ChecklistManager.php'; header("Content-Type: text/html; charset=" . $charset); $clid = $_REQUEST['clid']; $thesFilter = array_key_exists("thesfilter", $_REQUEST) ? $_REQUEST["thesfilter"] : 0; $taxonFilter = array_key_exists("taxonfilter", $_REQUEST) ? $_REQUEST["taxonfilter"] : ""; $clManager = new ChecklistManager(); $clManager->setClValue($clid); if ($thesFilter) { $clManager->setThesFilter($thesFilter); } if ($taxonFilter) { $clManager->setTaxonFilter($taxonFilter); } $coordArr = $clManager->getCoordinates(0); $swBound; $neBound; if ($coordArr) { $swBound = $coordArr['sw']; $neBound = $coordArr['ne']; unset($coordArr['sw']); unset($coordArr['ne']); } ?> <html> <head> <title><?php echo $defaultTitle; ?>
$pid = array_key_exists("pid", $_REQUEST) ? $_REQUEST["pid"] : ""; $thesFilter = array_key_exists("thesfilter", $_REQUEST) ? $_REQUEST["thesfilter"] : 0; $taxonFilter = array_key_exists("taxonfilter", $_REQUEST) ? $_REQUEST["taxonfilter"] : ""; $showAuthors = array_key_exists("showauthors", $_REQUEST) ? $_REQUEST["showauthors"] : 0; $showCommon = array_key_exists("showcommon", $_REQUEST) ? $_REQUEST["showcommon"] : 0; $showImages = array_key_exists("showimages", $_REQUEST) ? $_REQUEST["showimages"] : 0; $showVouchers = array_key_exists("showvouchers", $_REQUEST) ? $_REQUEST["showvouchers"] : 0; $showAlphaTaxa = array_key_exists("showalphataxa", $_REQUEST) ? $_REQUEST["showalphataxa"] : 0; $searchCommon = array_key_exists("searchcommon", $_REQUEST) ? $_REQUEST["searchcommon"] : 0; $searchSynonyms = array_key_exists("searchsynonyms", $_REQUEST) ? $_REQUEST["searchsynonyms"] : 0; $exportEngine = ''; $exportExtension = ''; $exportEngine = 'Word2007'; $exportExtension = 'docx'; if ($clValue) { $statusStr = $clManager->setClValue($clValue); } elseif ($dynClid) { $clManager->setDynClid($dynClid); } $clArray = array(); if ($clValue || $dynClid) { $clArray = $clManager->getClMetaData(); } $showDetails = 0; /*if($clValue && $clArray["defaultSettings"]){ $defaultArr = json_decode($clArray["defaultSettings"], true); $showDetails = $defaultArr["ddetails"]; if($action != "Rebuild List"){ $showCommon = $defaultArr["dcommon"]; $showImages = $defaultArr["dimages"]; $showVouchers = $defaultArr["dvouchers"];