示例#1
0
$statusStr = '';
$isEditor = 0;
if ($isAdmin || array_key_exists("CollAdmin", $userRights) && in_array($collId, $userRights["CollAdmin"]) || $collMap['colltype'] == 'General Observations') {
    $isEditor = 1;
}
//If collection is a general observation project, limit to User
if ($collMap['colltype'] == 'General Observations' && $obsUid !== 0) {
    $obsUid = $symbUid;
    $cleanManager->setObsUid($obsUid);
}
if ($action == 'listdupscatalog') {
    $limit = 500;
}
$dupArr = array();
if ($action == 'listdupscatalog') {
    $dupArr = $cleanManager->getDuplicateCatalogNumber($start, $limit);
    $function = $action;
} elseif ($action == 'listdupsrecordedby') {
    $dupArr = $cleanManager->getDuplicateCollectorNumber($start);
    $function = $action;
}
?>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=<?php 
echo $charset;
?>
">
	<title><?php 
echo $defaultTitle;
?>
示例#2
0
$statusStr = '';
$isEditor = 0;
if ($isAdmin || array_key_exists("CollAdmin", $userRights) && in_array($collId, $userRights["CollAdmin"]) || $collMap['colltype'] == 'General Observations') {
    $isEditor = 1;
}
//If collection is a general observation project, limit to User
if ($collMap['colltype'] == 'General Observations' && $obsUid !== 0) {
    $obsUid = $symbUid;
    $cleanManager->setObsUid($obsUid);
}
if ($action == 'listdupscatalog') {
    $limit = 500;
}
$dupArr = array();
if ($action == 'listdupscatalog') {
    $dupArr = $cleanManager->getDuplicateCatalogNumber('cat', $start, $limit);
    $function = $action;
}
if ($action == 'listdupsothercatalog') {
    $dupArr = $cleanManager->getDuplicateCatalogNumber('other', $start, $limit);
    $function = $action;
} elseif ($action == 'listdupsrecordedby') {
    $dupArr = $cleanManager->getDuplicateCollectorNumber($start);
    $function = $action;
}
?>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=<?php 
echo $charset;
?>