}
}
$textrun = $section->addTextRun('linePara');
$textrun->addLine(array('weight' => 1, 'width' => 670, 'height' => 0));
$textrun = $section->addTextRun('defaultPara');
$textrun->addText(htmlspecialchars('Families: '), 'topicFont');
$textrun->addText(htmlspecialchars($clManager->getFamilyCount()), 'textFont');
$textrun->addTextBreak(1);
$textrun->addText(htmlspecialchars('Genera: '), 'topicFont');
$textrun->addText(htmlspecialchars($clManager->getGenusCount()), 'textFont');
$textrun->addTextBreak(1);
$textrun->addText(htmlspecialchars('Species: '), 'topicFont');
$textrun->addText(htmlspecialchars($clManager->getSpeciesCount() . ' (species rank)'), 'textFont');
$textrun->addTextBreak(1);
$textrun->addText(htmlspecialchars('Total Taxa: '), 'topicFont');
$textrun->addText(htmlspecialchars($clManager->getTaxaCount() . ' (including subsp. and var.)'), 'textFont');
$textrun->addTextBreak(1);
$prevfam = '';
if ($showImages) {
    $imageCnt = 0;
    $table = $section->addTable('imageTable');
    foreach ($taxaArray as $tid => $sppArr) {
        $imageCnt++;
        $family = $sppArr['family'];
        $tu = array_key_exists('tnurl', $sppArr) ? $sppArr['tnurl'] : '';
        $u = array_key_exists('url', $sppArr) ? $sppArr['url'] : '';
        $imgSrc = $tu ? $tu : $u;
        if ($imageCnt % 4 == 1) {
            $table->addRow();
        }
        if ($imgSrc) {
						<b>Genera:</b>
						<?php 
    echo $clManager->getGenusCount();
    ?>
					</div>
					<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 
    $prevfam = '';
    if ($showImages) {
        foreach ($taxaArray as $tid => $sppArr) {
            $family = $sppArr['family'];
            if ($family != $prevfam) {
                ?>
								<div class="familydiv" id="<?php 
                echo $family;
                ?>
" style="clear:both;margin-top:10px;">
									<h3><?php 
示例#3
0
						<b>Genera:</b>
						<?php 
    echo $clManager->getGenusCount();
    ?>
					</div>
					<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 : "");