Пример #1
0
                        echo '<span style="margin-left:10px;"><a href="' . $eUrlInner3 . '" target="_blank" title="Edit Records"><img src="../../images/edit.png" style="width:12px;" /></a></span>';
                        echo '<span style="margin-left:10px;"><a href="' . $beUrlInner3 . '" target="_blank" title="Batch Edit Records"><span style="font-size:70%;">batch</span><img src="../../images/list.png" style="width:12px;" /></a></span>';
                    }
                    echo '</td>';
                    echo '</tr>';
                }
            }
        } else {
            echo '<tr><td colspan="5">No records processed</td></tr>';
        }
        ?>
				</table>
			</div>
			<?php 
    } 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();
        ?>