$recordListHtml .= '<div style="font-weight:bold;font-size:120%;">';
        $recordListHtml .= 'There were no images matching your search critera';
        $recordListHtml .= '</div>';
    }
}
if ($view == 'famlist') {
    $taxaList = $imgLibManager->getFamilyList($sqlWhere);
    $recordListHtml .= "<div style='margin-left:20px;margin-bottom:20px;font-weight:bold;'>Select a family to see genera list.</div>";
    foreach ($taxaList as $value) {
        $onChange = '"' . $value . '","genlist",starr,1';
        $famChange = '"' . $value . '"';
        $recordListHtml .= "<div style='margin-left:30px;'><a href='#' onclick='changeFamily(" . $famChange . ");changeImagePage(" . $onChange . "); return false;'>" . strtoupper($value) . "</a></div>";
    }
}
if ($view == 'genlist') {
    $taxaList = $imgLibManager->getGenusList($taxon, $sqlWhere);
    $topOnChange = '"","famlist",starr,1';
    $recordListHtml .= "<div style='margin-left:20px;margin-bottom:10px;font-weight:bold;'><a href='#' onclick='changeImagePage(" . $topOnChange . "); return false;'>Return to family list</a></div>";
    $recordListHtml .= "<div style='margin-left:20px;margin-bottom:20px;font-weight:bold;'>Select a genus to see species list.</div>";
    foreach ($taxaList as $value) {
        $onChange = '"' . $value . '","splist",starr,1';
        $recordListHtml .= "<div style='margin-left:30px;'><a href='#' onclick='changeImagePage(" . $onChange . "); return false;'>" . $value . "</a></div>";
    }
}
if ($view == 'splist') {
    $taxaList = $imgLibManager->getSpeciesList($taxon, $sqlWhere);
    $topOnChange = 'selectedFamily,"genlist",starr,1';
    $recordListHtml .= "<div style='margin-left:20px;margin-bottom:10px;font-weight:bold;'><a href='#' onclick='changeImagePage(" . $topOnChange . "); return false;'>Return to genera list</a></div>";
    $recordListHtml .= "<div style='margin-left:20px;margin-bottom:20px;font-weight:bold;'>Select a species to see images.</div>";
    foreach ($taxaList as $key => $value) {
        $onChange = '"' . $value . '","thumb",starr,1';
Exemple #2
0
					<a href="photographers.php">Contributing Photographers</a>
				</div>
				<div>
					<a href="search.php">Image Search (ver 1)</a>
				</div>
				<div>
					<a href="imgsearch.php">Image Search (ver 2)</a>
				</div>
			</div>
		</div>
		<div style='clear:both;'><hr/></div>
		<?php 
$taxaList = array();
if ($target == "genus") {
    echo "<div style='margin-left:20px;margin-top:20px;margin-bottom:20px;font-weight:bold;'>Select a Genus to see species list.</div>";
    $taxaList = $imgLibManager->getGenusList();
    foreach ($taxaList as $value) {
        echo "<div style='margin-left:30px;'><a href='index.php?taxon=" . $value . "'>" . $value . "</a></div>";
    }
} elseif ($target == "species") {
    echo "<div style='margin-left:20px;margin-top:20px;margin-bottom:20px;font-weight:bold;'>Select a species to access available images.</div>";
    $taxaList = $imgLibManager->getSpeciesList("");
    foreach ($taxaList as $key => $value) {
        echo "<div style='margin-left:30px;font-style:italic;'>";
        echo "<a href='../taxa/index.php?taxon=" . $key . "' target='_blank'>" . $value . "</a>";
        echo "</div>";
    }
} elseif ($taxon) {
    echo "<div style='margin-left:20px;margin-top:20px;margin-bottom:20px;font-weight:bold;'>Select a species to access available images.</div>";
    $taxaList = $imgLibManager->getSpeciesList($taxon);
    foreach ($taxaList as $key => $value) {