} elseif ($menu == 'issues') { $issueArr = $procManager->getIssues(); echo '<div style="margin:10px;height:400px;">'; if ($issueArr['loc']) { $eUrl .= str_replace(array('&q_customfield1=', '&q_customfield2=', '&q_customtype1=EQUALS', '&q_customtype2=EQUALS'), '', $urlBase) . '&q_processingstatus=unprocessed&q_customfield1=locality&q_customtype1=NOTNULL&q_customfield2=stateProvince&q_customtype2=NOTNULL'; $beUrl .= str_replace(array('&q_customfield1=', '&q_customfield2=', '&q_customtype1=EQUALS', '&q_customtype2=EQUALS'), '', $urlBase) . '&q_processingstatus=unprocessed&bufieldname=processingstatus&buoldvalue=unprocessed' . '&q_customfield1=locality&q_customtype1=NOTNULL&q_customfield2=stateProvince&q_customtype2=NOTNULL'; echo '<b>Mark as unprocessed but apparently with data:</b> '; echo $issueArr['loc']; echo '<span style="margin-left:10px;"><a href="' . $eUrl . '" target="_blank" title="Edit Records"><img src="../../images/edit.png" style="width:12px;" /></a></span>'; echo '<span style="margin-left:10px;"><a href="' . $beUrl . '" target="_blank" title="Batch Edit Records"><span style="font-size:70%;">batch</span><img src="../../images/list.png" style="width:12px;" /></a></span>'; } else { echo '<div><b>No issues identified</b></div>'; } echo '</div>'; } else { $statsArr = $procManager->getProcessingStats(); ?> <div style="margin:10px;height:400px;"> <div style="margin:5px;"> <b>Total Specimens:</b> <?php echo $statsArr['total']; if ($statsArr['total']) { echo '<span style="margin-left:10px;"><a href="' . $eUrl . $urlBase . '" target="_blank" title="Edit Records"><img src="../../images/edit.png" style="width:12px;" /></a></span>'; echo '<span style="margin-left:10px;"><a href="' . $beUrl . $urlBase . '" target="_blank" title="Editor in Table View"><img src="../../images/list.png" style="width:12px;" /></a></span>'; echo '<span style="margin-left:10px;"><a href="../misc/collbackup.php?collid=' . $collid . '" target="_blank" title="Download Full Data"><img src="../../images/dl.png" style="width:13px;" /></a></span>'; } ?> </div> <div style="margin:5px;"> <b>Specimens without Images:</b>