Ejemplo n.º 1
0
    echo "</td></tr>\n";
} elseif ($taxonValue) {
    ?>
	<tr><td>
		<div style="margin-top:45px;margin-left:20px">
			<?php 
    if (is_numeric($taxonValue)) {
        echo '<h1>Illegal identifier submitted: ' . $taxonValue . '</h1>';
    } else {
        ?>
				<h1>Sorry, we do not have <i><?php 
        echo $taxonValue;
        ?>
</i> in our system.</h1>
				<?php 
        if ($matchArr = $taxonManager->getCloseTaxaMatches($taxonValue)) {
            ?>
					<div style="margin-left: 15px;font-weight:bold;font-size:120%;">
						Did you mean?
						<div style=margin-left:25px;>
							<?php 
            foreach ($matchArr as $t => $n) {
                echo '<a href="index.php?taxon=' . $t . '">' . $n . '</a><br/>';
            }
            ?>
						</div>
					</div>
					<?php 
        }
        ?>
				<h3>Links below may provide some useful information:</h3>