}
if ($showVouchers) {
    $clManager->setShowVouchers();
}
if ($showAlphaTaxa) {
    $clManager->setShowAlphaTaxa();
}
$clid = $clManager->getClid();
$pid = $clManager->getPid();
$isEditor = false;
if ($isAdmin || array_key_exists("ClAdmin", $userRights) && in_array($clid, $userRights["ClAdmin"])) {
    $isEditor = true;
}
$taxaArray = array();
if ($clValue || $dynClid) {
    $taxaArray = $clManager->getTaxaList($pageNumber, 0);
}
$phpWord = new \PhpOffice\PhpWord\PhpWord();
$phpWord->addParagraphStyle('defaultPara', array('align' => 'left', 'lineHeight' => 1.0, 'spaceBefore' => 0, 'spaceAfter' => 0, 'keepNext' => true));
$phpWord->addFontStyle('titleFont', array('bold' => true, 'size' => 20, 'name' => 'Arial'));
$phpWord->addFontStyle('topicFont', array('bold' => true, 'size' => 12, 'name' => 'Arial'));
$phpWord->addFontStyle('textFont', array('size' => 12, 'name' => 'Arial'));
$phpWord->addParagraphStyle('linePara', array('align' => 'left', 'lineHeight' => 1.0, 'spaceBefore' => 0, 'spaceAfter' => 0, 'keepNext' => true));
$phpWord->addParagraphStyle('familyPara', array('align' => 'left', 'lineHeight' => 1.0, 'spaceBefore' => 225, 'spaceAfter' => 75, 'keepNext' => true));
$phpWord->addFontStyle('familyFont', array('bold' => true, 'size' => 16, 'name' => 'Arial'));
$phpWord->addParagraphStyle('scinamePara', array('align' => 'left', 'lineHeight' => 1.0, 'indent' => 0.3125, 'spaceBefore' => 0, 'spaceAfter' => 45, 'keepNext' => true));
$phpWord->addFontStyle('scientificnameFont', array('bold' => true, 'italic' => true, 'size' => 12, 'name' => 'Arial'));
$phpWord->addParagraphStyle('notesvouchersPara', array('align' => 'left', 'lineHeight' => 1.0, 'indent' => 0.78125, 'spaceBefore' => 0, 'spaceAfter' => 45));
$phpWord->addParagraphStyle('imagePara', array('align' => 'center', 'lineHeight' => 1.0, 'spaceBefore' => 0, 'spaceAfter' => 0));
$tableStyle = array('width' => 100);
$colRowStyle = array('cantSplit' => true, 'exactHeight' => 3750);
if ($showAuthors) {
    $clManager->setShowAuthors();
}
if ($showCommon) {
    $clManager->setShowCommon();
}
if ($showImages) {
    $clManager->setShowImages();
}
if ($showVouchers) {
    $clManager->setShowVouchers();
}
$clArray = array();
if ($clValue || $dynClid) {
    $clArray = $clManager->getClMetaData();
    $taxaArray = $clManager->getTaxaList(0, 99999);
}
?>

<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=<?php 
echo $charset;
?>
"/>
	<title><?php 
echo $defaultTitle;
?>
 Research Checklist: <?php 
echo $clManager->getClName();
?>
示例#3
0
        }
        if ($_POST["internalnotes"]) {
            $dataArr["internalnotes"] = $_POST["internalnotes"];
        }
        $setRareSpp = false;
        if ($_POST["cltype"] == 'rarespp') {
            $setRareSpp = true;
        }
        $clAdmin = new ChecklistAdmin();
        $clAdmin->setClid($clid);
        $statusStr = $clAdmin->addNewSpecies($dataArr, $setRareSpp);
    }
}
$taxaArray = array();
if ($clValue || $dynClid) {
    $taxaArray = $clManager->getTaxaList($pageNumber, $printMode ? 0 : 500);
}
?>
<html>
<head>
	<meta charset="<?php 
echo $CHARSET;
?>
">
	<title><?php 
echo $DEFAULT_TITLE;
?>
 Research Checklist: <?php 
echo $clManager->getClName();
?>
</title>