} ?> </div> </div> <?php } elseif ($mode == 'nullcountry') { ?> <div style="margin:20px"> <div style="margin:5px"> <div style="margin-bottom:10px;font-size:120%;"> <u><b>NULL countries and non-NULL state:</b></u> <?php echo $cleanManager->getNullCountryNotStateCount(); ?> </div> <?php $badCountryArr = $cleanManager->getNullCountryNotStateArr(); $goodCountryArr = $cleanManager->getGoodCountryArr(true); foreach ($badCountryArr as $stateName => $stateCnt) { ?> <div style="margin-left:15px;"> <form name="nullcountryform" method="post" action="fieldcleaner.php" onsubmit="return verifyNullCountryForm(this)"> <b><?php echo $stateName; ?> </b> <?php echo ' <span title="Number of Specimens">(' . $stateCnt . ')</span>'; ?> <a href="../editor/occurrenceeditor.php?q_catalognumber=&occindex=0&q_customfield1=country&q_customtype1=NULL&q_customfield2=stateProvince&q_customtype2=EQUALS&q_customvalue2=<?php echo $stateName . '&collid=' . $collid; ?>