<tr> <td colspan="2"> <fieldset style="padding:10px 2px 10px 2px;"> <?php if ($clValue) { echo "<legend>"; echo "Species within <b>" . $taxonManager->getClName() . "</b> "; if ($taxonManager->getParentClid()) { echo "<a href='index.php?taxon={$taxonValue}&cl=" . $taxonManager->getParentClid() . "&taxauthid=" . $taxAuthId . "' title='Go to " . $taxonManager->getParentName() . " checklist'><img style='border:0px;width:10px;' src='../images/toparent.png'/></a>"; } echo "</legend>"; } ?> <div> <?php if ($sppArr = $taxonManager->getSppArray()) { $cnt = 0; ksort($sppArr); foreach ($sppArr as $sciNameKey => $subArr) { if ($cnt % 5 == 0 && $cnt > 0) { echo "<div style='clear:both;'><hr></div>"; } echo "<div class='spptaxon'>"; echo "<div style='margin-top:10px;'>"; echo "<a href='index.php?taxon=" . $subArr["tid"] . "&taxauthid=" . $taxAuthId . ($clValue ? "&cl=" . $clValue : "") . "'>"; echo "<i>" . $sciNameKey . "</i>"; echo "</a></div>\n"; echo "<div class='sppimg' style='overflow:hidden;'>"; if (array_key_exists("url", $subArr)) { $imgUrl = $subArr["url"]; if (array_key_exists("imageDomain", $GLOBALS) && substr($imgUrl, 0, 1) == "/") {