示例#1
0
<?php

include_once '../config/symbini.php';
include_once $serverRoot . '/classes/ChecklistManager.php';
header("Content-Type: text/html; charset=" . $charset);
$clid = $_REQUEST['clid'];
$thesFilter = array_key_exists("thesfilter", $_REQUEST) ? $_REQUEST["thesfilter"] : 0;
$taxonFilter = array_key_exists("taxonfilter", $_REQUEST) ? $_REQUEST["taxonfilter"] : "";
$clManager = new ChecklistManager();
$clManager->setClValue($clid);
if ($thesFilter) {
    $clManager->setThesFilter($thesFilter);
}
if ($taxonFilter) {
    $clManager->setTaxonFilter($taxonFilter);
}
$coordArr = $clManager->getCoordinates(0);
$swBound;
$neBound;
if ($coordArr) {
    $swBound = $coordArr['sw'];
    $neBound = $coordArr['ne'];
    unset($coordArr['sw']);
    unset($coordArr['ne']);
}
?>
<html>
<head>
	<title><?php 
echo $defaultTitle;
?>
示例#2
0
<?php

include_once '../config/symbini.php';
include_once $SERVER_ROOT . '/classes/ChecklistManager.php';
header("Content-Type: text/html; charset=" . $CHARSET);
$pid = array_key_exists("pid", $_REQUEST) ? $_REQUEST["pid"] : 0;
$clManager = new ChecklistManager();
$clManager->setProj($pid);
?>
<html>
<head>
	<title><?php 
echo $DEFAULT_TITLE;
?>
 Species Lists</title>
	<link href="../css/base.css?<?php 
echo $CSS_VERSION;
?>
" type="text/css" rel="stylesheet" />
	<link href="../css/main.css?<?php 
echo $CSS_VERSION;
?>
" type="text/css" rel="stylesheet" />
	<script type="text/javascript">
		<?php 
include_once $SERVER_ROOT . '/config/googleanalytics.php';
?>
	</script>
</head>

<body>
示例#3
0
<?php

include_once '../config/symbini.php';
include_once $SERVER_ROOT . '/classes/ChecklistManager.php';
header("Content-Type: text/html; charset=" . $CHARSET);
$projValue = $_REQUEST['proj'];
$target = array_key_exists('target', $_REQUEST) ? $_REQUEST['target'] : 'checklists';
$clManager = new ChecklistManager();
if (!$projValue && isset($DEFAULT_PROJ_ID)) {
    $projValue = $DEFAULT_PROJ_ID;
}
$clManager->setProj($projValue);
?>
<html>
	<head>
		<title><?php 
