示例#1
0
					<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 && !$printMode) {
        if ($pageNumber > $pageCount) {
            $pageNumber = 1;
        }
        $argStr .= "&cl=" . $clValue . "&dynclid=" . $dynClid . ($showCommon ? "&showcommon=" . $showCommon : "") . ($showVouchers ? "&showvouchers=" . $showVouchers : "");
        $argStr .= ($showAuthors ? "&showauthors=" . $showAuthors : "") . ($clManager->getThesFilter() ? "&thesfilter=" . $clManager->getThesFilter() : "");
        $argStr .= ($pid ? "&pid=" . $pid : "") . ($showImages ? "&showimages=" . $showImages : "") . ($taxonFilter ? "&taxonfilter=" . $taxonFilter : "");
        $argStr .= ($searchCommon ? "&searchcommon=" . $searchCommon : "") . ($searchSynonyms ? "&searchsynonyms=" . $searchSynonyms : "");
        $argStr .= $defaultOverride ? "&defaultoverride=" . $defaultOverride : "";
        echo "<hr /><div>Page <b>" . $pageNumber . "</b> of <b>{$pageCount}</b>: ";
        for ($x = 1; $x <= $pageCount; $x++) {
            if ($x > 1) {
                echo " | ";