示例#1
0
$displayLeftMenu = isset($checklists_indexMenu) ? $checklists_indexMenu : "true";
include $SERVER_ROOT . "/header.php";
echo "<div class='navpath'>";
echo "<a href='../index.php'>Home</a> &gt;&gt; ";
if (isset($checklists_indexCrumbs) && $checklists_indexCrumbs) {
    echo $checklists_indexCrumbs . ' &gt;&gt;';
}
echo " <b>Species Checklists</b>";
echo "</div>";
?>
	<!-- This is inner text! -->
	<div id="innertext">
		<h1>Species Checklists</h1>
        <div style='margin:20px;'>
			<?php 
$researchArr = $clManager->getChecklists();
if ($researchArr) {
    foreach ($researchArr as $pid => $projArr) {
        ?>
					<div style='margin:3px 0px 0px 15px;'>
						<h3><?php 
        echo $projArr['name'];
        ?>
 
							<a href="<?php 
        echo "clgmap.php?proj=" . $pid;
        ?>
" title='Show checklists on map'>
								<img src='../images/world.png' style='width:10px;border:0' />
							</a>
						</h3>
示例#2
0
    echo $ident_indexCrumbs;
    echo "<b>" . $LANG['IDKEYLIST'] . "</b>";
    echo "</div>";
}
?>
 
	
	<!-- This is inner text! -->
	<div id="innertext">
		<h2><?php 
echo $LANG['IDKEYS'];
?>
</h2>
	    <div style='margin:20px;'>
	        <?php 
$clList = $clManager->getChecklists();
if ($clList) {
    $projName = $clList['name'];
    $clArr = $clList['clid'];
    echo '<div style="margin:3px 0px 0px 15px;">';
    echo '<h3>' . $projName;
    echo ' <a href="../checklists/clgmap.php?proj=' . $pid . '&target=keys"><img src="../images/world.png" style="width:10px;border:0" /></a>';
    echo '</h3>';
    echo "<div><ul>";
    foreach ($clArr as $clid => $clName) {
        echo "<li><a href='key.php?cl={$clid}&proj={$pid}&taxon=All+Species'>" . $clName . "</a></li>";
    }
    echo "</ul></div>";
    echo "</div>";
}
?>