echo $DEFAULT_TITLE;
?>
 - Species Checklists</title>
		<meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
		<script type="text/javascript" src="//maps.googleapis.com/maps/api/js?sensor=false">
		</script>
		<script type="text/javascript">
		    var map;
		    var points = new Array();
		    var infoWins = new Array();
		  	
		    function initialize(){
		    	var dmLatLng = new google.maps.LatLng(41.0, -95.0);
		    	var dmOptions = {
					zoom: 3,
include_once $serverRoot . '/classes/ChecklistManager.php';
header("Content-Type: text/html; charset=" . $charset);
$action = array_key_exists("submitaction", $_REQUEST) ? $_REQUEST["submitaction"] : "";
$tabIndex = array_key_exists("tabindex", $_REQUEST) ? $_REQUEST["tabindex"] : 0;
$clValue = array_key_exists("cl", $_REQUEST) ? $_REQUEST["cl"] : 0;
$dynClid = array_key_exists("dynclid", $_REQUEST) ? $_REQUEST["dynclid"] : 0;
$proj = array_key_exists("proj", $_REQUEST) ? $_REQUEST["proj"] : "";
$thesFilter = array_key_exists("thesfilter", $_REQUEST) ? $_REQUEST["thesfilter"] : 0;
$taxonFilter = array_key_exists("taxonfilter", $_REQUEST) ? $_REQUEST["taxonfilter"] : "";
$showAuthors = array_key_exists("showauthors", $_REQUEST) ? $_REQUEST["showauthors"] : 0;
$showCommon = array_key_exists("showcommon", $_REQUEST) ? $_REQUEST["showcommon"] : 0;
$showImages = array_key_exists("showimages", $_REQUEST) ? $_REQUEST["showimages"] : 0;
$showVouchers = array_key_exists("showvouchers", $_REQUEST) ? $_REQUEST["showvouchers"] : 0;
$searchCommon = array_key_exists("searchcommon", $_REQUEST) ? $_REQUEST["searchcommon"] : 0;
$searchSynonyms = array_key_exists("searchsynonyms", $_REQUEST) ? $_REQUEST["searchsynonyms"] : 0;
$clManager = new ChecklistManager();
if ($clValue) {
    $clManager->setClValue($clValue);
} elseif ($dynClid) {
    $clManager->setDynClid($dynClid);
}
if ($proj) {
    $clManager->setProj($proj);
}
if ($thesFilter) {
    $clManager->setThesFilter($thesFilter);
}
if ($taxonFilter) {
    $clManager->setTaxonFilter($taxonFilter);
}
if ($searchCommon) {
<?php

include_once '../config/symbini.php';
include_once $serverRoot . '/classes/ChecklistManager.php';
require_once $serverRoot . '/classes/PhpWord/Autoloader.php';
header("Content-Type: text/html; charset=" . $charset);
ini_set('max_execution_time', 240);
//240 seconds = 4 minutes
$ses_id = session_id();
$clManager = new ChecklistManager();
use PhpOffice\PhpWord\Autoloader;
use PhpOffice\PhpWord\Settings;
Autoloader::register();
Settings::loadConfig();
$clValue = array_key_exists("cl", $_REQUEST) ? $_REQUEST["cl"] : 0;
$dynClid = array_key_exists("dynclid", $_REQUEST) ? $_REQUEST["dynclid"] : 0;
$pageNumber = array_key_exists("pagenumber", $_REQUEST) ? $_REQUEST["pagenumber"] : 1;
$pid = array_key_exists("pid", $_REQUEST) ? $_REQUEST["pid"] : "";
$thesFilter = array_key_exists("thesfilter", $_REQUEST) ? $_REQUEST["thesfilter"] : 0;
$taxonFilter = array_key_exists("taxonfilter", $_REQUEST) ? $_REQUEST["taxonfilter"] : "";
$showAuthors = array_key_exists("showauthors", $_REQUEST) ? $_REQUEST["showauthors"] : 0;
$showCommon = array_key_exists("showcommon", $_REQUEST) ? $_REQUEST["showcommon"] : 0;
$showImages = array_key_exists("showimages", $_REQUEST) ? $_REQUEST["showimages"] : 0;
$showVouchers = array_key_exists("showvouchers", $_REQUEST) ? $_REQUEST["showvouchers"] : 0;
$showAlphaTaxa = array_key_exists("showalphataxa", $_REQUEST) ? $_REQUEST["showalphataxa"] : 0;
$searchCommon = array_key_exists("searchcommon", $_REQUEST) ? $_REQUEST["searchcommon"] : 0;
$searchSynonyms = array_key_exists("searchsynonyms", $_REQUEST) ? $_REQUEST["searchsynonyms"] : 0;
$exportEngine = '';
$exportExtension = '';
$exportEngine = 'Word2007';
$exportExtension = 'docx';
示例#6
0
$showAlphaTaxa = array_key_exists("showalphataxa", $_REQUEST) ? $_REQUEST["showalphataxa"] : 0;
$searchCommon = array_key_exists("searchcommon", $_REQUEST) ? $_REQUEST["searchcommon"] : 0;
$searchSynonyms = array_key_exists("searchsynonyms", $_REQUEST) ? $_REQUEST["searchsynonyms"] : 0;
$defaultOverride = array_key_exists("defaultoverride", $_REQUEST) ? $_REQUEST["defaultoverride"] : 0;
$editMode = array_key_exists("emode", $_REQUEST) ? $_REQUEST["emode"] : 0;
$printMode = array_key_exists("printmode", $_REQUEST) ? $_REQUEST["printmode"] : 0;
$exportDoc = array_key_exists("exportdoc", $_REQUEST) ? $_REQUEST["exportdoc"] : 0;
$statusStr = '';
//Search Synonyms is default
if ($action != "Rebuild List" && !array_key_exists('dllist_x', $_POST)) {
    $searchSynonyms = 1;
}
if ($action == "Rebuild List") {
    $defaultOverride = 1;
}
$clManager = new ChecklistManager();
if ($clValue) {
    $statusStr = $clManager->setClValue($clValue);
} elseif ($dynClid) {
    $clManager->setDynClid($dynClid);
}
$clArray = array();
if ($clValue || $dynClid) {
    $clArray = $clManager->getClMetaData();
}
$showDetails = 0;
if ($clValue && $clArray["defaultSettings"]) {
    $defaultArr = json_decode($clArray["defaultSettings"], true);
    $showDetails = $defaultArr["ddetails"];
    if (!$defaultOverride) {
        if (array_key_exists('dcommon', $defaultArr)) {
示例#7
0
<?php

include_once '../config/symbini.php';
include_once $SERVER_ROOT . '/classes/ChecklistManager.php';
include_once $SERVER_ROOT . '/content/lang/ident/index.' . $LANG_TAG . '.php';
header("Content-Type: text/html; charset=" . $CHARSET);
$proj = array_key_exists("proj", $_REQUEST) ? $_REQUEST["proj"] : "";
if (!$proj && isset($DEFAULT_PROJ_ID)) {
    $proj = $DEFAULT_PROJ_ID;
}
$clManager = new ChecklistManager();
$clManager->setProj($proj);
$pid = $clManager->getPid();
?>
<html>
<head>
	<title><?php 
echo $DEFAULT_TITLE;
echo $LANG['IDKEY'];
?>
</title>
	<link href="../css/base.css?<?php 
echo $CSS_VERSION;
?>
" type="text/css" rel="stylesheet" />
	<link href="../css/main.css?<?php 
echo $CSS_VERSION;
?>
" type="text/css" rel="stylesheet" />
</head>