</div> <div style="clear:both;padding:2px;"> <div style="float:left;width:130px;">Collector Number:</div> <div style="float:left;"><input name="collnum" type="text" /></div> </div> <div style="clear:both;padding:2px;"> <input name="action" type="submit" value="Search Occurrences" /> <input type="hidden" name="targetid" value="<?php echo $targetId; ?> " /> </div> </fieldset> </form> <?php $occArr = $occManager->getOccurrenceList($collId, $identifier, $collector, $collNumber); foreach ($occArr as $occId => $vArr) { ?> <div style="margin:10px;"> <?php echo "<b>OccId " . $occId . ":</b> " . $vArr["recordedby"] . " [" . ($vArr["recordnumber"] ? $vArr["recordnumber"] : $vArr["eventdate"]) . "]; " . $vArr["locality"]; ?> <div style="margin-left:10px;cursor:pointer;color:blue;" onclick="updateParentForm('<?php echo $occId; ?> ')"> Select Occurrence Record </div> </div> <hr /> <?php