示例#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;
?>