} ?> </div> </div> <?php } elseif ($mode == 'nullstate') { ?> <div style="margin:20px"> <div style="margin:5px"> <div style="margin-bottom:10px;font-size:120%;"> <u><b>NULL state/province and non-NULL county:</b></u> <?php echo $cleanManager->getNullStateNotCountyCount(); ?> </div> <?php $badStateArr = $cleanManager->getNullStateNotCountyArr(); $goodStateArr = $cleanManager->getGoodStateArr(true); foreach ($badStateArr as $countryName => $countyArr) { echo '<div style="margin-left:0px;"><b><u>' . $countryName . '</u></b></div>'; foreach ($countyArr as $countyName => $countyCnt) { ?> <div style="margin-left:15px;"> <form name="nullstateform" method="post" action="fieldcleaner.php" onsubmit="return verifyNullStateForm(this)"> <b><?php echo $countyName; ?> </b> <?php echo ' <span title="Number of Specimens">(' . $countyCnt . ')</span>'; ?> <a href="../editor/occurrenceeditor.php?q_catalognumber=&occindex=0&q_customfield1=stateProvince&q_customtype1=NULL&q_customfield2=county&q_customtype2=EQUALS&q_customvalue2=<?php