Beispiel #1
0
    echo $specimenOnly ? "CHECKED" : "";
    ?>
 onchange="specimenOnlyChanged(this)" /> 
							Display only those w/ specimens
						</div>
						<div id="qryextradiv" style="margin-left:15px;display:<?php 
    echo $specimenOnly ? 'block' : 'none';
    ?>
;" title="including without linked specimen records">
							<div>
								Limit to: 
								<select name="collid" style="width:230px;">
									<option value="">All Collections</option>
									<option value="">-----------------------</option>
									<?php 
    $acroArr = $exsManager->getCollArr('all');
    foreach ($acroArr as $id => $collTitle) {
        echo '<option value="' . $id . '" ' . ($id == $collId ? 'SELECTED' : '') . '>' . $collTitle . '</option>';
    }
    ?>
								</select>
							</div>
							<div>
							    <input name='imagesonly' type='checkbox' value='1' <?php 
    echo $imagesOnly ? "CHECKED" : "";
    ?>
 /> 
							    Display only those w/ images
							</div>
						</div>
						<div style="margin:5px 0px 0px 5px;">
						<input name="formsubmit" type="submit" value="Export Selected Records" />
					</div>
				</form>
				<?php 
    } else {
        echo '<div style="font-weight:bold;">There are no specimen records linked to this exsiccati title</div>';
    }
} else {
    ?>
			<form name="queryform" action="batchimport.php" method="post" onsubmit="return verifyQueryForm(this)">
				<fieldset>
					<legend><b>Batch Import Module</b></legend>
					<?php 
    $exsTitleArr = $exsManager->getTitleArr();
    echo '<h2>' . $exsTitleArr[$ometid] . '</h2>';
    if ($sourceCollArr = $exsManager->getCollArr($ometid)) {
        ?>
						<div style="margin:10px">
							<div>
								<b>Select up to two collections that are the preferred sources for occurrence records</b>
							</div>
							<div style="margin:5px 0px">
								<select name="source1">
									<option value="">Source Collection 1</option>
									<option value="">------------------------------------</option>
									<?php 
        foreach ($sourceCollArr as $id => $cTitle) {
            echo '<option value="' . $id . '" ' . ($source1 == $id ? 'SELECTED' : '') . '>' . $cTitle . '</option>';
        }
        ?>
								</select>