Пример #1
0
						<span title="e.g. sterile, flw, frt, flw/frt ">
							Reproductive Condition:
							<input type="text" name="reproductivecondition" tabindex="98" maxlength="255" style="width:140px;" value="" />
						</span>
						<span style="margin-left:30px;" title="e.g. planted, seeded, garden excape, etc">
							Establishment Means:
							<input type="text" name="establishmentmeans" tabindex="100" maxlength="32" style="width:140px;" value="" />
						</span>
						<span style="margin-left:15px;" title="Click if specimen was cultivated ">
							<input type="checkbox" name="cultivationstatus" tabindex="102" style="" value="" />
							Cultivated
						</span>
					</div>
				</fieldset>
				<?php 
    $clArr = $obsManager->getChecklists();
    if ($clArr) {
        ?>
					<fieldset>
						<legend><b>Link to Checklist as Voucher</b></legend>
						Species List: 
						<select name='clid'>
							<option value="0">Select Checklist</option>
							<option value="0">------------------------------</option>
							<?php 
        foreach ($clArr as $id => $clName) {
            echo '<option value="' . $id . '" ' . ($id == $clid ? 'SELECTED' : '') . '>' . $clName . '</option>';
        }
        ?>
						</select>
					</fieldset>
						<span title="e.g. sterile, flw, frt, flw/frt ">
							Reproductive Condition:
							<input type="text" name="reproductivecondition" tabindex="98" maxlength="255" style="width:140px;" value="" />
						</span>
						<span style="margin-left:30px;" title="e.g. planted, seeded, garden excape, etc">
							Establishment Means:
							<input type="text" name="establishmentmeans" tabindex="100" maxlength="32" style="width:140px;" value="" />
						</span>
						<span style="margin-left:15px;" title="Click if specimen was cultivated ">
							<input type="checkbox" name="cultivationstatus" tabindex="102" style="" value="" />
							Cultivated
						</span>
					</div>
				</fieldset>
				<?php 
    $clArr = $obsManager->getChecklists($userRights);
    if ($clArr) {
        ?>
					<fieldset>
						<legend><b>Link to Checklist as Voucher</b></legend>
						Species List: 
						<select name='clid'>
							<option value="0">Select Checklist</option>
							<option value="0">------------------------------</option>
							<?php 
        foreach ($clArr as $id => $clName) {
            echo '<option value="' . $id . '" ' . ($id == 'cl' . $clid ? 'SELECTED' : '') . '>' . $clName . '</option>';
        }
        ?>
						</select>
					</fieldset>