<div style="margin:20px"> <?php if ($target == 'geolocal') { if ($mode == 'badcountry') { ?> <div style="margin:20px"> <div style="margin:5px"> <div style="margin-bottom:10px;"> <b>Questionable countries:</b> <?php echo $cleanManager->getBadCountryCount(); ?> <br/> </div> <?php $badCountryArr = $cleanManager->getBadCountryArr(); $goodCountryArr = $cleanManager->getGoodCountryArr(); foreach ($badCountryArr as $countryName => $countryCnt) { ?> <div style="margin-left:15px;"> <form name="countrycleanform" method="post" action="fieldcleaner.php" onsubmit="return verifyCountryCleanForm(this)"> <b><?php echo $countryName; ?> </b> <?php echo ' <span title="Number of Specimens">(' . $countryCnt . ')</span>'; ?> <a href="../editor/occurrenceeditor.php?q_catalognumber=&occindex=0&q_customfield1=country&q_customtype1=EQUALS&q_customvalue1=<?php echo $countryName . '&collid=' . $collid; ?> " target="_blank"><img src="../../images/edit.png" style="width:13px" /></a>