<div style="margin:3px;"> <b>Species:</b> <?php echo $clManager->getSpeciesCount(); ?> (species rank) </div> <div style="margin:3px;"> <b>Total Taxa:</b> <?php echo $clManager->getTaxaCount(); ?> (including subsp. and var.) </div> <?php $taxaLimit = $showImages ? $clManager->getImageLimit() : $clManager->getTaxaLimit(); $pageCount = ceil($clManager->getTaxaCount() / $taxaLimit); $argStr = ""; if ($pageCount > 1) { if ($pageNumber + 1 > $pageCount) { $pageNumber = 0; } $argStr .= "&surveyid=" . $surveyId . ($showCommon ? "&showcommon=" . $showCommon : ""); $argStr .= ($showAuthors ? "&showauthors=" . $showAuthors : "") . ($clManager->getThesFilter() ? "&thesfilter=" . $clManager->getThesFilter() : ""); $argStr .= ($proj ? "&proj=" . $clManager->getPid() : "") . ($showImages ? "&showimages=" . $showImages : "") . ($taxonFilter ? "&taxonfilter=" . $taxonFilter : ""); $argStr .= ($searchCommon ? "&searchcommon=" . $searchCommon : "") . ($searchSynonyms ? "&searchsynonyms=" . $searchSynonyms : ""); echo "<hr /><div>Page <b>" . ($pageNumber + 1) . "</b> of <b>{$pageCount}</b>: "; for ($x = 0; $x < $pageCount; $x++) { if ($x) { echo " | "; }